# How to record Slow Motion video in higher FPS (240 or 960 fps) in openCV

**URL:** <https://forum.opencv.org/t/how-to-record-slow-motion-video-in-higher-fps-240-or-960-fps-in-opencv/16326>\
**Category:** Python\
**Tags:** programming\
**Created:** [January 31, 2024, 11:21am UTC](https://forum.opencv.org/t/how-to-record-slow-motion-video-in-higher-fps-240-or-960-fps-in-opencv/16326 "2024-01-31T11:21:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeraj\_Dhekale](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/neeraj_dhekale/32/8819_2.png) [@Neeraj\_Dhekale](https://forum.opencv.org/u/Neeraj_Dhekale)\
**Post date:** [January 31, 2024, 11:21am UTC](https://forum.opencv.org/t/how-to-record-slow-motion-video-in-higher-fps-240-or-960-fps-in-opencv/16326/1 "2024-01-31T11:21:00Z")

</div>

Hello,

How to record video in slow motion with higher (240 or 960) fps?  
I have tried using VideoWriter shown below and when video properties is checked it only shows fps is 960 but it does not seem 960 frames in 1 second. I am trying to record a running fan.

**cv2.VideoWriter(‘filename.avi’,  
cv2.VideoWriter\_fourcc(\*‘mp4v’),  
960, size)**

Second option:  
I have also tried to set **cv2.waitKey(milliseconds)** but this method also does not work.

Camera used:  
I am using webcam Kreo owl, [click here for more details](https://kreo-tech.com/products/kreo-owl-ultra-hd-streaming-webcam)

Alternate cross-check:  
I also tried to record the same from an Android mobile with 960 fps and it really works.

Let me know if I am doing any thing wrong?

Thanks in advance.

Regards,  
Neeraj Dhekale

---

<div class="post-metadata">

**Author:** ![matti.vuori](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@matti.vuori](https://forum.opencv.org/u/matti.vuori)\
**Post date:** [January 31, 2024, 12:55pm UTC](https://forum.opencv.org/t/how-to-record-slow-motion-video-in-higher-fps-240-or-960-fps-in-opencv/16326/2 "2024-01-31T12:55:32Z")

</div>

As the camera can only do 60 fps, it is obviously impossible to record with it at 240 or 960 fps…
