From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-109060-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NsE3S-0006tT-2K
	for garchives@archives.gentoo.org; Thu, 18 Mar 2010 11:38:23 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 119ACE07A9;
	Thu, 18 Mar 2010 11:38:04 +0000 (UTC)
Received: from der-root.de (der-root.de [78.46.36.110])
	by pigeon.gentoo.org (Postfix) with ESMTP id D8464E07A9
	for <gentoo-user@lists.gentoo.org>; Thu, 18 Mar 2010 11:38:03 +0000 (UTC)
Received: from [78.46.36.110] (der-root [78.46.36.110])
	(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by der-root.de (Postfix) with ESMTPSA id E4883220C044
	for <gentoo-user@lists.gentoo.org>; Thu, 18 Mar 2010 12:38:01 +0100 (CET)
Message-ID: <4BA21099.3080200@smash-net.org>
Date: Thu, 18 Mar 2010 12:38:01 +0100
From: =?ISO-8859-1?Q?Norman_Rie=DF?= <norman@smash-net.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mplayer: xvid and lavc
References: <20100318122032.43c3984d@lx-arnau.pic.es>
In-Reply-To: <20100318122032.43c3984d@lx-arnau.pic.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 8b9ca1ac-d971-48bd-83bd-6114c21a44df
X-Archives-Hash: 0fd32848e716023ef5e762e8ceba9fb7

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