[MEncoder-users] converting and subtitle questions
Erik Slagter
erik at slagter.name
Wed Mar 26 15:23:55 CET 2008
zechao wang wrote:
> Hello Erik Slagter:
>
> I want to convert rmvb files to mp4 for my cellphone.
>
> mencoder my.rmvb -ovc lavc -oac mp3lame -o my.avi
>
> ffmpeg -y -i my.avi -vcodec xvid -s 400x240 -r 29.97 -b 600 -acodec
> aac -ac 2 -ar 48000 -ab 128 -vol 200 -f mp4 my.mp4
>
> With above commands, it can works well. But the quality is not good,
> especially when playing the dark frames, there are too much mosaic.
>
> If you are familiar with ffmepg, how should i do if i want to get the
> high-quailty mp4 file ? Please give me some advice, thanks you very
> much.
Something like:
ffmpeg -i my.rmvb -vcodec libx264 -acodec aac -s 400x240 -r 29.97 -b 600
-ac 2 -ar 48000 -ab 128 -vol 200 -f mp4 my.mp4
Why do you need the extra pass with mencoder anyway?
This command is a for a "proper" (imho) mp4-implementation, using h264
(aka mpeg4-avc). If your phone cannot handle that, replace -vcodec
libx264 by -vcodec mpeg4, this will output mpeg-vc ("traditional
mpeg4"). You do not need xvid for this.
More information about the MEncoder-users
mailing list