[FFmpeg-devel] [PATCH 10/35] fftools: provide media type info for devices
Diederick C. Niehorster
dcnieho at gmail.com
Tue Jun 8 23:10:43 EEST 2021
On Tue, Jun 8, 2021 at 1:57 PM Nicolas George <george at nsup.org> wrote:
>
> The feature looks useful. But the printing must go to stdout, not to
> logging, because it is meant to be readable by scripts.
Done. Only problem is that now a device of mine that should be called
"Microphone Array (Intel® Smart Sound Technology (Intel® SST))" is
instead printed as "Intel® Smart Sound Technology (Intel® SST)".
Since devices are selected by name for some avdevices (dshow), thats
an issue.
Googling tells me that printing UTF-8 (which is whats returned by
dshow's get_device_list) with printf is complicated to say the least
on Windows. It all works when logging because log.c has implemented
win_console_puts(), which looks like it would be easy to make
available more broadly.
Do you see a solution that would allow printing the device name correctly?
Thanks!
Dee
More information about the ffmpeg-devel
mailing list