FFMPEG ::: Video Cuts With Start And End Time

This snippet works to cut a video from a specific time to a set duration using ffmpeg.

ffmpeg -i video.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut-video.mp4

An additional quality-related option or specific AAC encoder may be used when re-encoding.

Remember: as stated, that -t flag specifically indicates a duration of time, not an end frame of time. This snippet above will encode 8s of video starting at 3s. If we wish to start at 3s and end at 8s, we would alter this snippet with -t 5. Further, -t may be replaced with -to.