mirror of
https://github.com/obsproject/obs-studio.git
synced 2025-12-28 07:55:01 +00:00
obs-ffmpeg: Add logging of audio track
Some checks are pending
Push / Format 🔍 (push) Waiting to run
Push / Build 🧱 (push) Waiting to run
Push / Validate Compatibility 🕵️ (push) Waiting to run
Push / Validate Services 🕵️ (push) Waiting to run
Push / Update Documentation 📖 (push) Waiting to run
Push / Deploy Documentation to Cloudflare ☁️ (push) Blocked by required conditions
Push / Create Sparkle Appcast 🎙️ (arm64) (push) Blocked by required conditions
Push / Create Sparkle Appcast 🎙️ (x86_64) (push) Blocked by required conditions
Push / merge-appcasts (push) Blocked by required conditions
Push / Windows Signing ✍️ (push) Blocked by required conditions
Push / Create Release 🛫 (push) Blocked by required conditions
Some checks are pending
Push / Format 🔍 (push) Waiting to run
Push / Build 🧱 (push) Waiting to run
Push / Validate Compatibility 🕵️ (push) Waiting to run
Push / Validate Services 🕵️ (push) Waiting to run
Push / Update Documentation 📖 (push) Waiting to run
Push / Deploy Documentation to Cloudflare ☁️ (push) Blocked by required conditions
Push / Create Sparkle Appcast 🎙️ (arm64) (push) Blocked by required conditions
Push / Create Sparkle Appcast 🎙️ (x86_64) (push) Blocked by required conditions
Push / merge-appcasts (push) Blocked by required conditions
Push / Windows Signing ✍️ (push) Blocked by required conditions
Push / Create Release 🛫 (push) Blocked by required conditions
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];
|
||||
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,
|
||||
(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);
|
||||
|
||||
/* enable experimental FFmpeg encoder if the only one available */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user