Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sangtian with sangnom #35

Closed
Selur opened this issue Sep 4, 2020 · 0 comments
Closed

Sangtian with sangnom #35

Selur opened this issue Sep 4, 2020 · 0 comments

Comments

@Selur
Copy link

Selur commented Sep 4, 2020

Sangtian with sangnom

elif type == 'sangnom':
            if dh:
                cshift = -0.25
                if c.format.color_family != vs.GRAY:
                    cshift = [cshift, cshift * (1 << c.format.subsampling_h)]
                c = Resize(c, w, h * 2, sy=cshift, dmode=1)
            return c.sangnom.SangNom(order=field, aa=aa)

gives

SangNom: the _FieldBased frame property must be either 1 (bottom field first) or 2 (top field first) when order is 0 (double rate output). Did you forget to invoke DoubleWeave before SangNom?

works fine when using SangNomMod (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod which is YUVP8/Y8 only.
-> so either:
a. the sangnom option should be removed, or
b. SandNomMod should be used in the script, or
c. That script part needs to be changed to properly use 'Sangnom'

Selur added a commit to Selur/VapoursynthScriptsInHybrid that referenced this issue Sep 4, 2020
use SangNomMod instead of SangNom in Santiag see:  HomeOfVapourSynthEvolution/havsfunc#35
@HolyWu HolyWu closed this as completed in 9af51aa Apr 14, 2021
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

No branches or pull requests

1 participant