pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/ffmpeg4



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Dec  2 17:11:16 UTC 2018

Modified Files:
        pkgsrc/multimedia/ffmpeg4: options.mk

Log Message:
ffmpeg4: add pulseaudio option to enable libpulse support.

With this option and xcb option (for x11grab) I can capture X11 applications
that use pulseaudio by the following ffmpeg4 command options:
% ffmpeg4 -y -f x11grab -video_size 800x600 -r 24 -i :0.0+0,0 \
  -f pulse -i oss_output.audio.monitor -pix_fmt yuv420p capture.mp4


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/multimedia/ffmpeg4/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg4/options.mk
diff -u pkgsrc/multimedia/ffmpeg4/options.mk:1.8 pkgsrc/multimedia/ffmpeg4/options.mk:1.9
--- pkgsrc/multimedia/ffmpeg4/options.mk:1.8    Wed Nov  7 13:10:01 2018
+++ pkgsrc/multimedia/ffmpeg4/options.mk        Sun Dec  2 17:11:16 2018
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2018/11/07 13:10:01 ryoon Exp $
+# $NetBSD: options.mk,v 1.9 2018/12/02 17:11:16 tsutsui Exp $
 
 # Global and legacy options
 
@@ -7,7 +7,7 @@ PKG_OPTIONS_GROUP.ssl=          gnutls openssl
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ffmpeg4
 PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype \
-                       gnutls lame libvpx opencore-amr opus rpi \
+                       gnutls lame libvpx opencore-amr opus pulseaudio rpi \
                        rtmp tesseract theora vorbis x11 x264 x265 xcb xvid
 PKG_SUGGESTED_OPTIONS= lame ass av1 bluray freetype fontconfig libvpx \
                        openssl theora vorbis x11 x264 xvid
@@ -116,6 +116,14 @@ CONFIGURE_ARGS+=   --enable-openssl
 CONFIGURE_ARGS+=       --disable-openssl
 .endif
 
+# pulseaudio option
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+=       --enable-libpulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-libpulse
+.endif
+
 # RTMP support via librtmp
 .if !empty(PKG_OPTIONS:Mrtmp)
 CONFIGURE_ARGS+=       --enable-librtmp



Home | Main Index | Thread Index | Old Index