This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Vapoursynth: Color shift on PNG export
#2
Quote:Import any video (I mostly work with h264 mp4)
No resolution, color space, bit depth, etc. info.

Quote: then output via Vapoursynth to RAW/PNG
You mean by using: Base->Processing->Video ?
Look at the job queue, is Vapoursynth really used?

Quote:Right now, the fix/workaround is to set the ColorMatrix filter in Hybrid on the Vapoursynth --> Color --> Matrix tab in Hybrid: "From" to "Rec.709" and "To" to "Rec.601/470bg/470m". (Clear "Adjust by resolution" tick box and leave "pre and post clipping" enabled.)
Is your content properly flagged?

Quote:What I usually do to compare: load the source mp4 in VirtualDub. Go to the frame you're comparing. Video --> Copy source frame to clipboard.
Instead use vsViewer (Vapoursynth Preview) in Hybrid, there I can see under the hood.

Wild guess atm. is that it's related to Hybrid feeding ffmpeg with YUV444 data and instead of RGB data. (since y4m piping is only possible with yuv content, I assumed ffmpeg would then to the yuv->rgb conversion properly with the correct values , which is does not seem to do)
-> I'll look into it.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Vapoursynth: Color shift on PNG export - by Selur - 20.02.2022, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)