aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-01-28 18:11:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2016-01-28 18:14:58 +0200
commitf88f0d20e439012e1a86b5ec14255a449d057200 (patch)
tree2007826f6cdf13d7de91006c7b92894da9042e33
parent8a76e5fff253ad6db9f2139e4b073a5dcc5d6da7 (diff)
downloadpatches-f88f0d20e439012e1a86b5ec14255a449d057200.tar
patches-f88f0d20e439012e1a86b5ec14255a449d057200.tar.gz
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'.
-rw-r--r--gnu/packages/video.scm6
1 files changed, 5 insertions, 1 deletions
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"