Closed Selur closed 1 year ago
Can you print all the frame properties of the input or create a blankclip only reproduction case? That'd make this much easier to debug since now I have to guess what imwri outputs.
Attached the used .png- and .ass-file, this should allow you to reproduce the issue (after adjusting paths) with the script I posted. scrolling_subs.zip
What you're doing is complete nonsense. You get RGB24 back (which the picture is, I verified) and then you stuff YUV(!!!!!!) primaries on it and set it to limited range. Those things have no support in reality. MaskedMerge then gets the limited range rgb (input image) and the full range rgb (subtitle image) to combine which is not possible. Limited range RGB is insanity!
When using:
I get:
script works fine if I convert to YUV420P8 before the call of 'core.sub.TextFile' or if I remove the 'core.sub.TextFile' call.