I need to cut a video with a length of several minutes into many different videos, In all but the videos cut from the original video will have different short lengths. what do i need to do?
- This is the code i use but it just cuts out videos of equal length:
ffmpeg -i input.mp4 -filter_complex "crop=1280:720:(in_w-1280)/2:(in_h-720)/2" -crf 21 -c:a copy -f segment -segment_time 18 -reset_timestamps 1 "%output%%%~na_%%03d.mp4"