How to Trim Videos: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


See details of this at [https://ottverse.com/trim-cut-video-using-start-endtime-reencoding-ffmpeg/]
See details of this at [https://ottverse.com/trim-cut-video-using-start-endtime-reencoding-ffmpeg/]
=Extract First 2 Minutes=
ffmpeg -ss 00:00:00 -i input.MOV -to 00:02:00 -c:v copy -c:a copy trimmed_copy.MOV

Revision as of 00:09, 27 August 2021

ffmpeg -ss 01:17:04 -i input.mkv -to 01:34:16 -c:v copy -c:a copy trimmed_copy.mkv

ffmpeg -ss 00:00:03 -i inputVideo.mp4 -to 00:00:08 -c:v copy trim_ipseek_copy.mp4

Replace 00:00:00 with start and end time respectively.

See details of this at [1]

Extract First 2 Minutes

ffmpeg -ss 00:00:00 -i input.MOV -to 00:02:00 -c:v copy -c:a copy trimmed_copy.MOV