Difference between revisions of "Mencoder"

From Linuxintro
imported>ThorstenStaerk
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
mencoder is a [[program]] to do [[video conversion]]. It comes as part of [[mplayer]]. To install it, just install mplayer.
+
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]].
 
Many video conversion commands involving mencoder can be found at [[video conversion]].
  
 
= TroubleShooting =
 
= 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 lambo-01.dv -o lambo-1.avi -vf pp=ci -oac mp3lame -ovc lavc
 
  MEncoder SVN-r33887-4.5 (C) 2000-2011 MPlayer Team
 
  MEncoder SVN-r33887-4.5 (C) 2000-2011 MPlayer Team
 
  '''MPlayer was compiled without libmp3lame support.'''
 
  '''MPlayer was compiled without libmp3lame support.'''
  # rpm -qa --last | grep lame
+
Then you should compile mplayer with libmp3lame support. To do this, install the development packages of libmp3lame, for example with SUSE Linux:
libmp3lame-devel-3.98.4-5.3                  Mon Oct 31 13:11:00 2011
+
  [[yast]] -i libmp3lame-devel
 +
then compile mplayer again.
 +
 
 +
== Couldn't find video filter 'x264' ==
 +
Couldn't find video filter 'x264'.
 +
Failed to open the encoder.
 +
 
 +
Solution:
 +
Install x264 devel packages, re[[build]] mplayer

Latest revision as of 10:28, 1 March 2020

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 again.

Couldn't find video filter 'x264'

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

Solution: Install x264 devel packages, rebuild mplayer