mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-12-25 19:28:21 +01:00
add generate fingerprint
wording
This commit is contained in:
parent
e3b01e2aa8
commit
d30741e378
31
index.html
31
index.html
@ -1953,13 +1953,14 @@ e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <i>output_file</i></c
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="well">
|
||||
<h3>Compare two input files for content similarity using their perceptual hashes</h3>
|
||||
<h3>Compare two video files for content similarity using perceptual hashing</h3>
|
||||
<p><code>ffmpeg -i <i>input_one</i> -i <i>input_two</i> -filter_complex signature=detectmode=full:nb_inputs=2 -f null -</code></p>
|
||||
<dl>
|
||||
<dt>ffmpeg</dt><dd>starts the command</dd>
|
||||
<dt>-i <i>input_one</i> -i <i>input_two</i></dt><dd>Assigns the input files</dd>
|
||||
<dt>-filter_complex</dt><dd>Enables using more than one input file to the filter</dd>
|
||||
<dt>signature=detectmode=full:nb_inputs=2</dt><dd>Applies the signature filter to the inputs in 'full' mode. The other option is 'fast'. The <code>nb_inputs=2</code> portion tells the filter to expect two input files</dd>
|
||||
<dt>-i <i>input_one</i> -i <i>input_two</i></dt><dd>assigns the input files</dd>
|
||||
<dt>-filter_complex</dt><dd>enables using more than one input file to the filter</dd>
|
||||
<dt>signature=detectmode=full</dt><dd>Applies the signature filter to the inputs in 'full' mode. The other option is 'fast'.</dd>
|
||||
<dt>nb_inputs=2</dt><dd>tells the filter to expect two input files</dd>
|
||||
<dt>-f null -</dt><dd>Sets the output of FFmpeg to a null stream (since we are not creating a transcoded file, just viewing metadata).</dd>
|
||||
</dl>
|
||||
<p class="link"></p>
|
||||
@ -1968,6 +1969,28 @@ e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <i>output_file</i></c
|
||||
</div>
|
||||
</div>
|
||||
<!-- ends Compare Video Fingerprints -->
|
||||
|
||||
<!-- Generate Video Fingerprint -->
|
||||
<span data-toggle="modal" data-target="#generate_video_fingerprint"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Generate Video Fingerprint">Generate Video Fingerprint</button></span>
|
||||
<div id="generate_video_fingerprint" class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="well">
|
||||
<h3>Generate a perceptual hash for an input video file</h3>
|
||||
<p><code>ffmpeg -i <i>input</i> -vf signature=format=xml:filename="output.xml" -an -f null -</code></p>
|
||||
<dl>
|
||||
<dt>ffmpeg -i <i>input</i></dt><dd>starts the command using your input file</dd>
|
||||
<dt>-vf signature=format=xml</dt><dd>applies the signature filter to the input file and sets the output format for the fingerprint to xml</dd>
|
||||
<dt>filename="output.xml"</dt><dd>sets the output for the signature filter</dd>
|
||||
<dt>-an</dt><dd>tells FFmpeg to ignore the audio stream of the input file</dd>
|
||||
<dt>-f null -</dt><dd>Sets the FFmpeg output to a null stream (since we are only interested in the output generated by the filter).</dd>
|
||||
</dl>
|
||||
<p class="link"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ends Generate Video Fingerprint -->
|
||||
</div><!-- closes the well -->
|
||||
|
||||
<div class="well">
|
||||
|
Loading…
Reference in New Issue
Block a user