[MEncoder-users] using mencoder for audio coding

Lobster lobo at lobs.sytes.net
Tue Feb 8 11:04:34 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

You do realise that twolame does not encode mp3 content?
It will encode to mpeg layer II



More information about the MEncoder-users mailing list