htcohio wrote: ↑Thu Oct 17, 2019 1:00 pm
Are you able to stream 720p H.264 60fps?
Likely.
I did run list_format for UC-554 13MP rolling shutter IMX135 first, these are the available modes:
Code: Select all
mode: 0, width: 1280, height: 720, pixelformat: pRAA, desc: (null)
mode: 1, width: 1920, height: 1080, pixelformat: pRAA, desc: (null)
mode: 2, width: 2080, height: 1536, pixelformat: pRAA, desc: (null)
mode: 3, width: 3264, height: 2464, pixelformat: pRAA, desc: (null)
mode: 4, width: 4192, height: 3120, pixelformat: pRAA, desc: (null)
For the UC-572 16MP rolling shutter
IMX298 these are the available modes as in screenshot:
Code: Select all
mode: 0, width: 1280, height: 720, pixelformat: pRAA, desc: (null)
mode: 1, width: 1920, height: 1080, pixelformat: pRAA, desc: (null)
mode: 2, width: 4672, height: 3496, pixelformat: pRAA, desc: (null)
I did run "./video" that captures 10 seconds of .h264 video onto SD card.
On a static view it gives"Total frame count = 742" for "TimeElapsed = 10.000118".
I heavily moved my hand in view and the frame number dropped to 59fps:
Code: Select all
[email protected]:~/MIPI_Camera/RPI $ ./video
Open camera...
Setting the resolution...
Current resolution is 1280x720
Notice:You can use the list_format sample program to see the resolution and control supported by the camera.
Start preview...
Enable Software Auto Exposure...
Enable Software Auto White Balance...
Start video encoding...
Total frame count = 592
TimeElapsed = 10.000099
Stop video encoding...
Close camera...
[email protected]:~/MIPI_Camera/RPI $
So whether you can achieve 60fps depends on scene and action.
If so, do you have control over the GOP keyframes? That is probably the single most important parameter when using it for a UAV or robotic application because there are typically complex scene changes and momentary breakups, if for example on a webcam or IP camera the "GOP is set to "1" if it's set up 30fps, that equals 30 frames you have to wait before the video recovers.
Raspivid allows down to every 2 individual frames so at 60fps Video recovers within 100ms.
I don't know, these are the frame types of recorded video:
Besides "video.c" there is "video2stdout.c" as well, so you can pipe video remotely eg. using netcat.