Hi, On Thu, Apr 21, 2011 at 4:22 PM, Tony Strauss <[email protected]> wrote: > On Thu, Apr 21, 2011 at 3:34 PM, Mike Scheutzow > <[email protected]> wrote: >> Tony Strauss wrote: >>> 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. > > Interesting. I really don't know much about video encoding, but this > surprises me. Certainly a patched ffprobe shows pts == dts for > clip.no_bframes.ts (and this does have p frames, since refs=1). Why > would the presence of p-frames change pts == dts? Since p-frames only > depend on an earlier frame, can't they be presented as soon as they're > decoded?
Yes. If there's no B-frames, pts == dts is fine. (I intend to look at your bug at some point, but didn't get to it yet so far.) Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
