[FFmpeg-user] -to,-t options not honored...

Calvin Arndt carndt at macksrecycling.com
Sun May 5 19:20:10 EEST 2019


In a effort to create a camera recording of an exact amount of time.

FFmpeg/ffmpeg -y -loglevel 16 -i http://10.17.24.6/mjpg/video.mjpg -to 
00:01:00 -filter:v fps=fps=7 -b 512k /DVR/Tower2/05-05_11-04.avi

: ~# ls -l /DVR/Tower2/05-05_11-04.avi
-rw-r--r-- 1 root root 5314038 May 5 11:07 /DVR/Tower2/05-05_11-04.avi

Without the -to 00:01:00 the file is perfect. The file plays a exactly 
the appropriate frame rate.
the clock is in sync with the timestamps in the video.

With the -to 00:01:00 option the file plays at wrong frame rate (approx 
2.5x)
And it records for 3-5 minutes!

using -t 3600 before or after the -i yeilds similar results?

What am I doing wrong?

Extra points for explaining why -to effects output frame rate! :)

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


More information about the ffmpeg-user mailing list