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

add support for V4L2_PIX_FMT_MJPEG #39

Open
rgl opened this issue Aug 16, 2020 · 0 comments · May be fixed by #40
Open

add support for V4L2_PIX_FMT_MJPEG #39

rgl opened this issue Aug 16, 2020 · 0 comments · May be fixed by #40

Comments

@rgl
Copy link

rgl commented Aug 16, 2020

These video-capture cards support mjpeg out-of-the-box, it would be pretty nice to support that format too.

Also the http_mjpeg_streamer/webcam example should also support it, as it no longer needs to compress the image at all, it can just send the data directly from the camera do the http response.

For reference, these are the supported formats, as displayed by the example:

Available formats:
YUYV 4:2:2
Motion-JPEG
Supported frame sizes for format YUYV 4:2:2
640x480
720x480
720x576
800x600
1024x768
1280x720
1360x768
1280x960
1280x1024
1600x1200
1920x1080

I've also have more information about these cards at https:/rgl/usb-hdmi-video-capture (including v4l2-ctl --device /dev/video0 --list-formats-ext --all at https:/rgl/usb-hdmi-video-capture/blob/master/v4l-output.txt).

@rgl rgl linked a pull request Aug 16, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant