diff --git a/index.html b/index.html index 3491fc6..661f251 100644 --- a/index.html +++ b/index.html @@ -1224,6 +1224,25 @@ + + + +
+

Embed a subtitle file into a movie file

+

ffmpeg -i input_file -i subtitles_file -c copy -c:s mov_text output_file

+
+
ffmpeg
starts the command
+
-i input_file
path, name and extension of the input file
+
-i subtitles_file
path to subtitles file, e.g. subtitles.srt
+
-c copy
enable stream copy (no re-encode)
+
-c:s mov_text
Encode subtitles using the mov_text codec. Note: The mov_text codec works for MP4 and MOV containers. For the MKV container, acceptable formats are ASS, SRT, and SSA.
+
output_file
path, name and extension of the output file
+
+

Note: -c:s is a shortcut for -scodec

+ +
+ +

Create thumbnails or GIFs