Mencoder

From LinuxIntro
Jump to: navigation, search

mencoder is a program to do video conversion. It comes as part of mplayer. To install it, just install mplayer.

Many video conversion commands involving mencoder can be found at video conversion.

TroubleShooting

mplayer was compiled without libmp3lame support

When trying to convert a video using libmp3lame as output audio codec you may get the error message

# mencoder lambo-01.dv -o lambo-1.avi -vf pp=ci -oac mp3lame -ovc lavc
MEncoder SVN-r33887-4.5 (C) 2000-2011 MPlayer Team
MPlayer was compiled without libmp3lame support.

Then you should compile mplayer with libmp3lame support. To do this, install the development packages of libmp3lame, for example with SUSE Linux:

yast -i libmp3lame-devel

then compile mplayer as described under mplayer.

Couldn't find video filter 'x264'

Couldn't find video filter 'x264'. Failed to open the encoder.

Solution: Install x264 devel packages, rebuild mplayer