<div dir="ltr">Hi all,<div><br></div><div>I have a quick question. I did some research but couldn't find an easy answer online or in the code.</div><div><br></div><div>I'm implementing ffmpeg encoding support in liquidsoap and I was hoping to be able to do all the configuration via av_opt_set_dict  and key/value string dictionaries.</div><div><br></div><div>However, some configuration variables seem to be eluding me. In particular, I cannot seen to be able to set sample_fmt this way.</div><div><br></div><div>I noticed that there is a AV_OPT_TYPE_SAMPLE_FMT type for converting string options to these, which seem to be looking at an int so I tried to pass a string version of the sample format enums but this didn't work.</div><div><br></div><div>Is that something that is possible to do? If not, what are the other such parameters that will need to be entered specifically?</div><div><br></div><div>Thanks in advance for any insight!</div><div>Romain</div></div>