Skip to Content

mono (Left) to stereo (Left+Right!)

7 replies [Last post]
th0mas
Offline
Joined: 07/18/2007
Posts:

I've got a .DV file with a mono soundtrack on the left channel. It means the right channel is silence.

How could I duplicate the left channel to the right channel so that I get a double mono (stereo) soundtrack ?

thanks !

0
Your rating: None
ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: mono (Left) to stereo (Left+Right!)

MLT has a "channelcopy" filter to do this. I think you can add an effect XML file to your kdenlive install to enable it if it is not already available. I have never done that myself, so take a look yourself first. Let us know if you need more specific instructions.

ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: mono (Left) to stereo (Left+Right!)

mkdir ~/.kde/share/apps/kdenlive/effects

kwrite ~/.kde/share/apps/kdenlive/effects/channelcopy.xml

paste the following:

<!DOCTYPE kpartgui>
<effect tag="volume" id="channelcopy" type="audio">
        <name>Mono to stereo</name>
        <description>Copy the left channel to the right</description>
        <author>Dan Dennedy</author>
</effect>

-- end of file --
Start kdenlive and look for the filter "Mono to stereo"

th0mas
Offline
Joined: 07/18/2007
Posts:
Re: mono (Left) to stereo (Left+Right!)

Thank you for your reply.

I just did what you suggested. So far, no success, I can't see any "Mono to Stereo" / channelcopy audio effect in the effect stack (or a new parameter in the volume effect).

I didn't try yet to modify the .xml file but I wouldn't know where to start.
Any idea ?

831photo
Offline
Joined: 01/09/2010
Posts:
Re: mono (Left) to stereo (Left+Right!)

I know this has been sitting for a year, but I'm having the same issue. I've created the "mono to stereo" on 0.7.6 (there is one in there already) but it has no effect. I still have a left channel with audio, and an empty right channel.

I've even tried splitting the audio, with no success.

Anyone else have any ideas?

RobbyBer
Offline
Joined: 02/16/2010
Posts:
Re: mono (Left) to stereo (Left+Right!)

The original XML File hasn't work on my pc.

So i have Change the XML file.



Mono to stereo
Copy the left channel to the right
Dan Dennedy

from
to

Now it work. But i don't know what i do. ;)

I can't post the File in this Comment. So i will attach it.

Bye Robert

AttachmentSize
channelcopy.txt 433 bytes
TiKaey
Offline
Joined: 05/24/2008
Posts:
Re: mono (Left) to stereo (Left+Right!)

A friend of mine is looking just for this thing, but... you forget the tags? ;o)

ddennedy
ddennedy's picture
Offline
Joined: 06/26/2007
Posts:
Re: mono (Left) to stereo (Left+Right!)

Ah, thanks for making me take a second look. I copied another XML file and forgot to change the "tag" attribute from "volume" to "channelcopy". Fixed in Subversion for the next release. Others can 'locate channelcopy.xml' on their system and make the change manually.