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

David Knight dlknight at sdf.lonestar.org
Mon Dec 27 12:48:31 UTC 2010


On Fri, December 24, 2010 4:12 pm, Taylor Ralph wrote:
> On Fri, Dec 24, 2010 at 11:03 AM, Paul Gardiner <lists at glidos.net> wrote:
>> On 23/12/2010 22:15, Taylor Ralph wrote:
>>>
>>> On Thu, Dec 23, 2010 at 10:31 AM, Paul Gardiner<lists at glidos.net>
>>>  wrote:
>>>>
>>>> On 22/12/2010 23:39, Taylor Ralph 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?
>>>>
>>>> Is there a commit (or set of commits) I could cherry pick onto
>>>> fixes/0.24 in my local repository?
>>>>
>>>> Cheers,
>>>>        Paul.
>>>
>>> There are several commits that would be required to resolve the
>>> duration and time position issue. I believe they will not cleanly
>>> apply if cherry-picked. This will only correct the problem
>>> cosmetically but will not solve the seeking/bookmark issue.
>>>
>>> The core of the problem is most likely related to either mythcommflag
>>> or the player not handling the frame count correctly. Someone needs to
>>> create a sample that shows the problem and create a ticket if one
>>> doesn't already exist and provide a link to the sample. Please make
>>> sure the sample is ran through mythcommflag (creates a position map)
>>> and exhibits the problem. It might actually play properly if it
>>> doesn't have a position map. One way to check this is to copy the
>>> recording over to MythVideo and change the name then see if it plays
>>> properly or not.
>>
>> Yes, you are right. Bookmarks work fine when the recording is copied
>> to MythVideo. I don't have any small recordings to upload anywhere
>> just now, but I have something small set up for tonight.
>>
>> Paul.
>
> You can always use 'dd' to cut a video for uploading. To produce a
> 50MB sample run the following:
>
> dd if=/path/to/infile of=/path/to/outfile bs=1024 count=50000
>
> Then you can upload to filebin.ca.
>
> Regards.
> --
> Taylor
>
>

50MB sample of Merlin from BBC 1 HD - ran through mythcommflag.

http://caprica.unospace.net/8941_20101127194500-sample.mpg

Dave



More information about the mythtv-users mailing list