Results 1 to 3 of 3

Thread: Transcode audio - left/right channels to two mono streams

  1. #1
    Join Date
    Dec 2010
    Posts
    6

    Default 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
    Last edited by RadioErewan; 11-28-2014 at 04:38 PM. Reason: Subscription

  2. #2

    Default

    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,


    <Parameter>
    <Name>default.channel_copy</Name>
    <Value>0</Value>
    <Type>Long</Type>
    </Parameter>[/code]

    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.

  3. #3
    Join Date
    Dec 2010
    Posts
    6

    Default

    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

Similar Threads

  1. HLS chunks start with brief moment of mono audio
    By jeffwaugh in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 06-04-2014, 03:28 PM
  2. Wowza 4 streaming with dual audio channels
    By Corsairbuff in forum Wowza Streaming Engine functionality
    Replies: 2
    Last Post: 04-04-2014, 06:25 AM
  3. Haivision TS over UDP and 4 Audio channels
    By thomasaugustin in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 02-08-2012, 06:31 AM
  4. Replace mono audio with stereo from another stream?
    By /usr/local/dick in forum AddOn: Transcoder
    Replies: 1
    Last Post: 01-16-2012, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •