Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for AV to USB #148

Open
marakhand opened this issue May 31, 2024 · 3 comments
Open

Support for AV to USB #148

marakhand opened this issue May 31, 2024 · 3 comments
Labels
question Further information is requested

Comments

@marakhand
Copy link

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 marakhand changed the title Support Support for AV to USB May 31, 2024
@kekyo kekyo added the question Further information is requested label May 31, 2024
@marakhand
Copy link
Author

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
Copy link
Owner

kekyo commented Jun 4, 2024

return ioctl(fd, Interop.VIDIOC_ENUM_FRAMEINTERVALS, frmivalenum) == 0 ?

You mean that this ioctl always gives error?

@marakhand
Copy link
Author

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants