[MEncoder-users] convert audio file to flv

The Wanderer inverseparadox at comcast.net
Fri Oct 26 12:46:59 CEST 2007


周国强 wrote:

> It's simple to convert an audio file to flv via ffmpeg:
> ffmpeg -i input.mp3  -acodec libmp3lame  -f flv  -ac 1 -ar 44100  -ab
> 64k  -y out.flv
> 
> I try to use mencoder to convert the audio:
> mencoder input.mp3 -oac mp3lame -ovc raw -vf noformat -o out.flv
> 
> But it tells me "Video stream is mandatory".

That's because MEncoder is originally and primarily intended as a video
encoder. The only reason MEncoder can handle audio streams is because
most files containing video also contain audio, so it's convenient to be
able to encode both in the same step.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MEncoder-users mailing list