pkgsrc-Users archive

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

Re: new option x11grab? (Re: ffmpeg x11grab)



Unidiffs, please

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
> 




Home | Main Index | Thread Index | Old Index