View Full Version : I want to change x264 parameters when running, what shall I do?


l35633
17th January 2015, 14:30
hello, everybody!

I want to change x264 parameters when running, what shall I do? Any demonstraing source code? Any ideas?

Thank you very much!

LoRd_MuldeR
17th January 2015, 15:34
If you use the x264 command-line encoder program, then you can't. It's as simple as that ;)

If you are a programmer and you use x264 as a library, then you may call the x264_encoder_reconfig() function. It takes the same x264_param_t struct as input as the x264_encoder_open() function.

However, be aware that x264_encoder_reconfig() can not change every parameters. Just see the "x264.h" (http://git.videolan.org/?p=x264.git;a=blob;f=x264.h) for details...

l35633
17th January 2015, 16:39
thank you very much!