kekyo / FlashCap

Independent video frame capture library on .NET/.NET Core and .NET Framework.
Apache License 2.0
198 stars 28 forks source link

Support for AV to USB #148

Open marakhand opened 5 months ago

marakhand commented 5 months ago

I'm trying to connect to a VHS to Digital Converter device (like this device) on a Linux. The device is visible, but there are no characteristics.

foreach (var dev in devices.EnumerateDescriptors()) { Console.WriteLine($"{dev.Name}, {dev.Description}, length={dev.Characteristics.Length}"); }

03

01

02

marakhand commented 5 months ago

After a little research, it turned out that this is happening because getting VIDIOC_ENUM_FRAMEINTERVALS does not work. How can I solve this problem?

kekyo commented 5 months ago

https://github.com/kekyo/FlashCap/blob/227cca10f66e504cf3abb690fb15fe854da16825/FlashCap.Core/Devices/V4L2Devices.cs#L127

You mean that this ioctl always gives error?

marakhand commented 5 months ago

Yes. The line 150 (Console.Write) is unreachable.

image