diff --git a/index.html b/index.html index c24795b..e275644 100644 --- a/index.html +++ b/index.html @@ -1224,6 +1224,24 @@ + + + +
+

Embed a subtitle file into a movie file

+

ffmpeg -i input_file -i subtitles_file.srt -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.srt
path to subtitles file
+
-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