How to properly trim out a section of video with ffmpeg
This ffmpeg command will trim out a section of video from a long video file. This is how a clip is snipped out of a movie file easily.
ffmpeg -i "baraka.mkv" -ss 00:14:59.691 -to 00:17:24.044 -c:v libx264 -preset veryslow -crf 0 -c:a copy "BarakaClip.mkv" |
This preserves the quality of the video while properly snipping out a nice clip. So, this is very useful for snipping a video without using a video editor. Just playing the video file would allow a user to get the proper timestamps for beginning and end of the clip. This goes to show how useful ffmpeg is for editing video.