mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-01-11 19:17:08 +01:00
adds embedded subtitles command c/o @federicomenaquintero #289
This commit is contained in:
parent
61b890d31c
commit
10636e24e2
18
index.html
18
index.html
@ -1224,6 +1224,24 @@
|
||||
</div>
|
||||
<!-- ends Burn in timecode -->
|
||||
|
||||
<!-- Embed subtitles-->
|
||||
<label class="recipe" for="embed_subtitles">Embed subtitles</label>
|
||||
<input type="checkbox" id="embed_subtitles">
|
||||
<div class="hiding">
|
||||
<h3>Embed a subtitle file into a movie file </h3>
|
||||
<p><code>ffmpeg -i <i>input_file</i> -i <i>subtitles_file</i>.srt -c copy -c:s mov_text <i>output_file</i></code></p>
|
||||
<dl>
|
||||
<dt>ffmpeg</dt><dd>starts the command</dd>
|
||||
<dt>-i <i>input_file</i></dt><dd>path, name and extension of the input file</dd>
|
||||
<dt>-i <i>subtitles_file</i>.srt</dt><dd>path to subtitles file</dd>
|
||||
<dt>-c copy</dt><dd>enable stream copy (no re-encode)</dd>
|
||||
<dt>-c:s mov_text</dt><dd>Encode subtitles using the <code>mov_text</code> codec. Note: The <code>mov_text</code> codec works for mp4 and mov containers. For the mkv container, acceptable formats are <code>ass</code>, <code>srt</code>, and <code>ssa</code>.</dd>
|
||||
<dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
|
||||
</dl>
|
||||
<p>Note: <code>-c:s</code> is a shortcut for <code>-scodec</code></p>
|
||||
<p class="link"></p>
|
||||
</div>
|
||||
<!-- ends Embed subtitles -->
|
||||
</div>
|
||||
<div class="well">
|
||||
<h2 id="create-images">Create thumbnails or GIFs</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user