Search
| How to encode audio/video in Ubuntu/Debian. |
|
|
|
| How to ? - Linux | ||||||||||||||||||||||||||||
| Written by admin | ||||||||||||||||||||||||||||
| Sunday, 07 November 2010 05:42 | ||||||||||||||||||||||||||||
![]() MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. This tool is closely associated with mplayer.Mencoder is a companion program to the MPlayer media player.
Filters include cropping, scaling, vertical flipping, horizontal mirroring, expanding to create letterboxes, rotating, brightness/contrast, changing the aspect ratio of the video's pixels, colorspace conversion, hue/saturation, color-specific gamma correction, filters for reducing the visibiltiy of compression artifacts caused by MPEG compression (deblocking, deringing), automatic brightness/contrast enhancement (autolevel), sharpness/blur, denoising filters, and several different ways of deinterlacing. Certain filters capable of reversing telecine that do not work well with MPlayer can be used as well. To install mencoder just type #sudo apt-get install mencoder in terminal(needs root privilege). For ubuntu you need to enable restricted packages. For Debian multimedia repo should be enabled.You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv. To see a list of audio/video encoders supported on your installation, run #mencoder -oac help #mencoder -ovc help in terminal respectievely. Usage # mencoder input_movie.avi -oac mp3lame -ovc lavc -o output_movie.mpeg This command coverts an avi file to mpeg format. If you selected libavformat to do the muxing of the output file (by using the -of lavf), the appropriate container format will be determined by the file extension of the output file. You may force a particular container format with libavformat's format option.
|
||||||||||||||||||||||||||||
| Last Updated on Sunday, 07 November 2010 05:59 |





