[FFmpeg-devel] How to add the time stamp for compressed data in encoder?

leo liu lemontree1573 at gmail.com
Wed Jan 30 03:46:19 CET 2013


I want to add one encoder to encode h264 video by using hardware.
As the ffmpeg flow, frames are encoded one by one.
I don't want to use Bframe like x264.
The problem is about time stamp:
How to add the time stamp for compressed data in the ffmpeg flow so that
the decoder can work out the correct outputs?
(such as the pkt->pts, pkt->dts and so on.)


More information about the ffmpeg-devel mailing list