Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 305209

Summary: media-video/ffmpeg vaapi support
Product: Gentoo Linux Reporter: Sergii Parubochiy <s.parubochiy>
Component: [OLD] UnspecifiedAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: enhancement CC: eugene.shalygin, nikoli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 308871    
Bug Blocks:    
Attachments: possible variant of adding vaapi to ffmpeg
x11-libs/libva/libva-1.0.1.ebuild

Description Sergii Parubochiy 2010-02-15 09:33:24 UTC
Adding --enable-vaapi to possible ffmpeg configuration.

Reproducible: Always
Comment 1 Sergii Parubochiy 2010-02-15 09:34:54 UTC
Created attachment 219749 [details]
possible variant of adding vaapi to ffmpeg
Comment 2 Sergii Parubochiy 2010-02-15 09:36:25 UTC
$ emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31.12v4 x86_64)
=================================================================
System uname: Linux-2.6.31.12v4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 14 Feb 2010 19:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/perl-experimental /usr/local/portage/layman/arcon /usr/local/portage/layman/xwing"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 avahi bash-completion bzip2 cairo cdparanoia cdr cgi cli cracklib crypt css cups cxx dbus directfb djvu dri dvd dvdr encode exif ffmpeg flac fortran ftp gdbm gif gimp glut gnuplot gphoto2 gpm gtk hal iconv icq ieee1394 jabber jpeg jpeg2k lame latex matroska mdnsresponder-compat mmx modules mp3 mpeg mudflap multilib ncurses nls nocd nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png pppd python raw rdesktop readline reflection rss samba session smp spl sse sse2 ssl svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vaapi vcd videos vim-syntax vnc vorbis wifi x264 xml xorg xulrunner xv xvba xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Sergii Parubochiy 2010-02-15 09:38:19 UTC
Compiled fine.
I'm new with making ebuilds, but really wanted to share.
Any critic is welcome. 
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-02-17 11:24:39 UTC
Created attachment 219979 [details]
x11-libs/libva/libva-1.0.1.ebuild

vaapi (x11-libs/libva) ebuild for testing, last commit was ~2 months ago, so not much activity there
Comment 5 Luca Barbato gentoo-dev 2010-02-17 11:50:44 UTC
there is lots of work in a separate branch related to ati support to my knowledge, maybe we could lump those improvement together.
Comment 6 Luca Barbato gentoo-dev 2010-03-01 15:18:48 UTC
we'd probably provide the libva and companions from

http://www.splitted-desktop.com/~gbeauchesne/
Comment 7 Sergii Parubochiy 2010-03-01 15:47:19 UTC
Actually that was the source where I took libva.

But since there is seems to be a repository with more new 1.0.1 version available (http://cgit.freedesktop.org/libva/).

It might be reasonable to use sources from there?
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 11:48:48 UTC
Comment on attachment 219979 [details]
x11-libs/libva/libva-1.0.1.ebuild

libva in bug 308871 looks more up to date (or sane)
Comment 9 Alexis Ballier gentoo-dev 2010-05-11 10:20:32 UTC
patch from bug #308857 merged in 9999 -> fixed