BtbN / FFmpeg-Builds

MIT License
6.99k stars 958 forks source link

Add ability to pass arbitrary extra encoder settings #287

Closed m9IsKoN closed 11 months ago

m9IsKoN commented 11 months ago

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

BtbN commented 11 months 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 11 months ago

Thank you

m9IsKoN commented 11 months 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 11 months ago

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

m9IsKoN commented 11 months 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 11 months ago

Yes