[Libav-user] How to set x264 options

adreas Polyxronopoulos apolyxrono at yahoo.co.uk
Mon Mar 5 17:47:22 CET 2012


Hi all,

i would like to set the following x264 command line options from within my source code:

x264 --profile baseline 
        --no-mixed-refs 
        --rc-lookahead 1
        --ref 1
        --subme 1
        --trellis 0
        --weightp 1
        --me dia
        --no-deblock
        --no-8x8dct
        --partitions none

I have tried the av_opt_set(c->priv_data, "profile", "baseline", 0); But i can't set all the above values.
For example the call   ret = av_opt_set(c->priv_data, "me", "dia", 0); givesret = -1414549496  which i don't know what it means or i don't know how to find the error_code

thanks
 
Adreas Polychronopoulos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120305/44d81be5/attachment.html>


More information about the Libav-user mailing list