diff --git a/index.html b/index.html index 09e29d7..a6e8510 100644 --- a/index.html +++ b/index.html @@ -386,28 +386,35 @@ - - -
ffmpeg -i input_file -ss 5 -t 10 -c copy output_file
This command captures a certain portion of a video file, starting from a designated point in the file and taking an excerpt as long as the amount of time (in seconds) specified in the script. This can be used to create a preview or clip out a desired segment. To be more specific, use timecode, such as 00:00:05.
+ffmpeg -i input_file -ss 00:02:00 -to 00:55:00 -c copy output_file
This command allows you to create an excerpt from a video file without re-encoding the image data.
-ss
with -c copy
if the source is encoded with an interframe codec (e.g., H.264). Since ffmpeg must split on i-frames, it will seek to the nearest i-frame to begin the stream copy.Variation: trim video by setting duration, by using -t
instead of -to
ffmpeg -i input_file -ss 00:05:00 -t 10 -c copy output_file