Example usage how to get rough timing debug information
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
$ v4l2-ctl --stream-mmap --stream-count=2 --verbose | |
VIDIOC_QUERYCAP: ok | |
VIDIOC_REQBUFS: ok | |
VIDIOC_QUERYBUF: ok | |
VIDIOC_QBUF: ok | |
VIDIOC_QUERYBUF: ok | |
VIDIOC_QBUF: ok | |
VIDIOC_QUERYBUF: ok | |
VIDIOC_QBUF: ok | |
VIDIOC_QUERYBUF: ok | |
VIDIOC_QBUF: ok | |
VIDIOC_STREAMON: ok | |
Index : 0 | |
Type : Video Capture | |
Flags : mapped | |
Field : None | |
Sequence : 0 | |
Length : 512000 | |
Bytesused: 512000 | |
Timestamp: 115759.342487s (Monotonic, Start-of-Exposure) | |
Index : 1 | |
Type : Video Capture | |
Flags : mapped | |
Field : None | |
Sequence : 2 | |
Length : 512000 | |
Bytesused: 512000 | |
Timestamp: 115759.406629s (Monotonic, Start-of-Exposure) | |
VIDIOC_STREAMOFF: ok | |
$ ./v4l2-ctl --version && ./v4l2-ctl --stream-mmap --stream-count=10 --verbose | |
v4l2-ctl 1.21.0-4700 | |
VIDIOC_QUERYCAP: ok | |
VIDIOC_REQBUFS returned 0 (Success) | |
VIDIOC_QUERYBUF returned 0 (Success) | |
VIDIOC_QUERYBUF returned 0 (Success) | |
VIDIOC_QUERYBUF returned 0 (Success) | |
VIDIOC_QUERYBUF returned 0 (Success) | |
VIDIOC_QBUF returned 0 (Success) | |
VIDIOC_QBUF returned 0 (Success) | |
VIDIOC_QBUF returned 0 (Success) | |
VIDIOC_QBUF returned 0 (Success) | |
VIDIOC_STREAMON returned 0 (Success) | |
cap dqbuf: 0 seq: 0 bytesused: 512000 ts: 116035.356400 delta: 116035356.400 ms (ts-monotonic, ts-src-soe) | |
cap dqbuf: 1 seq: 2 bytesused: 512000 ts: 116035.424378 dropped: 1 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 2 seq: 3 bytesused: 512000 ts: 116035.456412 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 3 seq: 4 bytesused: 512000 ts: 116035.492398 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 0 seq: 5 bytesused: 512000 ts: 116035.528416 fps: 29.07 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 1 seq: 6 bytesused: 512000 ts: 116035.560437 fps: 29.41 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 2 seq: 7 bytesused: 512000 ts: 116035.596393 fps: 29.17 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 3 seq: 8 bytesused: 512000 ts: 116035.632404 fps: 28.99 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 0 seq: 9 bytesused: 512000 ts: 116035.668433 fps: 28.84 (ts-monotonic, ts-src-soe) | |
cap dqbuf: 1 seq: 10 bytesused: 512000 ts: 116035.700420 fps: 29.07 (ts-monotonic, ts-src-soe) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment