[FFmpeg-user] framerate issues

Calvin Arndt carndt at macksrecycling.com
Fri May 31 00:17:14 EEST 2019


 

On 05/30/2019 12:30, Moritz Barsnick wrote: 

> On Thu, May 30, 2019
at 10:03:35 -0500, Calvin Arndt wrote:
> 
>> ffmpeg -y -loglevel 8 -i
http://10.17.24.6/mjpg/video.mjpg [1] -filter:v fps=fps=7 -b 1536k
-filter:v scale=720:480 /DVR/Tower/05-30_09-40.avi
> 
> [...]
> 
>> I
specified 7fps yet ffprobe displays 25fps. I think the actual encoding
process is only encoding 7fps because playback is time compressed.
> 
>
No, 25 fps is chosen because you are misusing the command line
>
parameters. "-vf" or "-filter:v" is allowed only once on the command
>
line.
> 
> If you don't have any particular reason to stick to 2.8.5,
please do
> use the git HEAD version. In its default log level, it
should have told
> you (log message):
> Only '-vf scale=720:480' read,
ignoring r
> 
>> ps=7,scale=720:480
> d; margin-left:5px; width:100%">I
know from previous experience that removing the -loglevel 8 will get
everything back to normal. Something is deeply askew here! 
> 
>>
="cite" style="padding-left:5px; border-left:#1010ff 2px solid;
margin-left:5px; width:100%">By the way this report applies to bo
> his
old version. 
> 
> Please use head to report issues. Nobody cares about
debugging a three
> year (or ten month, if you will) old version. ;-)
>

> Cheers,
> Moritz
> _______________________________________________
>
ffmpeg-user mailing list

Interesting! Thanks for the tip. ffprobe now
reports it at 7fps however it still runs way too fast. 

FFmpeg/ffmpeg
-y -loglevel 8 -i http://10.17.24.6/mjpg/video.mjpg -filter:v
fps=fps=7,scale=720:480 -b 1536k /DVR/Tower/05-30_15-54.avi
[mjpeg @
0x3a66080] No JPEG data found in image
 Last message repeated 1
times
root at carndt-DX4380G:~# FFmpeg/ffmpeg
ffmpeg version
N-93742-g46f1718 Copyright (c) 2000-2019 the FFmpeg developers
 built
with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
 configuration:

 libavutil 56. 26.100 / 56. 26.100
 libavcodec 58. 52.100 / 58. 52.100

libavformat 58. 27.103 / 58. 27.103
 libavdevice 58. 7.100 / 58. 7.100

libavfilter 7. 50.100 / 7. 50.100
 libswscale 5. 4.100 / 5. 4.100

libswresample 3. 4.100 / 3. 4.100 

file is 8311KB and downloadable
https://macksrecycling.net/cal/05-30_15-54.avi [3]


root at carndt-DX4380G:~# FFmpeg/ffprobe
/DVR/Tower/05-30_15-54.avi
ffprobe version N-93742-g46f1718 Copyright
(c) 2007-2019 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu
5.4.0-6ubuntu1~16.04.11) 20160609
 configuration: 
 libavutil 56. 26.100
/ 56. 26.100
 libavcodec 58. 52.100 / 58. 52.100
 libavformat 58. 27.103
/ 58. 27.103
 libavdevice 58. 7.100 / 58. 7.100
 libavfilter 7. 50.100 /
7. 50.100
 libswscale 5. 4.100 / 5. 4.100
 libswresample 3. 4.100 / 3.
4.100
Input #0, avi, from '/DVR/Tower/05-30_15-54.avi':
 Metadata:

encoder : Lavf58.27.103
 Duration: 00:00:43.14, start: 0.000000,
bitrate: 1578 kb/s
 Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 /
0x34504D46), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 1580 kb/s, 7 fps, 7
tbr, 7 tbn, 7 tbc 

-- 
 Calvin Arndt
(217)
377-2979
carndt at macksrecycling.com
 

Links:
------
[1]
http://10.17.24.6/mjpg/video.mjpg
[2]
mailto:ffmpeg-user-request at ffmpeg.org
[3]
https://macksrecycling.net/cal/05-30_15-54.avi


More information about the ffmpeg-user mailing list