Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppymaster@×××××.com>
To: gentoo-dev@l.g.o
Cc: Alexis Ballier <aballier@g.o>, "Paweł Hajdan, Jr." <phajdan.jr@g.o>
Subject: Re: [gentoo-dev] Re: virtual/ffmpeg and media-video/libav
Date: Sun, 03 Apr 2011 19:47:14
Message-Id: BANLkTimD2zt0xUGDQ8DHzW3K178TqTinVQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: virtual/ffmpeg and media-video/libav by Alexis Ballier
1 On Sat, Apr 2, 2011 at 3:41 PM, Alexis Ballier <aballier@g.o> wrote:
2 > On Saturday, April 02, 2011 07:02:54 AM Paweł Hajdan, Jr. wrote:
3 >> On 3/31/11 9:37 AM, Tomáš Chvátal wrote:
4 >> > Ok two versioned virtuals (0.5 0.6) are now in the tree if people need
5 >> > to specify the version.
6 >>
7 >> Thank you, but it's still not enough for chromium. The virtual uses
8 >>
9 >> >=ffmpeg-0.6, and chromium is known to be broken with <ffmpeg-0.6_p25767.
10 >>
11 >> We need to require >=ffmpeg-0.6_p25767, not just 0.6.
12 >>
13 >> By the way, I still didn't have time to test with libav, but it seems
14 >> that it's expected to be compatible.
15 >
16 >
17 > iirc, this dep in chromium is due to the need for libavcore, but this lib has
18 > been merged back to libavutil in latest snapshots (and thus chromium fails to
19 > build); if chromium goes back to look for the functions in libavutil, you may
20 > have chances to be compatible with 0.6
21 >
22
23 I did some testing for this; the results are not ideal. See bug 361665 [1].
24
25 Basically, Chromium needs an ffmpeg (or libav) version which includes
26 the function introduced by the following commit. ffmpeg-0.6 and
27 libav-0.6.2 don't work.
28
29 commit 6f84cd127947394e53a6621e9ed077517df5a6d2
30 Author: Stefano Sabatini <stefano.sabatini-lala@×××××.it>
31 Date: Tue Nov 2 22:20:49 2010 +0000
32
33 Add av_get_bits_per_sample_fmt() to libavcore/samplefmt.h and
34 deprecate av_get_bits_per_sample_format().
35
36 Originally committed as revision 25654 to svn://svn.ffmpeg.org/ffmpeg/trunk
37
38 [1] https://bugs.gentoo.org/show_bug.cgi?id=361665