buresu / ndi-python

NewTek NDI Python wrapper
MIT License
133 stars 30 forks source link

Is there any way to increase the upper limit of FPS? #35

Open KeitoTakaishi opened 4 months ago

KeitoTakaishi commented 4 months ago

When sending images, the FPS limit seems to be 29,97 regardless of resolution. Is there any way to increase the upper limit of FPS? Or is this a NDI specification?

ParticleG commented 2 months ago

When sending images, the FPS limit seems to be 29,97 regardless of resolution. Is there any way to increase the upper limit of FPS? Or is this a NDI specification?

According to the doc: NDI frame-types , it should at least support up to 59.94 Hz.

video_frame = ndi.VideoFrameV2(FourCC=ndi.FOURCC_VIDEO_TYPE_BGRA, frame_rate_N=60000, frame_rate_D=1001)

Try create video_frame like this, and you should get a higher refreshrate: image

But I'm having trouble making it using higher frame rate like 90HZ or 120HZ. No matter how I tinker with frame_rate parameter it would always have stuttering in video stream.

If you could achieve higher fps, please tell me