INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
Stereo to mono problem with mencoder

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
kyroii
Member


Joined: 02 Jun 2006
Location: Spain

Post Posted: Jun 03, 2006 18:15 Posts Comp View users profile Send private message Reply with quote

Hi all,

I want to re-encode a video with mencoder (let's say stereo.avi [xvid+mp3]) so that sound becomes mono.

That's what I do:

mencoder stereo.avi -ovc copy -oac mp3lame -lameopts cbr:br=128:mode=3 -o mono.avi

Ok, this doesn't work, this still has 2 channels.

I've also tried the following:

mencoder stereo.avi -ovc copy -oac mp3lame -lameopts cbr:br=128:mode=3 -af pan=1:0.5:0.5 -channels 1 -o mono.avi

That also doesn't work sad.gif

What am I doing wrong?

Any help is appreciated, thx a lot.


lpn1160
Member


Joined: 03 Jul 2002
Location: United States

Post Posted: Jun 05, 2006 15:15 Posts Comp View users profile Send private message Reply with quote

Try ffmpeg instead, a little easier imho:

ffmpeg -i stereo.avi -vcodec copy -acodec mp3 -ac 1 -ab 128 mono.avi
_________________
"The software said Win XP or better, so I Installed Linux"


kyroii
Member


Joined: 02 Jun 2006
Location: Spain

Post Posted: Jun 07, 2006 11:46 Posts Comp View users profile Send private message Reply with quote

Hi, thx for your answer.

Does ffmpeg use lame for encoding mp3?

Anyway, I'd like to do it with mencoder so if anyone knows how to do it i'll be very happy if u post.

Thank you. biggrin.gif


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics