[mythtv-users] [UK] BBC HD and BBC ONE HD - recording length incorrect

David Knight dlknight at sdf.lonestar.org
Tue Dec 28 20:24:09 UTC 2010


On Wed, December 22, 2010 11:41 pm, Taylor Ralph wrote:
> On Wed, Dec 22, 2010 at 6:39 PM, Taylor Ralph <taylor.ralph at gmail.com>
> wrote:
>> On Wed, Dec 22, 2010 at 5:26 PM, David Knight
>> <dlknight at sdf.lonestar.org> wrote:
>>> On Wed, December 22, 2010 12:11 pm, Taylor Ralph wrote:
>>>> On Wed, Dec 22, 2010 at 6:13 AM, David Knight
>>>> <dlknight at sdf.lonestar.org>
>>>> wrote:
>>>>> FFmpeg version SVN-r25557-snapshot, Copyright (c) 2000-2010 the
>>>>> FFmpeg
>>>>> developers
>>>>> �built on Oct 24 2010 07:32:30 with gcc 4.4.4 20100630 (Red Hat
>>>>> 4.4.4-10)
>>>>> �configuration: --prefix=/usr --libdir=/usr/lib64
>>>>> --shlibdir=/usr/lib64
>>>>> --mandir=/usr/share/man --enable-shared --enable-gpl
>>>>> --enable-version3
>>>>> --enable-nonfree --enable-postproc --enable-avfilter
>>>>> --enable-pthreads
>>>>> --enable-x11grab --enable-vdpau --disable-avisynth --enable-libdc1394
>>>>> --enable-libdirac --enable-libfaac --enable-libgsm
>>>>> --enable-libmp3lame
>>>>> --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb
>>>>> --enable-libopenjpeg --enable-libschroedinger --enable-libspeex
>>>>> --enable-libtheora --enable-libvorbis --enable-libx264
>>>>> --enable-libxvid
>>>>> --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
>>>>> -fexceptions
>>>>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
>>>>> -fPIC'
>>>>> --disable-stripping
>>>>> �libavutil � � 50.32. 3 / 50.32. 3
>>>>> �libavcore � � �0. 9. 1 / �0. 9. 1
>>>>> �libavcodec � �52.93. 0 / 52.93. 0
>>>>> �libavformat � 52.84. 0 / 52.84. 0
>>>>> �libavdevice � 52. 2. 2 / 52. 2. 2
>>>>> �libavfilter � �1.53. 0 / �1.53. 0
>>>>> �libswscale � � 0.12. 0 / �0.12. 0
>>>>> �libpostproc � 51. 2. 0 / 51. 2. 0
>>>>> [h264 @ 0x1e1c490] non-existing SPS 0 referenced in buffering period
>>>>> [h264 @ 0x1e1c490] non-existing PPS referenced
>>>>> [h264 @ 0x1e1c490] non-existing SPS 0 referenced in buffering period
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] non-existing PPS 0 referenced
>>>>> [h264 @ 0x1e1c490] decode_slice_header error
>>>>> [h264 @ 0x1e1c490] no frame!
>>>>>
>>>>> Above errors repeated for couple of pages.
>>>>>
>>>>> [mpegts @ 0x1e166e0] max_analyze_duration reached
>>>>> [NULL @ 0x1e3a630] start time is not set in
>>>>> av_estimate_timings_from_pts
>>>>> Input #0, mpegts, from '/video/default/8941_20101127194500.mpg':
>>>>> �Duration: 00:46:26.00, start: 5649.660133, bitrate: 7424 kb/s
>>>>> �Program 1
>>>>> � �Stream #0.0[0x1518]: Video: h264, yuv420p, 1440x1080 [PAR 4:3 DAR
>>>>> 16:9], 27.53 fps, 25 tbr, 90k tbn, 50 tbc
>>>>> � �Stream #0.1[0x151a](NAR): Audio: mp2, 48000 Hz, 2 channels, s16,
>>>>> 256
>>>>> kb/s
>>>>> � �Stream #0.2[0x151b](eng): Subtitle: [6][0][0][0] / 0x0006
>>>>> � �Stream #0.3[0x151c](eng): Subtitle: dvbsub
>>>>> � �Stream #0.4[0x1519](eng): Audio: ac3, 48000 Hz, stereo, s16, 192
>>>>> kb/s
>>>>> At least one output file must be specified
>>>>>
>>>>> Dave K.
>>>>>
>>>>
>>>> Is 00:46:26.00 the correct duration? What does MythTV show for the
>>>> duration? We now use the ffmpeg duration so if it's correct then the
>>>> next release will contain the fix.
>>>>
>>>> Regards.
>>>> --
>>>> Taylor
>>>>
>>>>
>>>
>>> Yes 00:46:26.00 is the correct duration, MythTV reports 00:36:07 when
>>> playing back the recording in mythfrontend. Playback continues when the
>>> status bar reaches the end but rewind and fast forward do not work
>>> correctly.
>>>
>>> Will the fix be backported to 0.24-fixes?
>>>
>>> Thanks,
>>>
>>> Dave
>>>
>>
>> I wasn't planning on back-porting the change since it still needs
>> considerable testing and caused a few issues already that I had to
>> fix. Could you play the recording back with -v playback,timestamp and
>> see if you find any messages with "repeat_pict" in them?
>>
>> Regards,
>> --
>> Taylor
>>
>
> And one other thing, it sounds like you might have a corrupt position
> map. You might want to regenerate one and see if that corrects the
> ff/rew behaviour.
>
> Regards.
> --
> Taylor
>
>

With -v playback,timestamp the only messages during playback are shown
below (I have reduced the output as many messages were repeated several
times throughout the log).

2010-12-28 11:36:43.213 [h264 @ 0x39e0b95f40]no frame!
2010-12-28 11:36:43.213 [h264 @ 0x39e0b95f40]non-existing SPS 0 referenced
in buffering period
2010-12-28 11:36:43.213 [h264 @ 0x39e0b95f40]non-existing PPS referenced
2010-12-28 11:36:43.213 [h264 @ 0x39e0b95f40]non-existing SPS 0 referenced
in buffering period
2010-12-28 11:36:43.214 [h264 @ 0x39e0b95f40]non-existing PPS 0 referenced
2010-12-28 11:36:43.214 [h264 @ 0x39e0b95f40]decode_slice_header error

2010-12-28 11:37:16.352 [h264_vdpau @ 0x39e0b95f40]reference picture
missing during reorder
2010-12-28 11:37:16.352 [h264_vdpau @ 0x39e0b95f40]Missing reference picture
2010-12-28 11:37:20.487 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:21.317 ALSA, Error: WriteAudio: buffer underrun
2010-12-28 11:37:21.321 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:22.030 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:22.403 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:22.404 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:22.404 [h264_vdpau @ 0x39e0b95f40]mmco: unref short failure
2010-12-28 11:37:22.581 GetNextFreeFrame() unable to lock frame 100 times.
Discarding Frames.

During logging I fast forwarded through the video and then resumed playback.



Cheers

Dave




More information about the mythtv-users mailing list