From f88f0d20e439012e1a86b5ec14255a449d057200 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 28 Jan 2016 18:11:49 +0200 Subject: [PATCH] gnu: ffmpeg: Add hardware acceleration, opengl support. * gnu/packages/video.scm (ffmpeg)[inputs]: Add libvdpau, libx11, mesa. [arguments]: Add configure-flags '--enable-opengl' '--enable-x11grab'. --- gnu/packages/video.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 636f76584d..00166d5c46 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -396,9 +396,12 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") ("libcdio-paranoia" ,libcdio-paranoia) ("libquvi" ,libquvi) ("libtheora" ,libtheora) + ("libvdpau" ,libvdpau) ("libvorbis" ,libvorbis) ("libvpx" ,libvpx) + ("libx11" ,libx11) ("libx264" ,libx264) + ("mesa" ,mesa) ("openal" ,openal) ("pulseaudio" ,pulseaudio) ("soxr" ,soxr) @@ -465,7 +468,6 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") ;; --enable-libzmq enable message passing via libzmq [no] ;; --enable-libzvbi enable teletext support via libzvbi [no] ;; --enable-opencl enable OpenCL code - ;; --enable-x11grab enable X11 grabbing [no] '("--enable-avresample" "--enable-gpl" ; enable optional gpl licensed parts "--enable-shared" @@ -490,6 +492,8 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") "--enable-libxvid" "--enable-libx264" "--enable-openal" + "--enable-opengl" + "--enable-x11grab" "--enable-runtime-cpudetect"