Last active
July 28, 2020 13:12
-
-
Save KaairaGupta/7ed600af2e94368e4661bf94847a5a90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
media-ctl -d /dev/media0 -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]' | |
media-ctl -d /dev/media0 -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]' | |
media-ctl -d /dev/media0 -V '"Sensor B":0[fmt:SBGGR8_1X8/640x480]' | |
media-ctl -d /dev/media0 -V '"Debayer B":0[fmt:SBGGR8_1X8/640x480]' | |
media-ctl -d /dev/media0 -V '"Scaler":0[fmt:RGB888_1X24/640x480]' | |
media-ctl -d /dev/media0 -V '"Scaler":1[fmt:RGB888_1X24/1920x1440]' | |
v4l2-ctl -d /dev/video2 -v width=1920,height=1440 | |
v4l2-ctl -d /dev/video0 -v pixelformat=BA81 | |
v4l2-ctl -d /dev/video1 -v pixelformat=BA81 | |
v4l2-ctl -d /dev/v4l-subdev0 -c brightness=222 | |
v4l2-ctl --stream-mmap --stream-count=10 -d /dev/video2 --stream-to=/tmp/test0.raw & v4l2-ctl --stream-mmap --stream-count=10 -d /dev/video0 --stream-to=/tmp/test1.raw | |
ffplay -loglevel warning -v info -f rawvideo -pixel_format rgb24 -video_size "1920x1080" /tmp/test0.raw | |
ffplay -loglevel warning -v info -f rawvideo -pixel_format bayer_bggr8 -video_size "640x480" /tmp/test1.raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment