On this page
Video Conversions
Introduction
mencoder is one of the most used applications along with ffmpeg to convert or encode videos.
Installation
Depending on what you will use, select only the one you wish:
|
|
If you want to create OGV (OGG/Theora) videos for HTML5, you need to install this package:
|
|
Usage
Convert a .wmv to a .avi
|
|
Convert a .mp4 to a .avi
|
|
And to convert an avi to mp4 and change to iPhone resolution:
|
|
Convert a .flv to a .mpg
|
|
The options are:
- b bitrate: set the video bitrate in kbit/s (default = 200 kb/s)
- ab bitrate: set the audio bitrate in kbit/s (default = 64)
- ar sample rate: set the audio samplerate in Hz (default = 44100 Hz)
- s size: set frame size. The format is WxH (default 160x128)
Convert to ogv
|
|
This will keep the same video information and create an ogv file with the same name.
If you want better quality:
|
|
Resources
Last updated 02 May 2010, 21:43 CEST.