<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:mailman.37.1634040003.26064.gstreamer-devel@lists.freedesktop.org">
<pre class="moz-quote-pre" wrap="">Hi thanks
</pre>
<blockquote type="cite" style="color: #007cff;">
<blockquote type="cite" style="color: #007cff;">
<pre class="moz-quote-pre" wrap="">Use your command or a variant -- v4l2-ctl --list-formats-ext -d /dev/video0
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">This are the result
ioctl: VIDIOC_ENUM_FMT
Index [ 5628.245685] ov5640_mipi 3-003c: Please assign pixel format, t
: 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2592x1944
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 0x0
I do not think the camera would support 25 fp/sec.</pre>
</blockquote>
No, as you can see it only seems to support 30 and 15 fps.<br>
<blockquote type="cite"
cite="mid:mailman.37.1634040003.26064.gstreamer-devel@lists.freedesktop.org">
<pre class="moz-quote-pre" wrap="">
Btw is there way we can control the frame rate in the downstream, like when encoding to save file or send it to another src</pre>
</blockquote>
<p>You can use a videorate element, but it can't do magic. It can
only duplicate or drop frames.</p>
<p>So you can only get "multiples": like from 30 you can get 30/2,
30/3, 30/4, 30/5, ... By selecting how many frames you drop.</p>
<p>You can also get fx 20fps from 30 or a different value, but in
this case that will only give you an "average fps". The time
differences between the frames will vary: 33ms, 66ms, 33ms, 66ms,
... Instead of 50ms, 50ms, 50ms. Because of the frame dropping.<br>
</p>
<blockquote type="cite"
cite="mid:mailman.37.1634040003.26064.gstreamer-devel@lists.freedesktop.org">
<pre class="moz-quote-pre" wrap="">
Regards</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”</pre>
</body>
</html>