[Libav-user] FFmpeg x264 settings for zero-delay encoding?

Christian Brümmer christian.bruemmer at gmx.de
Sun Jun 17 12:09:19 CEST 2012


Nice this is exactly what i need!

Thank you!

Am 17.06.2012 02:16, schrieb Aleksey Shubin:
> There is "preset" and "tune" options in ffmpeg, you can set them that way:
>
> #include "opt.h"
>
> av_opt_set(codecContex->priv_data, "preset", "ultrafast", 0);
> av_opt_set(codecContex->priv_data, "tune", "zerolatency", 0);
>
> where codecContex is AVCodecContext.
>
> For other x264 options that isn't presented in ffmpeg you could use
> "x264opts" option:
>
> av_opt_set(codecContex->priv_data, "x264opts",
> "no-mbtree:sliced-threads:sync-lookahead=0", 0);
>
>
> 2012/6/17 Christian Brümmer<christian.bruemmer at gmx.de>:
>> I need information how to set those parameter via c/c++! this where things
>> become tricky
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>



More information about the Libav-user mailing list