[mythtv-users] Watching in progress recording, playback exits if less than 30 seconds behind

Jean-Yves Avenard jyavenard at gmail.com
Tue Mar 18 09:05:19 UTC 2014


On 17 March 2014 07:19, Tom Lichti <tom at redpepperracing.com> wrote:
> I am running trunk as of a few days ago, and after all of the work that JYA
> did on the ringbuffer, I have found that if I am watching an in progress
> recording, if I am less than about 30 seconds from 'real time', it will
> always exit playback, as if it thinks it has reached the end of the file. I
> believe this is the pertinent line in the frontend log:
>
> 2014-03-16 15:55:34.809277 I  HasReachedEof() at framesPlayed=109732
> totalFrames=111011
> 2014-03-16 15:55:34.809299 I  AOBase: Pause 1
> 2014-03-16 15:55:34.809819 I
> RingBuf(myth://x.x.x.x:6543/3022_20140316192500.mpg): Pause()
> 2014-03-16 15:55:34.809829 I
> RingBuf(myth://x.x.x.x:6543/3022_20140316192500.mpg): StopReads()
> 2014-03-16 15:55:34.810848 I  AOBase: OutputAudioLoop: audio paused
> 2014-03-16 15:55:34.810879 I  WriteAudio: Preparing 3072 bytes (384 frames)
>
> and a little later:
> 2014-03-16 15:55:34.833161 I  MythSocket(37fd890:94): write -> 94 50
> QUERY_FILETRANSFER 103[]:[]REQUEST_BLOCK[]:[]18200
> 2014-03-16 15:55:34.834266 I  Player(0): Play speed: rate: 59.9401 speed: 0
> skip: 0 => new interval 16683
> 2014-03-16 15:55:34.843405 I  MythSocket(37fd890:94): read  <- 94 1       0
> 2014-03-16 15:55:34.843427 I
> FileRingBuf(myth://x.x.x.x:6543/3022_20140316192500.mpg):
> safe_read(RemoteFile* ...): at EOF
> 2014-03-16 15:55:34.843479 E  decoding error
>                         eno: Unknown error 541478725 (541478725)
> 2014-03-16 15:55:34.851080 I  VidOutVDPAU: UpdatePauseFrame()
> AAfAAFuAAALAAAAA
>
> I'm guessing the HasReachedEof call is a little too aggressive. Or am I
> missing something obvious? I can gather/post whatever logs are needed, it
> happens regardless of source recording (HDHR, HD-PVR or analog), and is 100%
> reproducible. Here is my mythtv version:

Are you sure you are running the backend from the same revision?

It is imperative for the backend to match.

BTW, that bug has been like that for years, watching an in-progress
recording will usually exit. This was fixed in master and fixes/0.27 2
weeks ago


More information about the mythtv-users mailing list