0
I want to cut a video with FFmpeg using something similar to the code below:
ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4
However I want to specify -ss
and -t
in frames instead of in seconds. For example, instead of 3 seconds I would want to tell ffmpeg to start the cut at 90 frames. I want to do this because I am going to be cutting videos using a script and I don't want to overcomplicate things by having to convert the frame numbers into seconds before passing it to FFmpeg.
Simply specifying a number like -ss 90
starts the cut at 90 seconds in, not at 90 frames.
So would
-frames
replace-t
here? – mxbi – 2015-08-12T14:57:06.150