BtbN / FFmpeg-Builds

MIT License
7.77k stars 1.07k forks source link

Add ability to pass arbitrary extra encoder settings #287

Closed m9IsKoN closed 1 year ago

m9IsKoN commented 1 year ago

Hello, I could not create a question in your obs-multi-rtmp fork, tell me how to specify Extra Options correctly?

BtbN commented 1 year ago

Lines of

integer_option_name:i=1234
string_option_name:s=blabla
double_option_name:d=1.5
false_bool_option_name:b=0
true_bool_option_name:b=1

For the option names you will have to dig into the source of the respective encoder you are setting them on.

m9IsKoN commented 1 year ago

Thank you

m9IsKoN commented 1 year ago

Lines of

integer_option_name:i=1234
string_option_name:s=blabla
double_option_name:d=1.5
false_bool_option_name:b=0
true_bool_option_name:b=1

For the option names you will have to dig into the source of the respective encoder you are setting them on.

I tried different variations, but unfortunately I didn't succeed, could you show me an example of any codec and any variable, so that I could understand how it should work, if it doesn't bother you?

BtbN commented 1 year ago

preset2:s=p7 to set the preset of nvenc for example.

m9IsKoN commented 1 year ago

Should the changes be displayed in the log when the broadcast starts? Screenshot 2023-07-27 041645 Screenshot 2023-07-27 041741

BtbN commented 1 year ago

Yes