Add --audio-bit-rate

Add an option to configure the audio bit-rate.
This commit is contained in:
Romain Vimont
2023-02-18 18:32:43 +01:00
parent f75dc2e477
commit a331c2c653
12 changed files with 48 additions and 6 deletions

View File

@@ -221,6 +221,8 @@ execute_server(struct sc_server *server,
}
if (!params->audio) {
ADD_PARAM("audio=false");
} else if (params->audio_bit_rate) {
ADD_PARAM("audio_bit_rate=%" PRIu32, params->audio_bit_rate);
}
if (params->video_codec != SC_CODEC_H264) {
ADD_PARAM("video_codec=%s",