Changes between Initial Version and Version 1 of Ticket #1066


Ignore:
Timestamp:
Jan 25, 2006, 3:42:36 PM (15 years ago)
Author:
danielk
Comment:

It looks like this transition problem was fixed by [8703].

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1066

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #1066 – Description

    initial v1  
    11While watching LiveTV at the point when the Ringbuffer changes files between programs many times mythbackend fails to transition in a smooth way. I get the following:
    22
    3 ----------------- Cut --------------------
    4 2006-01-18 15:26:33.657 DVBRec(1): PID 0x34 discontinuity detected
    5 2006-01-18 15:30:00.476 TVRec(4): SwitchLiveTVRingBuffer(discont 0, set_rec 1)
    6 2006-01-18 15:30:00.477 TVRec(4): GetProgramRingBufferForLiveTV()
    7 2006-01-18 15:30:00.749 TVRec(4): StartedRecording(0x84f2760) fn(/shares/recordings/corbin2/9013_20060118153000.mpg)
    8 2006-01-18 15:30:00.889 Chain: Updated endtime for '9013_20060118151151' to 20060118153000
    9 2006-01-18 15:30:00.921 Finished recording Unknown: channel 9013
    10 2006-01-18 15:30:00.999 scheduler: Finished recording
    11 2006-01-18 15:30:01.000 Preview: 'myth://192.168.1.121:6543/9013_20060118151151.mpg' is not local,
    12                         replacing with '/shares/recordings/corbin2/9013_20060118151151.mpg', which is local.
    13 2006-01-18 15:30:01.024 Chain: Appended@10 '9013_20060118153000'
    14 2006-01-18 15:30:01.025 DTVRec(4): SetNextRecord(0x84f2760, 0xad170da0)
    15 2006-01-18 15:30:01.260 TVRec(4): SetFlags(RingBufferReset,) -> FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,SIParserRunning,RecorderRunning,RingBufferReset,
    16 2006-01-18 15:30:01.260 TVRec(4): Enabling Full LiveTV UI.
    17 0: start_time: 4626.257 duration: 98.051
    18 1: start_time: 4626.243 duration: 98.041
    19 2: start_time: 4626.243 duration: 98.041
    20 stream: start_time: 51402.706 duration: 1089.600 bitrate=18257 kb/s
    21 2006-01-18 15:30:01.580 AFD: Opened codec 0xad45b630, id(MPEG2VIDEO) type(Video)
    22 2006-01-18 15:30:01.583 AFD: Opened codec 0x8264c70, id(AC3) type(Audio)
    23 2006-01-18 15:30:01.583 AFD: Audio Track #1 is A/V stream #1 and has 2 channels in the English language(6647399).
    24 2006-01-18 15:30:01.585 AFD: Opened codec 0x8350020, id(AC3) type(Audio)
    25 2006-01-18 15:30:01.586 AFD: Audio Track #2 is A/V stream #2 and has 2 channels in the English language(6647399).
    26 2006-01-18 15:30:01.586 AFD: Trying to select audio track (w/lang)
    27 2006-01-18 15:30:01.587 AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
    28 2006-01-18 15:30:01.587 AFD: Initializing audio parms from audio track #1
    29 2006-01-18 15:30:01.587 AFD: Audio format changed
    30                         from id(NONE)    -1Hz -1ch   0bps    ; id(NONE)    -1Hz -1ch   0bps   
    31                         to   id( AC3) 48000Hz  2ch  16bps    ; id( AC3) 48000Hz  2ch  16bps   
    32 2006-01-18 15:30:02.056 DTVRec(4): ResetForNewFile(void)
    33 2006-01-18 15:30:02.269 TVRec(4): SwitchLiveTVRingBuffer(discont 0, set_rec 1)
    34 2006-01-18 15:30:02.270 TVRec(4): GetProgramRingBufferForLiveTV()
    35 2006-01-18 15:30:02.302 RecBase(1): SetRingBuffer(0xad170da0) '/shares/recordings/corbin2/9013_20060118153000.mpg'
    36 2006-01-18 15:30:02.302 TVRec(4): RingBufferChanged()
    37 2006-01-18 15:30:02.336 TVRec(4): StartedRecording(0xad3a15a8) fn(/shares/recordings/corbin2/9013_20060118153002.mpg)
    38 2006-01-18 15:30:02.374 Chain: Updated endtime for '9013_20060118153000' to 20060118153002
    39 2006-01-18 15:30:02.403 Finished recording Unknown: channel 9013
    40 2006-01-18 15:30:02.404 Preview: 'myth://192.168.1.121:6543/9013_20060118153000.mpg' is not local,
    41                         replacing with '/shares/recordings/corbin2/9013_20060118153000.mpg', which is local.
    42 2006-01-18 15:30:02.417 Preview Error: Previewer file '/shares/recordings/corbin2/9013_20060118153000.mpg' is not valid.
    43 2006-01-18 15:30:02.444 Chain: Appended@11 '9013_20060118153002'
    44 2006-01-18 15:30:02.445 DTVRec(4): SetNextRecord(0xad3a15a8, 0xa239bdf0)
    45 2006-01-18 15:30:02.453 TVRec(4): SetFlags(RingBufferReset,) -> FrontendReady,RunMainLoop,CancelNextRecording,AskAllowRecording,SIParserRunning,RecorderRunning,RingBufferReset,
    46 2006-01-18 15:30:02.454 TVRec(4): Enabling Full LiveTV UI.
    47 2006-01-18 15:30:02.459 Chain: Updated endtime for '9013_20060118151151' to 20060118153002
    48 2006-01-18 15:30:02.465 Finished recording Unknown: channel 9013
    49 2006-01-18 15:30:02.501 DTVRec(4): ResetForNewFile(void)
    50 2006-01-18 15:30:02.504 RecBase(1): SetRingBuffer(0xa239bdf0) '/shares/recordings/corbin2/9013_20060118153002.mpg'
    51 2006-01-18 15:30:02.505 TVRec(4): RingBufferChanged()
    52 2006-01-18 15:30:02.509 Chain: Updated endtime for '9013_20060118153000' to 20060118153002
    53 2006-01-18 15:30:02.538 Finished recording Unknown: channel 9013
    54 2006-01-18 15:30:11.498 Running HouseKeeping
    55 2006-01-18 15:30:19.604 MainServer::HandleAnnounce Playback
    56 2006-01-18 15:30:19.604 adding: pc4 as a client (events: 0)
    57 2006-01-18 15:30:19.611 MainServer::HandleAnnounce FileTransfer
    58 2006-01-18 15:30:19.611 adding: pc4 as a remote file transfer
    59 2006-01-18 15:30:19.619 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  6 retries remaining.
    60 2006-01-18 15:30:20.121 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  5 retries remaining.
    61 2006-01-18 15:30:20.624 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  4 retries remaining.
    62 2006-01-18 15:30:21.127 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  3 retries remaining.
    63 2006-01-18 15:30:21.630 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  2 retries remaining.
    64 2006-01-18 15:30:22.133 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  1 retries remaining.
    65 2006-01-18 15:30:22.636 Invalid file handle when opening /shares/recordings/corbin2/9013_20060118153000.mpg.  0 retries remaining.
    66 2006-01-18 15:30:23.148 RingBuf(/shares/recordings/corbin2/9013_20060118153000.mpg) Error: Invalid file descriptor in 'safe_read()'
    67 2006-01-18 15:30:23.416 MainServer::HandleAnnounce Playback
    68 2006-01-18 15:30:23.416 adding: pc4 as a client (events: 0)
    69 2006-01-18 15:30:23.423 MainServer::HandleAnnounce FileTransfer
    70 2006-01-18 15:30:23.423 adding: pc4 as a remote file transfer
    71 
    72 -------------------- Cut -----------------------
     3(see log)
    734
    745after which LiveTV is fine despite the message "Error: Invalid file descriptor in 'safe_read()'" In this case mythbackend starts successfully writing to 9013_20060118153002.mpg.