[Ffmpeg-devel] compute_frame_duration and pkt->duration

Stefan Gehrer stefan.gehrer
Wed Nov 15 20:12:29 CET 2006


Baptiste Coudurier wrote:
> Well, one solution is to set dts of the frame 0 to -codec_delay,
> H264 with B pyramid is -2, normal b frames is -1.
> That should work, no ?
>   
I think for H.264 the delay can get larger than two.
Imagine for example a larger pyramid of five B-frames
which incurs a delay of three.

Regards
Stefan Gehrer




More information about the ffmpeg-devel mailing list