MJPG output from webcam (MATLAB Support Package for USB Webcams)

11 views (last 30 days)
Is it somehow possible to acquire images in MJPG instead of YUV format with the snapshot function?
I need a higher framerate from my webcam. According to the datasheet YUV is 5 fps@1600x1200 while MJPG is 15 fps@1600x1200.

Answers (2)

yanqi liu
yanqi liu on 5 Nov 2021
sir,i think may be consider the camera device config
  10 Comments
William Thielicke
William Thielicke on 6 Nov 2021
Edited: William Thielicke on 6 Nov 2021
@yanqi liu: The application is not for me. It is for the users of a popular toolbox. But with a random and apparently undocumented change of MATLABs behaviour, this will be pretty hard.
Jerico
Jerico on 7 Feb 2023
Edited: Jerico on 7 Feb 2023
Hi has anyone resolved this problem? I'm having the exact problem now. I'm using a logitech brio 4k and I can't seems to be available to load a 4k resolutions due to this problem. thanks in advance

Sign in to comment.


Vineeth Nair
Vineeth Nair on 6 Jun 2024
The MATLAB Support Package for USB Webcams supports the MJPEG format from R2023a release.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!