[MEncoder-users] using mencoder for audio coding

visitor sasani07 at yahoo.com
Tue Feb 8 04:16:05 CET 2011


sergio <mailbox <at> sergio.spb.ru> writes:

> 
> Hello.
> 
> Is it possible to use mencoder for audio-only conversions?
> 
> I've tried a lot of variants but I always receive:
> "Video stream is mandatory!"
> 


Hello.  

I wondered the same as you.  Try this (after tweaking to your needs):  

mencoder -demuxer rawvideo -rawvideo w=1:h=1 -rawaudio bitrate=44100 -ovc copy
-oac twolame -of rawaudio -audiofile a.mp3 -o a.mp3 -endpos 4.4 /dev/zero

Found here: http://forum.doom9.org/archive/index.php/t-141102.html
Another page of interest:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-January/075795.html



More information about the MEncoder-users mailing list