rmvb realmedia variable bitrate

Extension rmvb is RealMedia Variable Bitrate. It still movie format that mplayer could play. Or vlc in windows.

We will try to convert rmvb into avi.
1. mplayer
2. mencoder
3. essential codecs for mplayer

note: to install the above tools, please take a look to http://stanton-finley.net/fedora_cor…ion_notes.html

1. rmvb file: in.rmvb
2. avi file: out.avi

Information for the avi file
format: mpeg4
bitrate:1200 kb/s
fps: 25 fps
format: mp3
bitrate: 128 kb/s

$mencoder in.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi

-oac: output audio codec
mp3lame: library used for audio encoding
-lameopts: options used along with lame
preset: values for audio bitrate, you can set 64, 128, 224, etc
-ovc: ouput video codec
lavc: library used for video encoding
-lavcopts: options used along with lavc
vcodec: video codec, you can use mpeg1video, mpeg4, etc
vbitrate: video bitrate, you can set 600, 1000, 1200, etc
-ofps: outpt frame per second ( fps)
-of: output file container type
-o: output filename

Mencoder is a powerful tool to convert multimedia, just like the above example, we can use it to convert rmvb to avi. With suitable library and codecs, we can even use it to convert file format like rm, wmv etc.

Reference link:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.