Skip to content

Compress USB Camera Image #20

@flynn248

Description

@flynn248

The USB camera image is currently being saved as an uncompressed image array. This causes the files to be larger than if the video stream is capturing a compressed image. A compressed image is able to be uncompressed to represent the full image and this method uses less storage and potentially less processing power. The current image is being captured as MJPEG. It may be better to capture this in H264 format, but I am unsure.

The file that would need to be modified is the sony_cam.py file.

To list the possible formats for a video device, use
$ v4l2-ctl --info -d /dev/video3 --list-formats-ext
This example assumes the device is on video poet 3. The list of video devices can be seen by using $ ls /dev/video then hit <tab> twice to list the possible video ports.

Metadata

Metadata

Assignees

Labels

developmentfoundational enhancementenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions