Skip to content

Commit e46bdc1

Browse files
authored
fixes #475 (#476)
1 parent 8ea516d commit e46bdc1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

index.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -680,22 +680,23 @@ <h5>Transform SD into HD with pillarbox</h5>
680680
</div>
681681
<!-- ends SD to HD -->
682682

683-
<!-- Change display aspect ratio without re-encoding video-->
683+
<!-- Change display aspect ratio without re-encoding -->
684684
<label class="recipe" for="change_DAR">Change display aspect ratio without re-encoding</label>
685685
<input type="checkbox" id="change_DAR">
686686
<div class="hiding">
687-
<h5>Change Display Aspect Ratio without re-encoding video</h5>
688-
<p><code>ffmpeg -i <em>input_file</em> -c:v copy -aspect 4:3 <em>output_file</em></code></p>
687+
<h5>Change Display Aspect Ratio without re-encoding</h5>
688+
<p><code>ffmpeg -i <em>input_file</em> -c:a copy -c:v copy -aspect 4:3 <em>output_file</em></code></p>
689689
<dl>
690690
<dt>ffmpeg</dt><dd>starts the command</dd>
691691
<dt>-i <em>input_file</em></dt><dd>path, name and extension of the input file</dd>
692+
<dt>-c:a copy</dt><dd>Copy all mapped audio streams.</dd>
692693
<dt>-c:v copy</dt><dd>Copy all mapped video streams.</dd>
693694
<dt>-aspect 4:3</dt><dd>Change Display Aspect Ratio to <code>4:3</code>. Experiment with other aspect ratios such as <code>16:9</code>. If used together with <code>-c:v copy</code>, it will affect the aspect ratio stored at container level, but not the aspect ratio stored in encoded frames, if it exists.</dd>
694695
<dt><em>output_file</em></dt><dd>path, name and extension of the output file</dd>
695696
</dl>
696697
<p class="link"></p>
697698
</div>
698-
<!-- ends Change display aspect ratio without re-encoding video -->
699+
<!-- ends Change display aspect ratio without re-encoding -->
699700

700701
<!-- Convert colorspace -->
701702
<label class="recipe" for="convert-colorspace">Convert colorspace of video</label>

recipes.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ffmpeg -i input_file -filter:v "hflip,vflip" -c:a copy output_file
3737
# Transform SD to HD with pillarbox
3838
ffmpeg -i input_file -filter:v "colormatrix=bt601:bt709, scale=1440:1080:flags=lanczos, pad=1920:1080:240:0" -c:a copy output_file
3939
# Change display aspect ratio without re-encoding
40-
ffmpeg -i input_file -c:v copy -aspect 4:3 output_file
40+
ffmpeg -i input_file -c:a copy -c:v copy -aspect 4:3 output_file
4141
# Convert colorspace of video
4242
ffmpeg -i input_file -c:v libx264 -vf colormatrix=src:dst output_file
4343
# Modify image and sound speed

0 commit comments

Comments
 (0)