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

Baptiste Coudurier baptiste.coudurier
Tue Jan 23 14:25:53 CET 2007


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.

One idea: what about defining an uri ? Would it be dangerous ?
I would be accomodated with something like:

ffmpeg -i x11://
ffmpeg -i v4l2://

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list