[Ffmpeg-devel] Re: [PATCH] Configure selectable video grab format
Wed Jan 31 17:57:42 CET 2007
Ramiro Polla wrote:
> Ramiro Polla wrote:
>> Michel Bardiaux wrote:
>>> M?ns Rullg?rd wrote:
>>>> That said, I don't like the design of the grabbing code at all.
>>>> IMHO it would
>>>> be much cleaner to simply run ffmpeg -f v4l2 -i /dev/video0 or
>>>> dropping the whole concept of a default grabbing device used if no
>>>> input is
>>> FWIW I agree.
>> Me too =).
>> The code for using a default grabbing device is really buggy (the
>> grabbing interfaces depend on what has been set for output).
> It seems this would be just removing a bunch of redundant code (like
> Michael said), and making few adaptations to the existing -i code.
> One problem with -i <grab device> is when you want to use the default
> grab device. This could be accomplished by (some suggestions):
> a) using the '-' character
Please dont, '-' generally means stdin. AAMOF ffmpeg -i - < /dev/video0
*should* work as expected.
> b) making -grab mean -i <default device>.
Why do you insist on having a default grab device?
> Ramiro Polla
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel