Compare commits

..

8 Commits

Author SHA1 Message Date
Ashley
1fec9b21c8 Merge pull request #290 from amiaopensource/embed-subs
adds embedded subtitles command c/o @federicomenaquintero #289
2017-12-11 09:43:46 -05:00
Ashley Blewer
42189e5b94 capitalize container/sub formats 2017-12-11 09:22:22 -05:00
Ashley
929f92a52a Merge pull request #291 from amiaopensource/mod-strip-metadata
consistent aliases used for strip metadata
2017-12-11 09:16:26 -05:00
Ashley Blewer
02e2f11718 consistent aliases used for strip metadata 2017-12-10 21:41:57 -05:00
Ashley Blewer
10636e24e2 adds embedded subtitles command c/o @federicomenaquintero #289 2017-12-10 21:38:55 -05:00
Reto Kromer
61b890d31c delete double spaces 2017-12-05 21:05:51 +01:00
Reto Kromer
85a79d2eb5 Merge pull request #288 (delete useless spaces) 2017-12-05 21:00:30 +01:00
Reto Kromer
b5ec56174a delete useless spaces 2017-12-05 20:51:45 +01:00

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>
@@ -1530,10 +1549,11 @@
<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>-map_metadata -1</dt><dd>sets metadata copying to -1, which copies nothing</dd>
<dt>-vcodec copy</dt><dd>copies video track</dd>
<dt>-acodec copy</dt><dd>copies audio track</dd>
<dt>-c:v copy</dt><dd>copies video track</dd>
<dt>-c:a copy</dt><dd>copies audio track</dd>
<dt><i>output_file</i></dt><dd>Makes copy of original file and names output file</dd>
</dl>
<p>Note: <code>-c:v</code> and <code>-c:a</code> are shortcuts for <code>-vcodec</code> and <code>-acodec</code>.</p>
<p class="link"></p>
</div>
<!-- ends Strip metadata -->