-
Notifications
You must be signed in to change notification settings - Fork 14
Use v4l2 ioctls directly #10
Comments
I totally agree and knew this when I was working with PRs are welcome! |
Actually, I decided I'm going to implement this now instead of having to do something in Python only to replace it with a better solution. I already have working C code for getting the webcam formats, now I just need to get the dimensions and FPS of each then implement a function to get the best format. |
👍
Is the plan to then construct an appropriate GStreamer pipeline accordingly? |
Yes, I'm currently working on this C program. |
Does this mean that |
Currently the plan for the C program is to implement the webcam best format setter program as well as something to call to replace instances of |
v4l2-ctl
’s output format appears to be meant for human use, rather than programmatic use. A better approach would be to use the v4l2 ioctls directly.The text was updated successfully, but these errors were encountered: