Following API allows user to probe device capabilities (supported codecs, pixel formats, sample formats, resolutions, channel counts, etc). More...
#include <avdevice.h>
Following API allows user to probe device capabilities (supported codecs, pixel formats, sample formats, resolutions, channel counts, etc).
It is build on top op AVOption API. Queried capabilities make it possible to set up converters of video or audio parameters that fit to the device.
List of capabilities that can be queried:
Value of the capability may be set by user using av_opt_set() function and AVDeviceCapabilitiesQuery object. Following queries will limit results to the values matching already set capabilities. For example, setting a codec may impact number of formats or fps values returned during next query. Setting invalid value may limit results to zero.
Example of the usage basing on opengl output device:
Structure describes device capabilities.
It is used by devices in conjunction with av_device_capabilities AVOption table to implement capabilities probing API based on AVOption API. Should not be used directly.
Definition at line 400 of file avdevice.h.
Definition at line 401 of file avdevice.h.
Definition at line 402 of file avdevice.h.
Definition at line 403 of file avdevice.h.
Definition at line 404 of file avdevice.h.
Definition at line 405 of file avdevice.h.
Definition at line 406 of file avdevice.h.
Definition at line 407 of file avdevice.h.
Definition at line 408 of file avdevice.h.
Definition at line 409 of file avdevice.h.
Definition at line 410 of file avdevice.h.
Definition at line 411 of file avdevice.h.
Definition at line 412 of file avdevice.h.
Definition at line 413 of file avdevice.h.