Discussion:
[FFmpeg-user] Audio channels mapping - Decklink SDI input
Mustafa Al Ani
2018-11-08 00:47:32 UTC
Permalink
Hi all,

I'm trying to encode Decklink SDI input and stream it to NDI and keep the
audio layout as is.

The SDI signal has 8 audio channels with the following layout:
1,2 Stereo
3,4 Stereo
5,6 Dolby
7,8 Stereo

What I need to do is to passthrough all audio channels and to keep the
layout as is.

Tried "-ac 8 -acodec copy" but it doesn't seem to be working.
Maybe I need to use something like "-map_channel" and then to define the
audio output layout BUT to do so I need to know "stream_specifier.channel_id"
and when I ffprobe the SDI input I get "channel_layout=unknown" which I
think is a known issue with Decklink cards according to BM support forums
There is no format detection options for audio capture to determine the
number of audio channels provided by the video source.
Can anyone help with the correct command to passthrough the audio channels?
your inputs are highly appreciated.!

Regards,
Mustafa
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org w
Reuben Martin
2018-11-11 01:45:11 UTC
Permalink
Post by Mustafa Al Ani
Hi all,
I'm trying to encode Decklink SDI input and stream it to NDI and keep the
audio layout as is.
1,2 Stereo
3,4 Stereo
5,6 Dolby
7,8 Stereo
What I need to do is to passthrough all audio channels and to keep the
layout as is.
Tried "-ac 8 -acodec copy" but it doesn't seem to be working.
Maybe I need to use something like "-map_channel" and then to define the
audio output layout BUT to do so I need to know
"stream_specifier.channel_id" and when I ffprobe the SDI input I get
"channel_layout=unknown" which I think is a known issue with Decklink cards
according to BM support forums
There is no format detection options for audio capture to determine the
number of audio channels provided by the video source.
Can anyone help with the correct command to passthrough the audio channels?
your inputs are highly appreciated.!
There is no layout with SDI. It supports 16 channels of audio, and people can
use them for whatever they want. I’ve seen them used for everything from a
click track to a COM system relay. BM devices will provide you with 2,8 or 16
channels depending on how you set it up. You will have to map them by channel
numer from the audio stream.

-Reuben




_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org w
j***@ndr.de
2018-11-13 09:58:01 UTC
Permalink
Post by Reuben Martin
Post by Mustafa Al Ani
Hi all,
I'm trying to encode Decklink SDI input and stream it to NDI and keep the
audio layout as is.
1,2 Stereo
3,4 Stereo
5,6 Dolby
7,8 Stereo
What I need to do is to passthrough all audio channels and to keep the
layout as is.
Tried "-ac 8 -acodec copy" but it doesn't seem to be working.
Maybe I need to use something like "-map_channel" and then to define the
audio output layout BUT to do so I need to know
"stream_specifier.channel_id" and when I ffprobe the SDI input I get
"channel_layout=unknown" which I think is a known issue with Decklink cards
according to BM support forums
There is no format detection options for audio capture to determine the
number of audio channels provided by the video source.
Can anyone help with the correct command to passthrough the audio channels?
your inputs are highly appreciated.!
There is no layout with SDI. It supports 16 channels of audio, and people can
use them for whatever they want. I?ve seen them used for everything from
a
Post by Reuben Martin
click track to a COM system relay. BM devices will provide you with 2,8 or 16
channels depending on how you set it up. You will have to map them by channel
numer from the audio stream.
-Reuben
Hi!
If I understand correctly, you'd like to pass through the audio layout
from SDI to an ffmpeg stream.
I think by default ffmpeg will only put the first two audio channels into
the output.

If you want to specify which audio you'd like to pass thorugh you might
use the '-map' option to select the correct streams or even use
'-filter_complex' to do in depth mapping. It is a long time ago, I did
something like this... But basically you need to see in the CLI output,
which streams you want to use and map those to the output streams you
want.
Take a look at this doc:
https://www.ffmpeg.org/ffmpeg-filters.html#streamselect_002c-astreamselect
https://www.ffmpeg.org/ffmpeg-all.html#Stream-selection
https://ffmbc.wordpress.com/category/audio/

Best,
Jan




Von: Reuben Martin <***@gmail.com>
An: FFmpeg user questions <ffmpeg-***@ffmpeg.org>
Datum: 11.11.2018 02:52
Betreff: Re: [FFmpeg-user] Audio channels mapping - Decklink SDI
input
Post by Reuben Martin
Hi all,
I'm trying to encode Decklink SDI input and stream it to NDI and keep the
audio layout as is.
1,2 Stereo
3,4 Stereo
5,6 Dolby
7,8 Stereo
What I need to do is to passthrough all audio channels and to keep the
layout as is.
Tried "-ac 8 -acodec copy" but it doesn't seem to be working.
Maybe I need to use something like "-map_channel" and then to define the
audio output layout BUT to do so I need to know
"stream_specifier.channel_id" and when I ffprobe the SDI input I get
"channel_layout=unknown" which I think is a known issue with Decklink cards
according to BM support forums
Post by Mustafa Al Ani
There is no format detection options for audio capture to determine the
number of audio channels provided by the video source.
Can anyone help with the correct command to passthrough the audio channels?
your inputs are highly appreciated.!
There is no layout with SDI. It supports 16 channels of audio, and people
can
use them for whatever they want. I?ve seen them used for everything from a

click track to a COM system relay. BM devices will provide you with 2,8 or
16
channels depending on how you set it up. You will have to map them by
channel
numer from the audio stream.

-Reuben




_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-reques

Loading...