Hello !
Why only 12 sections ? is it possible to increase the number in the next versions ?
why not let us choose the number that wants ?
thank you !
Number section for animation
Hi, i found the solution with ffmpeg !
if someone wants to do the same thing.
to reduce the duration of a video, to make a small clip of a movie for example.
1 - download ffmpeg
2 - in a folder put : ffmpeg.exe, "newfiles" folder, "exec.bat" file
3 - put your .avi videos in the folder (or other and adapt the command)
4 - run the "exec.bat"
modify "exec.bat" with this command:
in this command, ffmpeg only keeps 3 seconds every 40 seconds. For a video of 1H30 the result is approximately 6 minutes.
There are many settings, for example changing "28" to "20" for better quality or "veryslow" for "veryfast" to compress faster.
Remove ", scale = 466: -1" to keep the original resolution.
To keep the audio, delete "-an" and follow this example to adapt the command.
if someone wants to do the same thing.
to reduce the duration of a video, to make a small clip of a movie for example.
1 - download ffmpeg
2 - in a folder put : ffmpeg.exe, "newfiles" folder, "exec.bat" file
3 - put your .avi videos in the folder (or other and adapt the command)
4 - run the "exec.bat"
modify "exec.bat" with this command:
Code: Select all
for %%a in ("*.avi") do ffmpeg -i "%%a" -vf "select='lt(mod(t,40),3)',setpts=N/FRAME_RATE/TB, scale=466:-1" -c:v libx264 -crf 28 -preset veryslow -an "newfiles\%%~na.mp4"
pause
There are many settings, for example changing "28" to "20" for better quality or "veryslow" for "veryfast" to compress faster.
Remove ", scale = 466: -1" to keep the original resolution.
To keep the audio, delete "-an" and follow this example to adapt the command.
Code: Select all
ffmpeg -i video.avi -vf "select='lt(mod(t,33),30)',setpts=N/FRAME_RATE/TB" -af "aselect='lt(mod(t,33),30)',asetpts=N/SR/TB" video.mp4