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

Compress USB Camera Image #20

Open
flynn248 opened this issue Sep 21, 2021 · 0 comments
Open

Compress USB Camera Image #20

flynn248 opened this issue Sep 21, 2021 · 0 comments
Assignees
Labels
development foundational enhancement enhancement New feature or request

Comments

@flynn248
Copy link
Collaborator

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.

@flynn248 flynn248 added enhancement New feature or request development foundational enhancement labels Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development foundational enhancement enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants