Hello,

I'm trying to record stereo videos in 800 p and 120 fps (if I read the specs correctly 120fps is the max frame rate for the stereo pair) but when I try do it with this code
from depthai_sdk import OakCamera, RecordType

with OakCamera() as oak:

color = oak.create_camera('color', resolution='1080P', fps=20, encode='H265')

left = oak.create_camera('left', resolution='800p', fps=120, encode='H265')

right = oak.create_camera('right', resolution='800p', fps=120, encode='H265')
    # Synchronize & save all (encoded) streams

oak.record([left.out.encoded, right.out.encoded], './', RecordType.VIDEO)

# Show color stream

oak.visualize([left.out.camera], scale=2/3, fps=True)
    oak.start(blocking=True)

I get this error

[2024-03-21 12:52:57] INFO [root.close:456] Closing OAK camera

[2024-03-21 12:52:57] INFO [root.close:107] Video Recorder saved stream(s) to folder: C:\Users…

[2024-03-21 12:52:57] INFO [root._run:33] Exiting store frame thread
but nothing is saved

Thanks in advance

Hi @ferrari19
Update the depthai_sdk version. Tried the code and works fine on my side (if I remove color as it exceeds 248.8 MPix/s).

Thanks,
Jaka

I ve upgraded depthai-sdk but it still doesn't record with more than 20 fps could it be because I use POE ?

Hi @ferrari19
Check the bandwidth usage, but I'd say it is very likely.
250MPix compressed by 1/2 --> 125 * 8bits = 1Gbps + visualizer on top.

Thanks,
Jaka

6 days later

do you use usb or poe to get the max frame rate ?

Hi @ferrari19
USB is faster since it offers more bandwidth. Monitor your network usage when running the script to know for sure.

Thanks,
Jaka

Thank you! Also I've notices that when using the RGB and mono encoder I can go higher than 120 fps for the mono cameras is this normal since the max fps should be 120 fps?

Hi @ferrari19
Actually, the max fps for OV9*82 should now be up to 210FPS iirc.

Thanks,
Jaka