[FFmpeg-devel] [PATCH 1/4] lavf: add probe device API
Lukasz M
lukasz.m.luki at gmail.com
Tue Nov 12 00:14:37 CET 2013
On 12 November 2013 00:11, Lukasz Marek <lukasz.m.luki at gmail.com> wrote:
> Adds new API dedicated for output devices.
>
> This API allows to
> - Test device with provided configuration
> Audio devices params:
> - device name
> - codec
> - sample format
> - channel count
> - channels layout
> - sample rate
> Video devices params:
> - device name
> - codec
> - pixel format
> - width (minimal width as input and real width as output)
> - height (minimal height as input and real height as output)
>
> - Get all supported configurations matching provided filter.
> Filter may contain any subset of Audio/Video device params.
>
> Behaviour of probe function can also be modified by flags.
>
> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> ---
> libavformat/avformat.h | 97
> +++++++++++++++++++++++++++++++++++++++++++++++-
> libavformat/utils.c | 72 +++++++++++++++++++++++++++++++++++
> 2 files changed, 167 insertions(+), 2 deletions(-)
>
Hi,
Treat is as RFC. It is a continuation of
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-November/150496.html
I also pushed this commit to https://github.com/lukaszmluki/ffmpeg/ with
some following that implements this callback for pulse_audio_enc and
fbdev_enc
I haven't sent it to list because I still want to recheck it, but API
itself be discussed now.
Best Regards,
Lukasz Marek
More information about the ffmpeg-devel
mailing list