ffmpeg – save last 120 seconds of video file
ffmpeg -sseof -120 -i moviefile.MOV moviefile-last120.MOV Example in real life: Put the videos into a directory with nothing else in there. Then run the following script from that directory: for file in ls; do echo “$file”; ffmpeg -sseof -120 -i $file $file-last120.MOV; echo “00000”; done