[FFmpeg-devel] [PATCH]: Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Thu Apr 21 21:34:49 CEST 2011


Tony Strauss wrote:
>> You can reproduce by running:
>> ffprobe -loglevel debug -show_packets 720.no_b_frames.ts

This .ts file does not look valid to me. I find no start codes in the 
video elementary stream. As far as I know, H264 should be using Annex-B 
format within a transport stream.

>> The
>> key thing is that this file was encoded without b frames, so pts ==
>> dts for every frame.

It requires more than "no B frames" for this statement to be true.

Does the video contain P-frames? If it contains P-frames, then pts != 
dts. Please post a link to a valid file so we can see.


Mike Scheutzow


More information about the ffmpeg-devel mailing list