Duplicate Frames Report - jhogsett/EMA-VFI-WebUI GitHub Wiki
Duplicate Frames Report - Detect and report duplicate PNG frame files
How It Works
- Set Input PNG Files Path to a path on this server for the PNG files to report on
- Set Detect Threshold to specify the sensitivity to frame differences
- A lower value finds fewer duplicates; a higher value finds more
- This value requires experimentation. See More Details below.
- Set Maximum Duplicates Per Group to limit consecutive found duplicate frames
- This can help to find a suitable upper limit for Detect Threshold
- Values:
- Set to
0
to not limit the number of consecutive duplicates - Set to
1
to prevent duplicates altogether - Set to any other value to limit the consecutive duplicates
- Set to
- Tip: in most cases, actual duplicates will be limited to several frames only
- Click Create Report
- A text file version of the report can be downloaded from the Download box
- The report, or any errors encountered, are shown in the Report box
Important
ffmpeg.exe
must be available on the system path- The values for the Threshold slider can be changed in the
config.yaml
file sectiondeduplicate_settings
More Details
- The FFmpeg mpdecimate video filter is used to detect and remove duplicates
- The hi and lo mpdecimate parameters are set to the specified theshold
- the frac mpdecimate parameter is set to
1
- Example: a 30 FPS video with 24 FPS real frames (20% duplicated frames)
- With Threshold set to the minimum
0
, 1 frame was removed - When set to maximum
25000
, all frames except 1 were removed - When set to the default
2500
, 20% of the frames were removed
- With Threshold set to the minimum