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-dev+bounces-45190-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q6TGT-0000vL-TM
	for garchives@archives.gentoo.org; Sun, 03 Apr 2011 19:47:14 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 201401C07A;
	Sun,  3 Apr 2011 19:47:05 +0000 (UTC)
Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179])
	by pigeon.gentoo.org (Postfix) with ESMTP id 756541C028
	for <gentoo-dev@lists.gentoo.org>; Sun,  3 Apr 2011 19:46:39 +0000 (UTC)
Received: by pxi2 with SMTP id 2so1566857pxi.10
        for <gentoo-dev@lists.gentoo.org>; Sun, 03 Apr 2011 12:46:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:cc:content-type
         :content-transfer-encoding;
        bh=RGjjciWwdo8yctcXnuf5LQP8mtXqw/GOd+y3ASTEy2o=;
        b=BcfcxBEjIPVNqq3YsCF6EAS7ehIvI60gK4u18DdOEaaYO+5LjT7i2ZDqtBuHNTInDX
         pG0i5ua7hbhHIXhiIB6dL6qp9i6R48QH2SXMptLtmGiMaZrTidsZrzNA/Kkm0eZdA4iG
         OK/Qifgy56KkGrYZNvcmcYex3z954dgGV1M5U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc:content-type:content-transfer-encoding;
        b=vhSA5KmbwFRB7d+U2T1zrTGNuXhhUzlMRuOVgltQp4lVTlDOt2Yo66ydEoWMt6nN3L
         lIACLquDZfd4ghpt0AkslZ7Dxxd3RVX97vVk4Ex+50AWcb9b2V+BcK0/+MGTis8+4ov3
         mZzcaKATQN9ZClOFuJ0lD9yQh08kPgB4qyApY=
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.142.152.34 with SMTP id z34mr2389899wfd.197.1301859998781;
 Sun, 03 Apr 2011 12:46:38 -0700 (PDT)
Received: by 10.142.49.9 with HTTP; Sun, 3 Apr 2011 12:46:38 -0700 (PDT)
In-Reply-To: <201104021641.19803.aballier@gentoo.org>
References: <4D89FEC1.1030905@gentoo.org>
	<4D942F2E.4060409@gentoo.org>
	<4D96F44E.5000402@gentoo.org>
	<201104021641.19803.aballier@gentoo.org>
Date: Sun, 3 Apr 2011 15:46:38 -0400
Message-ID: <BANLkTimD2zt0xUGDQ8DHzW3K178TqTinVQ@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: virtual/ffmpeg and media-video/libav
From: Mike Gilbert <floppymaster@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: Alexis Ballier <aballier@gentoo.org>, =?UTF-8?B?UGF3ZcWCIEhhamRhbiwgSnIu?= <phajdan.jr@gentoo.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 6c1896efe6e1d63570290ff252c56225

On Sat, Apr 2, 2011 at 3:41 PM, Alexis Ballier <aballier@gentoo.org> wrote:
> On Saturday, April 02, 2011 07:02:54 AM Pawe=C5=82 Hajdan, Jr. wrote:
>> On 3/31/11 9:37 AM, Tom=C3=A1=C5=A1 Chv=C3=A1tal wrote:
>> > Ok two versioned virtuals (0.5 0.6) are now in the tree if people need
>> > to specify the version.
>>
>> Thank you, but it's still not enough for chromium. The virtual uses
>>
>> >=3Dffmpeg-0.6, and chromium is known to be broken with <ffmpeg-0.6_p257=
67.
>>
>> We need to require >=3Dffmpeg-0.6_p25767, not just 0.6.
>>
>> By the way, I still didn't have time to test with libav, but it seems
>> that it's expected to be compatible.
>
>
> iirc, this dep in chromium is due to the need for libavcore, but this lib=
 has
> been merged back to libavutil in latest snapshots (and thus chromium fail=
s to
> build); if chromium goes back to look for the functions in libavutil, you=
 may
> have chances to be compatible with 0.6
>

I did some testing for this; the results are not ideal. See bug 361665 [1].

Basically, Chromium needs an ffmpeg (or libav) version which includes
the function introduced by the following commit. ffmpeg-0.6 and
libav-0.6.2 don't work.

commit 6f84cd127947394e53a6621e9ed077517df5a6d2
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date:   Tue Nov 2 22:20:49 2010 +0000

    Add av_get_bits_per_sample_fmt() to libavcore/samplefmt.h and
    deprecate av_get_bits_per_sample_format().

    Originally committed as revision 25654 to svn://svn.ffmpeg.org/ffmpeg/t=
runk

[1] https://bugs.gentoo.org/show_bug.cgi?id=3D361665