[FFmpeg-devel] Notes about avdevice

Michael Niedermayer michaelni at gmx.at
Sun Nov 25 17:41:05 CET 2012


On Sun, Nov 25, 2012 at 05:07:16PM +0100, Reimar Döffinger wrote:
> On Sun, Nov 25, 2012 at 04:31:34PM +0100, Stefano Sabatini wrote:
> > On date Sunday 2012-11-25 13:59:36 +0100, Michael Niedermayer encoded:
> > > On Sun, Nov 25, 2012 at 01:47:37PM +0100, Reimar Döffinger wrote:
> > [...]
> > > > 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
> > 
> > Maybe something like a query_params() callback defined on the device
> > in this case, since it will be device-specific.
> > 
> > I mean something like:
> > avdevice_query_params(devctx, &out, "list_devices", args?);
> 
> I maybe shouldn't speak up so much since I have no intention
> of implementing it and really don't want to discourage anyone
> to just do _something_, but I think it would be preferable
> to have a function that works on generic AVOptions, not just
> AVDevice.

yes, see my try i just posted :"[FFmpeg-devel] [PATCH 1/2] opt: Add support to query ranges"


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121125/b4da904f/attachment.asc>


More information about the ffmpeg-devel mailing list