Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpeg-2.0.1 with OpenCL, anyone?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2364
Location: UK

PostPosted: Tue Sep 17, 2013 1:02 am    Post subject: ffmpeg-2.0.1 with OpenCL, anyone? Reply with quote

It looks like it's currently only used to speed up some video filters. Could someone with a proprietary driver installed try the ebuild patch below? It won't build here with Mesa as it seems to need a higher version of OpenCL than that provides.

Code:
--- a/media-video/ffmpeg/ffmpeg-2.0.1.ebuild
+++ b/media-video/ffmpeg/ffmpeg-2.0.1.ebuild
@@ -100,6 +100,7 @@ RDEPEND="
        libv4l? ( media-libs/libv4l )
        modplug? ( media-libs/libmodplug )
        openal? ( >=media-libs/openal-1.1 )
+       opencl? ( virtual/opencl )
        openssl? ( dev-libs/openssl )
        opus? ( media-libs/opus )
        pulseaudio? ( media-sound/pulseaudio )
@@ -137,6 +138,7 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl )
        libv4l? ( v4l )
        fftools_cws2fws? ( zlib )
+       opencl? ( threads )
        test? ( encode )"
 
 S=${WORKDIR}/${P/_/-}
@@ -159,7 +161,7 @@ src_configure() {
        # This will feed configure with $(use_enable foo bar)
        # or $(use_enable foo foo) if no :bar is set.
        local ffuse="bzip2:bzlib cpudetection:runtime-cpudetect debug doc
-                            gnutls hardcoded-tables iconv network openssl sdl:ffplay vaapi vdpau zlib"
+                            gnutls hardcoded-tables iconv network opencl openssl sdl:ffplay vaapi vdpau zlib"
        use openssl && myconf="${myconf} --enable-nonfree"
 
        # Encoders
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum