+
+
Excerpt from end
+
ffmpeg -i input_file -sseof -5 -c copy output_file
+
This command copies a video file starting from a specified time before the end of the file, removing everything before from the output. This can be used to create an excerpt, or extract content from the end of a video file.
+
+ - ffmpeg
- starts the command
+ - -i input_file
- path, name and extension of the input file
+ - -ss 5
- Tells ffmpeg what timecode in the file to look for to start copying, and specifies the number of seconds from the end of the video that ffmpeg should start copying. The end of the file has index 0 and the minus sign is needed to reference earlier portions. To be more specific, you can use timecode such as 00:00:05.
+ - -c copy
- use stream copy mode to re-mux instead of re-encode
+ - output_file
- path, name and extension of the output file
+
+
+