You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.rst
+92Lines changed: 92 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,98 @@ Options
271
271
Minimum length of any scene. Overrides global option :option:`-m/--min-scene-len <scenedetect -m>`. TIMECODE can be specified in frames (:option:`-m=100 <-m>`), in seconds with `s` suffix (:option:`-m=3.5s <-m>`), or timecode (:option:`-m=00:01:52.778 <-m>`).
The perceptual hash is taken of adjacent frames, and used to calculate the hamming distance between them. The distance is then normalized by the squared size of the hash, and compared to the threshold.
Max distance between hash values (0.0 to 1.0) of adjacent frames. Lower values are more sensitive to changes.
303
+
304
+
Default: ``0.395``
305
+
306
+
.. option:: -sSIZE, --sizeSIZE
307
+
308
+
Size of square of low frequency data to include from the discrete cosine transform.
309
+
310
+
Default: ``16``
311
+
312
+
.. option:: -lFRAC, --lowpassFRAC
313
+
314
+
How much high frequency information to filter from the DCT. 2 means keep lower 1/2 of the frequency data, 4 means only keep 1/4, etc...
315
+
316
+
Default: ``2``
317
+
318
+
.. option:: -mTIMECODE, --min-scene-lenTIMECODE
319
+
320
+
Minimum length of any scene. Overrides global option :option:`-m/--min-scene-len <scenedetect -m>`. TIMECODE can be specified in frames (:option:`-m=100 <-m>`), in seconds with `s` suffix (:option:`-m=3.5s <-m>`), or timecode (:option:`-m=00:01:52.778 <-m>`).
Uses Y channel after converting each frame to YUV to create a histogram of each frame. Histograms between frames are compared to determine a score for how similar they are.
Max difference (0.0 to 1.0) between histograms of adjacent frames. Lower values are more sensitive to changes.
352
+
353
+
Default: ``0.05``
354
+
355
+
.. option:: -bNUM, --binsNUM
356
+
357
+
The number of bins to use for the histogram calculation
358
+
359
+
Default: ``16``
360
+
361
+
.. option:: -mTIMECODE, --min-scene-lenTIMECODE
362
+
363
+
Minimum length of any scene. Overrides global option :option:`-m/--min-scene-len <scenedetect -m>`. TIMECODE can be specified in frames (:option:`-m=100 <-m>`), in seconds with `s` suffix (:option:`-m=3.5s <-m>`), or timecode (:option:`-m=00:01:52.778 <-m>`).
help="Threshold (float) that frame score must exceed to trigger a cut. Refers to \"content_val\" in stats file.%s"
455
+
help="The max difference (0.0 to 255.0) that adjacent frames score must exceed to trigger a cut. Lower values are more sensitive to shot changes. Refers to \"content_val\" in stats file.%s"
Uses Y channel after converting each frame to YUV to create a histogram of each frame.
762
-
Histograms between frames are compared to determine a score for how similar they are.
762
+
Uses Y channel after converting each frame to YUV to create a histogram of each frame. Histograms between frames are compared to determine a score for how similar they are.
The perceptual hash is taken of adjacent frames, and used to calculate the hamming distance between them. The distance is then normalized by the squared size of the hash, and compared to the threshold.
0 commit comments