Hi, I don't know the Solution but there is a CODEC_FLAG_PASS2.
You can look for it how it is used in ffmpeg Code or you search for it, maybe you will find a solution. https://ffmpeg.org/doxygen/trunk/ffmpeg_8c_source.html#l02255 <https://ffmpeg.org/doxygen/trunk/ffmpeg_8c_source.html#l02255> Taha Ansari wrote > On Wed, Mar 12, 2014 at 12:33 PM, Taha Ansari < > mtaha.ansari@ > >wrote: > >> Hi, >> >> I want to do two pass encoding using FFmpeg libraries. Sample codes >> provided as documentation show encoding/decoding, muxing/demuxing etc., >> but >> the encoding process is single pass. I want to do/experiment with >> two-pass >> encoding. Is there some example/sample provided elsewhere? >> >> Thanks in advance! >> > > Hi everyone, > > Any pointers in this direction? > > _______________________________________________ > Libav-user mailing list > Libav-user@ > http://ffmpeg.org/mailman/listinfo/libav-user -- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Two-pass-encoding-example-tp4659427p4659431.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
