On 03/07/2012 11:42 AM, Piox wrote:
I managed to do it on the coding part using the x264 library
and applying the "zero latency" tune option, but I don't know
how to do it on decoding part. Is that possible, and if it is,
how can I activate it ?
Disable threading: set "thread_type" to 0 in the codec context or in
the options you pass. Otherwise, ffmpeg adds 1 frame per CPU of
delay (in order to better utilize multiple cores; however, this is
at the expense of end-to-end latency in live coding).
|
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user