[Libav-user] list all available formats of webcam

Hans, Sven Sven.Hans at dermalog.com
Wed Apr 17 10:09:01 EEST 2019


probably I have to implement this functionality directly with Dshow in Windows and v4l2 in Linux. So the output in the console comes from the backend and not from ffmpeg?

Mit freundlichen Grüßen / Best regards

Sven Hans
DERMALOG Identification Systems GmbH
Systems Engineer

Mittelweg 120 | 20148 Hamburg
Fon +49 40 413227 0

Fax +49-40-413227-40

Mail Sven.Hans at dermalog.com<mailto:Sven.Hans at dermalog.com>

Web www.dermalog.com<https://www.dermalog.com>

This e-mail may contain information that is confidential or proprietary to DERMALOG Identification Systems GmbH. Any unauthorized disclosure, distribution or other use is prohibited.

P Please consider the environment before printing this email
From: Libav-user <libav-user-bounces at ffmpeg.org> On Behalf Of Hristo Ivanov
Sent: Dienstag, 16. April 2019 18:46
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. <libav-user at ffmpeg.org>
Subject: Re: [Libav-user] list all available formats of webcam


I faced a similar problem:


I think there is no way to retrieve the information using the FFMPEG API.

As a workaround you can use a log call back to store the printed formats info and later parse that information.


Please share if you find a better solution.


DERMALOG Identification Systems GmbH * Mittelweg 120, 20148 Hamburg, Germany
CEO/Managing Director: Günther Mull * Commercial Register: AG Hamburg HRB 69547
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190417/6ff3c167/attachment.html>

More information about the Libav-user mailing list