This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Diagnosis - try and report
#1
(starting with 2026.11.29.1) Hybrid's Avisynth and Vapoursynth filter tabs got a new sub tab: 'Diagnosis' (Filtering->Vapoursynth->Diagnosis and Filtering->Avisynth->Diagnosis, Windows only for now).

The tab lets Hybrid:
  1. scan the current source for specific issues,
  2. try to lessen or fix those issues by switching on and tuning a filter (you can run 'Fix' multiple times to let Hybrid try to improve a fix further),
  3. do this automatically when a source is loaded, and store the results.

Ideally we get to a point where Hybrid can really detect and fix / lessen some issues automatically.
(or we can add a 'tune' option to each filter)
I doubt this will produce ideal fixes, but it should at least lessen some known issues and give users a basis they can then tweak (i.e. sacrifice more details to get rid of specific issues).
To judge a fix, I recommend looking at it in the preview with compare set to 'original|filtered|diff', and for the effect of a specific filter, enabling the 'Gimmick' -> 'Compare Effect' option of that filter.

So it would be nice to get some feedback on this.
Does it help? Is it simply wrong? What is missing? Ideas how this can be improved?

How to use it
  1. Load a source.
  2. In 'To Scan' tick the checks you want (they are grouped: Borders and geometry, Coding, Time, Fields, Picture, Analog, Overlays). Hovering over a check explains what it looks for.
  3. 'Samples' sets how many frames the sampled checks look at (spread over the source, without the first and last 3%). More samples find short problems more reliably but take longer. Broken frames, cadence and flicker always read every frame.
  4. Press 'Scan'. The status shows which check is running, e.g. '(3/12) banding: 20 of 120'. 'Cancel' stops the scan; the checks finished so far stay in the list.
  5. The table shows one row per finding: issue, severity, frames, measured value, check, state.
    • 'hint only' means Hybrid has no automatic fix for it (yet); the general solution tells you what to do by hand.
    • A check that couldn't measure (missing plugin, unsuitable source) gets a gray row with the reason.
  6. Tick 'Show details' to see, for the selected finding: what was measured, the general solution, the available fix (or why there is none) and its log, the suggested fix, and the frames with examples (clicking a frame number copies it to the clipboard).
    Right-click the table header to add columns for this info (Measured, General solution, Automatic fix, Suggested fix, Examples).

Fixing
  • 'Fix' (in the row of a finding) switches on a filter that answers the finding and tunes it step by step.
    Each step is measured on the job result (what the encode would get) at the finding's frames, together with how much the picture changes compared to the unfiltered source (SSIMULACRA2). Steps that change the picture too much are rejected.
    The best step is kept; if nothing improves the measure, the previous settings come back.
  • 'Fix with' shows which filters a fix may use. 'auto' tries them one after the other, gentlest first (e.g. a deband only in flat areas before a deband on the whole picture); ticking filters limits the fix to them.
  • 'Remove fix' undoes a kept fix: the filter settings go back to what they were before.
  • 'Fix all' runs Fix for every fixable finding in a fixed order (e.g. crop black borders first, then dirty edges, then deblocking before denoising and debanding), since earlier repairs change the later findings.
  • Filters set by a fix get a comment in the script ('# ... was set by an automatic Diagnosis fix (...)').
  • Fixes also work with the filter queue and the node editor; the fix places its filter in the queue.
  • Possible results: 'fixed', 'reduced', 'fix failed', and 'not reproduced'. 'not reproduced' means the job result doesn't show the issue at all (e.g. the deinterlacer or the final color conversion already removes it), so there is nothing to tune.
  • Loading another source undoes the kept fixes of the previous one, since a new source has other issues.

Other settings
  • 'On source load': 'do nothing', 'scan' (scan after the source is analysed), or 'scan&fix' (scan and then fix every finding of at least 30% severity whose kind is ticked under 'Auto fix'). Jobs that are added automatically wait for this.
  • 'Stored data': Hybrid stores the findings and kept fixes of each source by itself. With 'Use stored data', loading a source again shows the stored findings instead of scanning again (and with 'scan&fix' sets the kept fixes). 'Save...'/'Load...' write/read such a file manually.

Some notes
  • Each check got calibrated against a set of problem clips and clean clips, but the thresholds surely aren't perfect. Reports of findings that are wrong (or missing) together with a short sample are very welcome.
  • 'Colour cast' is off by default, since graded movies tint gray areas as much as a wrong white balance does.
  • Vapoursynth and Avisynth measure the same way, but small differences in the values are possible.

Cu Selur
----
Latest dev versions
Reply


Messages In This Thread
Diagnosis - try and report - by Selur - 4 hours ago

Forum Jump:


Users browsing this thread: 1 Guest(s)