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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to