Trim with re-encoding for frame accuracy

trimming

// shell

$ ffmpeg -i input.mp4 -ss 00:01:00 -to 00:02:00 -c:v libx264 -c:a aac output.mp4