I'm trying to use ffmpeg/libx264 to encode and transmit a real-time video, when I use av_dict_set(&opts, "tune", "zerolatency", 0);
the system works well. As the X264 encode parameters are set by ffmpeg using av_dict_set
, for some research purpose I want to change them by myself. But some parameters in x264_param_t
can not correspond to those parameters in AVCodecContext
, such as vfr_input
. So I want to know if there is a directly way to transmit parameters into X264 encoder when using libx264 in ffmpeg.
Can anyone help me? Thanks