Skip to content

add option to smooth out wow brightness compensation#273

Open
eshaz wants to merge 2 commits intooyvindln:vhs_decodefrom
eshaz:disable-wow-level
Open

add option to smooth out wow brightness compensation#273
eshaz wants to merge 2 commits intooyvindln:vhs_decodefrom
eshaz:disable-wow-level

Conversation

@eshaz
Copy link

@eshaz eshaz commented Feb 2, 2026

  • Adds --wow_adjust_smoothing_lines which allows the brightness adjustment for wow to be smoothed out. This fixes the horizontal brightness striping that occurs on noisy tapes, especially EP.
    • This can be set to --wow_adjust_smoothing_lines 0 to disable the smoothing and use the original wow brightness compensation.
    • Defaults to --wow_adjust_smoothing_lines 6 so that brightness adjustment is averaged over a rolling window of 6 lines

ld-decode changes added here: happycube#1014

https://imgsli.com/NDQ3MjQx

--wow_adjust_smoothing_lines 6 (new default)

  • brightness bars are no longer visible, since the wow calculation is being smoothed to remove noise
frame_ntsc_source_ar43_1_test_mean tbc

--wow_adjust_smoothing_lines 0 (i.e. behavior before this fix)

  • brightness bars show up since wow calculation is noisy due to noisy video
frame_ntsc_source_ar43_1_test_none tbc

@oyvindln
Copy link
Owner

oyvindln commented Feb 4, 2026

Seems good, may want to add it for cvbs-decode as well

@eshaz
Copy link
Author

eshaz commented Feb 4, 2026

Seems good, may want to add it for cvbs-decode as well

Done. I made the default 0 since I'm not sure if the wow adjustment caused problems with cvbs, so it should work as-is by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants