[FFmpeg-user] Better way to cut parts out of a long video?
Cecil at decebal.nl
Mon Jun 13 13:26:45 EEST 2022
Rob Hallam <ffmpeg at roberthallam.com> writes:
> On Mon, 13 Jun 2022 at 10:40, Cecil Westerhof via ffmpeg-user
> <ffmpeg-user at ffmpeg.org> wrote:
>> I know that because of iframes you need to put the inputfile before
>> the start and to parameters if you want to sure that the start time is
>> correctly used. Because of this I defined the following function.
> Have you tried seeking (-ss) before input to test if it is accurate
> enough for you? It would certainly be faster.
That could very seldom work, but is certainly not a general solution.
In the past I was told to do it like this because it was faster. Then
I got problems with the output and was told how iframes work.
Senior Software Engineer
More information about the ffmpeg-user