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'.
This commit is contained in:
Efraim Flashner 2016-01-28 18:11:49 +02:00
parent 8a76e5fff2
commit f88f0d20e4

View file

@ -396,9 +396,12 @@ (define-public ffmpeg
("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 @@ (define-public ffmpeg
;; --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 @@ (define-public ffmpeg
"--enable-libxvid"
"--enable-libx264"
"--enable-openal"
"--enable-opengl"
"--enable-x11grab"
"--enable-runtime-cpudetect"