Skip to content

camera capture not working in MJPEG mode #46

@gsibaldi

Description

@gsibaldi

Hello, I'm trying to work with Processing3 on Windows 10 and an USB camera which can be set to stream in YUV or MJPEG mode.
The YUV mode works nicely but MJPEG does not work at all: all camera modes and resolutions are listed in cameras[] array, but when I choose one of the MJPEG modes camera.available() is false and no image data is streaming.
This is a huge problem for me because YUV streams have very low frame rates and great latency, MJPEG streams instead can be set to work up to 120 fps and mostly unnoticeable latency.
The DirectShow preview utility works normally with all MJPEG streaming modes, the Windows 10 default camera application too, and also Adobe Air AS3 applications I developed in the past are able to get the MJPEG stream. Anyone knows how to solve this? Thank you in advance...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions