obs-ffmpeg: Add logging of audio track
This commit is contained in:
parent
5b79b4b74d
commit
7a35d7c549
@ -288,9 +288,11 @@ static void *enc_create(obs_data_t *settings, obs_encoder_t *encoder,
|
|||||||
|
|
||||||
char buf[256];
|
char buf[256];
|
||||||
av_channel_layout_describe(&enc->context->ch_layout, buf, 256);
|
av_channel_layout_describe(&enc->context->ch_layout, buf, 256);
|
||||||
info("bitrate: %" PRId64 ", channels: %d, channel_layout: %s\n",
|
info("bitrate: %" PRId64
|
||||||
|
", channels: %d, channel_layout: %s, track: %d\n",
|
||||||
(int64_t)enc->context->bit_rate / 1000,
|
(int64_t)enc->context->bit_rate / 1000,
|
||||||
(int)enc->context->ch_layout.nb_channels, buf);
|
(int)enc->context->ch_layout.nb_channels, buf,
|
||||||
|
(int)obs_encoder_get_mixer_index(enc->encoder) + 1);
|
||||||
init_sizes(enc, audio);
|
init_sizes(enc, audio);
|
||||||
|
|
||||||
/* enable experimental FFmpeg encoder if the only one available */
|
/* enable experimental FFmpeg encoder if the only one available */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user