Merge pull request #290 from amiaopensource/embed-subs

adds embedded subtitles command c/o @federicomenaquintero #289
This commit is contained in:
Ashley 2017-12-11 09:43:46 -05:00 committed by GitHub
commit 1fec9b21c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1224,6 +1224,25 @@
</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> -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></dt><dd>path to subtitles file, e.g. <code>subtitles.srt</code></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>