Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336666 - ffmpeg USE="libvpx" does not compile ffmpeg with VP8 encoding
Summary: ffmpeg USE="libvpx" does not compile ffmpeg with VP8 encoding
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 01:00 UTC by James Watt
Modified: 2010-09-10 12:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Watt 2010-09-10 01:00:22 UTC
Despite having "~amd64 vpx vorbis" in my package.keywords file for media-video/ffmpeg, ffmpeg is still compiled without VP8/libvpx encoding support.


gtwy ffmpeg # ffmpeg -codecs 2> /dev/null | grep libvpx
(no results).

Reproducible: Always

Steps to Reproduce:
1. emerge ffmpeg (with appropriate use flags and unblocked dependencies for libvpx)
2. ffmpeg -codecs 2> /dev/null | grep libvpx

Actual Results:  
No codecs are returned.

Expected Results:  
gtwy ffmpeg # ffmpeg -codecs 2> /dev/null | grep libvpx
 DEV    libvpx          libvpx VP8

I temporarily fixed the issue by editing /usr/portage/media-video/ffmpeg/ffmpeg-0.6.ebuild and adding "--enable-libvpx \" between line 230 and 231. Example of that section of code:

        ./configure \
                --prefix=/usr \
                --libdir=/usr/$(get_libdir) \
                --shlibdir=/usr/$(get_libdir) \
                --mandir=/usr/share/man \
                --enable-static --enable-shared \
                --cc="$(tc-getCC)" \
                --enable-libvpx \
                ${myconf} || die "configure failed"


After editing this, I ran these two commands:

ebuild /usr/portage/media-video/ffmpeg/ffmpeg-0.6.ebuild digest
emerge ffmpeg
Comment 1 James Watt 2010-09-10 12:58:49 UTC
Duhh... I added the USE flags to package.keywords. I needed to add them to package.use.