Archive for the ‘Windows’ Category
About video file scale
Monday, September 24th, 2007It seems like while you want to scale the movie to new resolution, the new resolution has to be multiple of 16, otherwise the scale will be fail.
Also, another problem is most DVD player can not play horizon resolution higher than 800, so it is very important to test and scale down the movies.
I would suggest you convert one minute and try playing back on your DVD player before you do the time consuming convert procedure.
The command might like:
mencoder input.rm -o output.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=800 -vf scale=720:480 -endpos 1:00
More on video convert
Friday, September 21st, 2007Convert rm to flv, good for most of video upload website:
mencoder input.rm -o output.flv -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec= flv:vbitrate=300:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vf scale=352:288
Convert rm to home threater DVD player playable:
mencoder input.rm -o output.avi -oac mp3lame -lameopts vbr=2:q=3 -ovc xvid -xvidencopts bitrate=800
Common video resolution:
| Profile | Resolution |
| VCD | 352×288 |
| Legacy TV | 512×384 |
| DVD | 720×480 |
| Wide screen TV | 624×352 |
| 1080P HDTV | 1920×1080 |
How to convert rm/rmvb to DVD player friendly format
Monday, September 17th, 2007Sometimes, we just want to play the real media video on our home theater system. Unfortunately, most of the DVD player won’t recognize rm/rmvb format, so we have to convert it to some other format, like avi file with xvid video encode.
To do this, we can use free tools like mencoder, which is a program comes with mplayer project.
I choose to convert it on Windows platform, since it is easier and likely to be faster for handling rm files.
First, we will download mplayer from: http://www.mplayerhq.hu/design7/dload.html. You should choose the Windows Xming version. Don’t download the GUI version, since it doesn’t come with the mencoder.exe we need.
The installation is quite simple, just unzip it to any place you like. You may want to add it to the PATH environment setting later.
Now, we will download the “windows all” codecs package from: http://www.mplayerhq.hu/MPlayer/releases/codecs/ . Unzip it into your mplayer software’s codecs folder, and copy the drv*.dll files (This is the decoder extracted from real player I believe) into \Windows\system32\.
Now, if you have a rmvb file like: file.rmvb, you can use the following command to convert it to a xvid avi file named file.avi:
mencoder file.rmvb -oac mp3lame -lameopts preset=128 \
-ovc lavc -lavcopts vcodec=xvid -ofps 25
-of avi -o file.avi
After that, you can burn it to a cd or dvd and play it on most of the xvid/divx compatible DVD players.
