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

Issues with fullrange clips #15

Open
dnjulek opened this issue May 11, 2024 · 2 comments
Open

Issues with fullrange clips #15

dnjulek opened this issue May 11, 2024 · 2 comments

Comments

@dnjulek
Copy link

dnjulek commented May 11, 2024

ass_file = r"file.ass"
clip = core.std.BlankClip(None, 1920, 1080, vs.YUV420P8, length=35000)
clip_full = clip.std.SetFrameProps(_ColorRange=0)
subs = core.sub.TextFile(clip=clip_full, file=ass_file, charset="UTF-8", scale=1, debuglevel=7, linespacing=0, margins=[0, 0, 0, 0], sar=0)
subs.set_output()

vapoursynth.Error: MaskedMerge: Input frames must have the same range

@dnjulek
Copy link
Author

dnjulek commented May 11, 2024

range=1 (in TextFile args) seems to fix it, but a better warning would be ideal

@myrsloik
Copy link
Member

Odd, I thought it auto detected what to do. I'll investigate in a bit.

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

2 participants