# OpenCV frame writing too slow

**URL:** https://forums.developer.nvidia.com/t/opencv-frame-writing-too-slow/165545
**Category:** Jetson Nano
**Tags:** opencv, python, camera
**Created:** [January 9, 2021, 5:08am UTC](https://forums.developer.nvidia.com/t/opencv-frame-writing-too-slow/165545 "2021-01-09T05:08:10Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)
#### Post date: [January 11, 2021, 2:41am UTC](https://forums.developer.nvidia.com/t/opencv-frame-writing-too-slow/165545/3 "2021-01-11T02:41:57Z")

</div>

Hi,  
Please refer to

> [@Save video with OpenCV and usb-webcamera](https://forums.developer.nvidia.com/t/save-video-with-opencv-and-usb-webcamera/165538/3):
>
> Hi, There is a sample of demonstrating cv2.VideoWriter(): [https://forums.developer.nvidia.com/t/displaying-to-the-screen-with-opencv-and-gstreamer/140648/9](https://forums.developer.nvidia.com/t/displaying-to-the-screen-with-opencv-and-gstreamer/140648/9) Please take a look.

There is discussion about running OpenCV on Jetson platforms:

> [@\[Gstreamer\] nvvidconv, BGR as INPUT](https://forums.developer.nvidia.com/t/gstreamer-nvvidconv-bgr-as-input/83355/2):
>
> Hi, It is limitation of hardware VIC engine. You have to use videoconvert plugin in the usecase. We have [DS4.0.1](https://devtalk.nvidia.com/default/topic/1063437/deepstream-sdk/announcing-deepstream-sdk-4-0-1/) for deep learning usecases. You may also check it and may be able to apply to your usease.

So it takes certain CPU loading. For getting optimal performance of Jetson Nano, please execute _sudo nvpmodel -m 0_ and _sudo jetson\_clocks_.

---

_[View the full topic](https://forums.developer.nvidia.com/t/opencv-frame-writing-too-slow/165545)._
