Git Product home page Git Product logo

Comments (3)

fnordware avatar fnordware commented on June 16, 2024

Yeah, I can certainly see a difference. The latter looks more yellow/green, while the former looks more red/magenta.

I guess you're importing the original into Premiere or Media Encoder to create the WebM? What does it look like in that program? What if you export a PNG sequence?

If I had to guess, it has something with the different YUV primaries between 601 and 709.

from adobewebm.

brunoaugusto avatar brunoaugusto commented on June 16, 2024

Curiously, Premiere's preview shows me pretty much what I get from the WebM screenshot, that's why I captured after rendered instead.

I read somewhere in a possibly dead FFMPEG forum, in which a user was trying to convert a video to WebmM with it and had the same color issue I described and someone commented:

It is expected to see some changes after converting rgb24 to yuv420p

Not sure if that's apply to the case but it could be useful, who knows

from adobewebm.

fnordware avatar fnordware commented on June 16, 2024

OK, I've done some more digging and I think I can say with 100% certainty that my hunch was correct: the issue here is that the two programs are using different YUV coefficients. In this case it appears Premiere is using 709 while VLC is using 601. If the original source is Blu-ray, then it should have been in 709, so Premiere is showing it correctly, not VLC.

Ideally these programs would let you choose which coefficients to use. Since Premiere doesn't, I've made a couple LUT files you can apply in Premiere to convert to the other coefficients. Get them here:

http://www.fnordware.com/downloads/701to609_LUTs.zip

This change is not due to RGB<->YUV conversion. 4:4:4 RGB to 4:2:0 YUV is not lossless, but it gives you various other artifacts, not big color shifts.

from adobewebm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.