[Ffmpeg-devel] [PATCH] [RFC] Preparing for new grab interface

Michael Niedermayer michaelni
Wed Jan 24 00:10:13 CET 2007


On Tue, Jan 23, 2007 at 02:25:53PM +0100, Baptiste Coudurier wrote:
> Hi
> ramiro at lisha.ufsc.br wrote:
> > Hello,
> > 
> > I'm writing a new grabbing selection interface. As a first step, attached
> > patch moves the #ifdef jungle from ffmpeg.c to the configure script. Also
> > allows the user to specify a default grab format in configure.
> > 
> > Additionally, I plan to:
> > - Add a -gv option to specify video grab format (and -ga for audio). This
> > removes the need for x11: from the grab device, and moves it to "-gv
> > x11grab".
> > - Add a -gi option (with no args) to specify a grab input, much like the
> > -i option. So the device is treated as an input file at that point of the
> > command line, instead of having to be treated by prepare_grab. This way,
> > it can specify the size it wants just like a normal file, instead of
> > having to rely on -s for the output file.
> > 
> > Please tell me if any this would be welcome, or if I'm just wasting my time.

forget adding more command line options to specify grab devices and formats
also look at ffmpeg.c first (grep for grab) theres already lots of redundant
grabbing options there which rather should be removed instead of adding yet

logically correct is:

ffmpeg -f x11 -i some_nice_syntax_to_specify_the_display_and_location
ffmpeg -f v4l -i /dev/video1

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070124/33728117/attachment.pgp>

More information about the ffmpeg-devel mailing list