Am 03/18/10 12:20, schrieb Arnau Bria:
Hi all,
I'm trying to add some sub to a video with menconder (following a
receipt).
I run something like:
mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts
vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o
video_final.avi
but I get the error:
[...]
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Cannot find codec 'xvid' in libavcodec...
Couldn't open video filter 'lavc'.
Failed to open the encoder.
I though that building mplayer with xvid support should be enough:
$ eix media-video/mplayer
[I] media-video/mplayer (...)
but seems that not it isn't.
and don't know what lavc is...
anyone could tell me what package/s are missing in my system?
TIA
Hello,
i allways had problems with lavc so i used xvid in mplayer directly:
mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame
-lameopts abr:br=abitrate -o result_path
Regards
Norman