mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-06 13:37:24 +01:00
Merge pull request #165 from amiaopensource/ab/extend-broken-dv
expands dv fuzzing example to work for any file
This commit is contained in:
commit
10765da46a
20
index.html
20
index.html
@ -1408,28 +1408,28 @@ foreach ($file in $inputfiles) {
|
||||
</div>
|
||||
<!-- ends Play VGA SMPTE bars -->
|
||||
|
||||
<!-- Broken DV -->
|
||||
<span data-toggle="modal" data-target="#broken_dv"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Make a broken DV file from a perfectly good one">Broken DV</button></span>
|
||||
<div id="broken_dv" class="modal fade" tabindex="-1" role="dialog">
|
||||
<!-- Broken File -->
|
||||
<span data-toggle="modal" data-target="#broken_file"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Make a broken file out of a perfectly good one">Broken file</button></span>
|
||||
<div id="broken_file" class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="well">
|
||||
<h3>Makes a broken DV test file</h3>
|
||||
<p>Modifies an existing, functioning DV file and intentionally breaks it for testing purposes.</p>
|
||||
<p><code>ffmpeg -i <i>input_file</i>.dv -bsf noise -c copy <i>output_file</i>.dv</code></p>
|
||||
<h3>Makes a broken test file</h3>
|
||||
<p>Modifies an existing, functioning file and intentionally breaks it for testing purposes.</p>
|
||||
<p><code>ffmpeg -i <i>input_file</i> -bsf noise=1 -c copy <i>output_file</i></code></p>
|
||||
<dl>
|
||||
<dt>ffmpeg</dt><dd>starts the command</dd>
|
||||
<dt>-i <i>input_file</i>.dv</dt><dd>takes in a normal DV file</dd>
|
||||
<dt>-bsf noise</dt><dd>sets bitstream filters for all to 'noise'. The <a href="https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#noise">noise filter</a> intentionally damages the contents of packets without damaging the container</dd>
|
||||
<dt>-i <i>input_file</i></dt><dd>takes in a normal file</dd>
|
||||
<dt>-bsf noise=1</dt><dd>sets bitstream filters for all to 'noise'. Filters can be set on specific filters using syntax such as <code>-bsf:v</code> for video, <code>-bsf:a</code> for audio, etc. The <a target="_blank" href="https://www.ffmpeg.org/ffmpeg-bitstream-filters.html#noise">noise filter</a> intentionally damages the contents of packets without damaging the container. This sets the noise level to 1 but it could be left blank or any number above 0.</dd>
|
||||
<dt>-c copy</dt><dd>use stream copy mode to re-mux instead of re-encode</dd>
|
||||
<dt><i>output_file</i>.dv</dt><dd>path, name and extension of the output DV file</dd>
|
||||
<dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
|
||||
</dl>
|
||||
<p class="link"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ends Broken DV -->
|
||||
<!-- ends Broken File -->
|
||||
|
||||
<!-- Sine wave -->
|
||||
<span data-toggle="modal" data-target="#sine_wave"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Generate a test audio file playing a sine wave">Sine wave</button></span>
|
||||
|
Loading…
Reference in New Issue
Block a user