# VideoCapture, drop frames

**URL:** <https://forum.opencv.org/t/videocapture-drop-frames/14428>\
**Category:** C++\
**Tags:** ffmpeg, videocapture, videoio\
**Created:** [September 3, 2023, 8:19am UTC](https://forum.opencv.org/t/videocapture-drop-frames/14428 "2023-09-03T08:19:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reza\_hajimohammadi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/reza_hajimohammadi/32/8612_2.png) [@reza\_hajimohammadi](https://forum.opencv.org/u/reza_hajimohammadi)\
**Post date:** [September 3, 2023, 8:19am UTC](https://forum.opencv.org/t/videocapture-drop-frames/14428/1 "2023-09-03T08:19:01Z")

</div>

Hello  
Im using videocapture whit ffmpeg backend. but in this way videocapture buffer frames and It causes the connection to be disconnected, i want to disable buffering frames, i want to frames that are not received, are droped.  
I got help from videocapture.set to set CAP\_PROP\_BUFFERSIZE to zero, but it return false:  
auto result =mOpencvCapture.set(CAP\_PROP\_BUFFERSIZE , 0);  
and result is false.  
can you help me please
