I have a question regarding the use of the -to option:
In FFmpeg version 3 (at least 3.2.12 included in Debian 9), -to was an output only option. In more recent version it seems to be accepted as an input option as well (as written here https://www.ffmpeg.org/ffmpeg.html#Main-options) but I run into limitations when using in conjunction with -r.
What I expect, if I increase the framerate of the input, is that the output will be shorter. But it is not the case:
out.mp4 will be 10 seconds long, so the input has been read further than 10 seconds in.
Code: Select all
ffmpeg -r 30 -to 10 -i my18fpsFile.avi out.mp4
In other terms, even as an input option, it seems to behave like an output option.
Tested with ffmpeg version N-48102-g7cab5471b2-static https://johnvansickle.com/ffmpeg/ on Debian Stretch.
Thanks for your advice or confirmation that this is not normal.