<p><code>fps= 15</code> represents the encoding speed, not the output file framerate.</p>

CC BY-SA 3.0
2018-04-16T15:50:55.507Z
What is encoding speed? Sometimes it is fps=30 though. How do I check the frame rate then?
user10024395
CC BY-SA 3.0
2018-04-16T15:51:55.100Z
Shouldn't encoding speed be as fast as output framerate? If it is faster than 30 then maybe it is fine. Now, since it is slower than 30, does it mean I have frame drop?
user10024395
CC BY-SA 3.0
2018-04-16T16:15:54.310Z
`encoding speed` --> number of frames encoded per second, If there are frame drops, you will see `drop=X` in your progress readout, Check the speed, if it's close to `1` then your device is only sending 15 fps.
Gyan
CC BY-SA 3.0
2018-04-16T16:46:50.113Z
I dont see any `drop=X`. How to check speed?
user10024395
CC BY-SA 3.0
2018-04-16T16:59:42.397Z
To the right of bitrate in the progress readout. Increase terminal width if not visible.
Gyan
CC BY-SA 3.0
2018-04-17T02:57:00.223Z
What I get as output is as above. There is no drop=X. Is there special parameter I need to input to get that? Or does it only show when there is drop?
user10024395
CC BY-SA 3.0
2018-04-17T06:09:22.093Z
Only when there is drop.
Gyan
CC BY-SA 3.0
2018-04-16T15:38:02.517Z
2018-04-16T15:38:02.517Z
Gyan
<p>Why setting -r 30 still gives fps=15 in ffmpeg?</p>

<p>command:</p>

<pre><code>fmpeg -loglevel verbose -pixel_format mjpeg -s hd720 -r 30 -i /dev/video1 -f libx264 -preset ultrafast -tune zerolatency -crf 23 -f matroska tcp://192.168.1.43:5000
</code></pre>

<p>output:</p>

<pre><code>frame=10497 fps= 15 q=22.0 Lsize=  253990kB time=00:11:39.76 bitrate=2973.4kbit
</code></pre>

<video><ffmpeg><framerate>
Why setting -r 30 still gives fps=15 in ffmpeg?
user10024395
# Why setting -r 30 still gives fps=15 in ffmpeg?

(Asked by: username_0 on 2018-04-16)

Why setting -r 30 still gives fps=15 in ffmpeg?
command:
fmpeg -loglevel verbose -pixel_format mjpeg -s hd720 -r 30 -i /dev/video1 -f libx264 -preset ultrafast -tune zerolatency -crf 23 -f matroska tcp://192.168.1.43:5000

output:
frame=10497 fps= 15 q=22.0 Lsize=  253990kB time=00:11:39.76 bitrate=2973.4kbit

**Tags:** video, ffmpeg, framerate


---

## 1 answers

### Answer by username_1 on 2018-04-16. Score: 2 | Accepted answer

`fps= 15` represents the encoding speed, not the output file framerate.

> **Comments:**
> **username_0**: What is encoding speed? Sometimes it is fps=30 though. How do I check the frame rate then?  
> **username_0**: Shouldn't encoding speed be as fast as output framerate? If it is faster than 30 then maybe it is fine. Now, since it is slower than 30, does it mean I have frame drop?  
> **username_1**: `encoding speed` --> number of frames encoded per second, If there are frame drops, you will see `drop=X` in your progress readout, Check the speed, if it's close to `1` then your device is only sending 15 fps.  
> **username_0**: I dont see any `drop=X`. How to check speed?  
> **username_1**: To the right of bitrate in the progress readout. Increase terminal width if not visible.  
> **username_0**: What I get as output is as above. There is no drop=X. Is there special parameter I need to input to get that? Or does it only show when there is drop?  
> **username_1**: Only when there is drop.  

---

