Closed alatteri closed 7 months ago
I thought I saw somewhere that the Opus codec only officially supported 2 channels.
Each channel is treated as its own. I think it is related to a commit around here: c610aae for this issue. https://github.com/CESNET/UltraGrid/issues/354
This behavior is correct in my opinion – UltraStudio 4K Mini has only 2 analog output channels as also indicated in tech specs.
How do I get 5.1 out the SDI/HDMI? That exact command used to work fine not that long ago.
uv -d decklink:synchronized -r decklink -P 5004 --param use-hw-accel,resampler=soxr,decoder-use-codec=R12L
[DeckLink audio play.] Audio-only DeckLink output, if also video is needed, use "-d decklink -r analog" instead.
or should this be -r embedded
?
I won't be able to confirm this until tomorrow, but in the logs at least I now see:
New incoming audio format detected: 48000 Hz, 8 channels, 32 bits per sample, codec Opus
[lavcd aud.] Using audio decoder: opus
Audio reconfiguration succeeded (8 channels, 4 Bps, 48000 Hz, codec: PCM).
or should this be -r embedded?
Yes, currently different value is queried according to output specification, see this. It is true that it worked also with analog
for 8 channels in the past, because there was hard-coded maximal channel count (32 or something) and DeckLinks play audio over all outputs (similarly for the video); but I believe that now it is more correct – analog
should be used when really analog is required.
[DeckLink audio play.] Audio-only DeckLink output, if also video is needed, use "-d decklink -r analog" instead.
Well, I'll fix this hint, but it is just the hint to prevent incorrect usage. ¹
¹ this message is no longer in current UG code – both analog and embedded is suggested now
thank you. Perfect.
Hello,
When using Decklink out, seem UG is forcing 2 channels even if the input is 8.
uv -d decklink synchronized -r analog -P 5004 --param use-hw-accel,resampler=soxr,decoder-use-codec=R12L