I have 1 big video file and I need to split it to random length chunks without re-encode.
For example chunks from 130 to 240 seconds.
For windows ffmpeg
Tried this and. Nothing in output folder.
$ times=$(ruby -e 's=[]; d=0; while d < 150 do t=rand(15..50); s << (d+t); d=d+t end; puts s.join(",")') $ echo $times 15,53,96,124,168 $ ffmpeg -i lutherceleb.mp4 -f segment -segment_times $times -c copy -reset_timestamps 1 -map 0 OUTPUT%d.mp4
2.1m questions
2.1m answers
60 comments
57.0k users