I’m trying to play music from my Decklink channel, but am struggling with the configuration. I have a channel of video coming from my Decklink and am de-embedding channels 1 and 2 with an audio de-embedder, so I can run them through my audio mixer. That works fine. However, I would also like to run music down that same video line using audio channels 3 and 4, de-embed it, and run it through the mixer as a separate audio source, so that my videos and music, although both being played on the same SDI line, will effectively run separately into my audio mixer. How might I achieve that?
Assume the playback of the media will be in channel 1 with layer 10 used for video replay and layer 20 for audio file replay. You need two commands - the first plays the video file, the second plays the audio file using a pan filter to direct the first two source channels to be output on channels 3 and 4.
play 1-10 "myvideofile"
play 1-20 "myaudiofile" af "pan=4c|c2=c0|c3=c1"
The pan filter creates a 4-channel output (pan=4c). The rest of the filter definition maps input channels to output channels. The first two outputs have no source allocated and are therefore silent. The third and fourth outputs are taken from the first two input audio channels.
This was it! Thanks so much for your quick help.