Skip to content

MatteCrop has missing dependencies and throws an error due to passing clips of different dimensions into Expr #83

@ravewulf

Description

@ravewulf

Describe the bug
Uses ScSelect_HBD which was removed in commit 5a0835d - replace with functions from ScenesPack?

Trying to use MatteCrop throws an additional error:
"Expr: All inputs must have the same number of planes and the same dimensions, subsampling included"
(C:\Programs\AviSynth+\plugins64+\ExTools.avsi, line 687)
(C:\Programs\AviSynth+\plugins64+\ResizersPack.avsi, line 1458)

In ResizersPack.avsi on line 1458, avgY and avg need to be the same dimensions but avg is resized on lines 1453 and 1456

To Reproduce
mpeg2source("test.d2v") #ripped VOB file with black borders that change per scene
MatteCrop(width=640, height=480)

Expected behavior
MatteCrop should run without errors, crop each scene based on the detected black borders, and resize to the given resolution

Files
ResizersPack.avsi and all dependencies (with the exception of ScSelect_HBD which no longer exists per commit 5a0835d)

System:

  • OS: Windows 10 Pro x64
  • Version: AVS+ v3.7.3 r4003 x64

Additional context
Unknown if MatteCrop has other bugs due to the missing dependencies and Expr error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions