At Thu, 3 Dec 2009 13:15:09 +0100, 'Joerg Sonnenberger' wrote: > > Unidiffs, please of course. But what about having a new option or not? Best regards, Marko Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/Makefile,v retrieving revision 1.54 diff -u -r1.54 Makefile --- Makefile 25 Sep 2009 11:10:21 -0000 1.54 +++ Makefile 3 Dec 2009 13:27:50 -0000 @@ -11,6 +11,8 @@ CONFIGURE_ARGS+= --enable-avfilter \ --enable-avfilter-lavf \ --enable-postproc \ + --enable-x11grab \ + --enable-gpl \ --enable-libvorbis \ --enable-libmp3lame Index: Makefile.common =================================================================== RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/Makefile.common,v retrieving revision 1.4 diff -u -r1.4 Makefile.common --- Makefile.common 30 Oct 2009 12:40:27 -0000 1.4 +++ Makefile.common 3 Dec 2009 13:27:50 -0000 @@ -54,5 +54,7 @@ mkdir ${WRKSRC}/tmp .include "../../mk/pthread.buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXvMC/buildlink3.mk" .include "../../devel/libgetopt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" > > On Wed, Dec 02, 2009 at 08:51:08PM -0400, Marko Schütz wrote: > > I looked at the package a little: enabling desktop recording for > > ffmpeg amounts to two additional CONFIGURE_ARGS and two additional > > .includes: > > > > Index: Makefile > > =================================================================== > > RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/Makefile,v > > retrieving revision 1.54 > > diff -r1.54 Makefile > > 13a14,15 > > > --enable-x11grab \ > > > --enable-gpl \ > > > > Index: Makefile.common > > =================================================================== > > RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/Makefile.common,v > > retrieving revision 1.4 > > diff -r1.4 Makefile.common > > 56a57,58 > > > .include "../../x11/libX11/buildlink3.mk" > > > .include "../../x11/libXvMC/buildlink3.mk" > > > > Should there be another option for ffmpeg e.g. x11grab? > > > > Best regards, > > > > Marko > > > > At Mon, 30 Nov 2009 15:33:00 -0400, > > Marko Schütz wrote: > > > > > > I just noticed that ffmpeg can grab the xserver output. When trying > > > > > > X11 grabbing > > > > > > FFmpeg can grab the X11 display. > > > > > > ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg > > > > > > from the man page: > > > > > > Unknown input or output format: x11grab > > > > > > I checked and it seems that x11grab is disabled by default. > > > > > > Is there a reason why ffmpeg shouldn't be compiled with x11grab > > > support in pkgsrc? > > > > > > Best regards, > > > > > > Marko > > > >
Attachment:
pgplNydqAoWYE.pgp
Description: PGP signature