💾 Archived View for freeshell.de › tldr › v4l2-ctl.gmi captured on 2022-06-11 at 23:57:13. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Control video devices.
v4l2-ctl --list-devices
v4l2-ctl --list-formats-ext
v4l2-ctl --list-formats-ext --device {path/to/video_device}
v4l2-ctl --all --device {path/to/video_device}
v4l2-ctl --device {path/to/video_device} --set-fmt-video=width={width},height={height},pixelformat=MJPG --stream-mmap --stream-to={path/to/output.jpg} --stream-count=1
v4l2-ctl --device {path/to/video_device} --set-fmt-video=width={width},height={height},pixelformat={format} --stream-mmap --stream-to={path/to/output} --stream-count={number_of_frames_to_capture}
v4l2-ctl --list-ctrls --device {/path/to/video_device}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).