[Libav-user] Synchronous encoding

Kevin Anthony kevin.s.anthony at gmail.com
Tue Mar 8 22:48:14 CET 2016


I'm writing a streaming application using ffmpeg and libmfx/libx264
(depending on hardware support).

Is there a simple way to ensure that if i call avcodec_encode_video2 with a
frame, it'll get an encoded frame back?
I tried setting lookahead 0, and rc_lookahead 0 but it didn't seem to work.

Please help.
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160308/70530371/attachment.html>


More information about the Libav-user mailing list