diff --git a/index.html b/index.html index bb7ee04..17ecb9b 100644 --- a/index.html +++ b/index.html @@ -442,15 +442,15 @@
ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-ss 00:02:00
sets in point at 00:02:00
-
-to 00:55:00
sets out point at 00:55:00
+
-to 00:55:00
sets out point at 00:55:00
-c copy
use stream copy mode (no re-encoding)
- Note: watch out when using -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.
+ Note: watch out when using -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.
output_file
path, name and extension of the output file
- +

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

-
-
-ss 00:05:00 -t 10
Beginning five minutes into the original video, this command will create a 10-second-long excerpt.
+

ffmpeg -i input_file -ss 00:05:00 -t 10 -c copy output_file

+
+
-ss 00:05:00 -t 10
Beginning five minutes into the original video, this command will create a 10-second-long excerpt.
@@ -789,14 +789,14 @@ e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_fileffplay -framerate 5 input_file_%06d.ext

ffplay
starts the command
-
-framerate 5
plays image sequence at rate of 5 images per second
- Note: this low framerate will produce a slideshow effect.
+
-framerate 5
plays image sequence at rate of 5 images per second
+ Note: this low framerate will produce a slideshow effect.
-i input_file
path, name and extension of the input file
This must match the naming convention used! The regex %06d matches six-digit-long numbers, possibly with leading zeroes. This allows the full sequence to be read in ascending order, one image after the other.
- The extension for TIFF files is .tif or maybe .tiff; the extension for DPX files is .dpx (or even .cin for old files). Screenshots are often in .png format.
+ The extension for TIFF files is .tif or maybe .tiff; the extension for DPX files is .dpx (or even .cin for old files). Screenshots are often in .png format.

Notes:

-

If -framerate is omitted, the playback speed depends on the images’ file sizes and on the computer’s processing power. It may be rather slow for large image files.

+

If -framerate is omitted, the playback speed depends on the images’ file sizes and on the computer’s processing power. It may be rather slow for large image files.

You can navigate durationally by clicking within the playback window. Clicking towards the left-hand side of the playback window takes you towards the beginning of the playback sequence; clicking towards the right takes you towards the end of the sequence.