Wowza Community

Transcode audio - left/right channels to two mono streams

Is it possible to transcode incoming AV stream with stereo channels into two new streams consisting of video and only left/only right channel?

This way I would like to send original and translation live streams.

Regards

Hi,

I assume you mean you have an inbound stereo stream with one language on the left and one language on the right ?

If this is the case then you set up the transcoder have to two encode blocks. Each block can have the same video settings but in the audio section you could add a parameter into the audio parameters section,

default.channel_copy

0

Long

0: Do nothing (default value).

1: Copy left channel over right channel.

2: Copy right channel over left channel.

An example is the following audio section of an Encode section

				<Audio>
					<!-- AAC, PassThru, Disable -->
					<Codec>AAC</Codec>
					<Bitrate>48000</Bitrate>
					<Parameters>
						<Parameter>
							<Name>default.channel_copy</Name>
							<Value>1</Value>
							<Type>Integer</Type>
						</Parameter>
					</Parameters>
				</Audio>

This would copy the left channel over the right so the output , although would be stereo would in fact be just the left channel from the original.

Hope this makes sense. You would need to add the parameter manually to your transcoder template as I dont think this can currently be done in the Manager.

Andrew.

Works great! It is easiest way to deliver two different audio channels to CDN. Now I can use only one encoder (in my case just Tricaster) to create two video streams (used passthrough in video transcoding section).

Regards