[FFmpeg-devel] Notes about avdevice
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Nov 25 14:04:56 CET 2012
On Sun, Nov 25, 2012 at 01:59:36PM +0100, Michael Niedermayer wrote:
> On Sun, Nov 25, 2012 at 01:47:37PM +0100, Reimar Döffinger wrote:
> > On Sun, Nov 25, 2012 at 07:20:00AM -0500, Don Moir wrote:
> > > >On Sun, Nov 25, 2012 at 03:38:20AM -0500, Don Moir wrote:
> > > >>>Don Moir <donmoir <at> comcast.net> writes:
> [...]
> > > Cameras
> > > get plugged in and unplugged and would need to update list
> > > periodically. I am not going to do something like try to read the
> > > av_log just so I can use avdevice. But getting the list in a modern
> > > way is easy along with the device resolutions and should be
> > > implemented in a modern way instead of something that goes back 30
> > > years.
> >
> > If it's so easy then design and propose an API. Hyperbole just
> > pisses people off and doesn't get anything done.
>
> > My suggestion would be to think if the avoption stuff could be extended
> > to query valid option values even for more complex options like a
> > device parameter.
>
> Thats an interresting idea
Note that for handling the resolution case you would have to be able
to specify some options while querying the other ones.
Admittedly some special-case query functions are probably a quicker
and easier to implement solution...
More information about the ffmpeg-devel
mailing list