Giter Site home page Giter Site logo

Comments (5)

ChristianFeldmann avatar ChristianFeldmann commented on June 2, 2024 1

Hi! Thank you for the report.
I am having problems to recreate the issue on my end. I was unable to download / view the png that you linked here. I don't seem to have access. Could you somehow send that to me?
I just created a white (RGB 255,255,255) png and converted it to YUV using the ffmpeg command that you provided there. But I do get a YUV with limited range (the luma values are 235 as they should be for limited range). Maybe that is the issue? You can check the "ground truth" by opening the YUV file in a hex editor.

from yuview.

ChristianFeldmann avatar ChristianFeldmann commented on June 2, 2024 1

Thank you. That looks like some nice test images. So I tooke the image 640x480_color_range_test_chart.png and used the command you provided on it:

ffmpeg -i SomeOriginal.png -pix_fmt yuv420p -sws_flags spline+accurate_rnd+full_chroma_int -color_range 2 -colorspac
e 5 -color_primaries 5 -color_trc 6 -vf scale=800x600 "fullrange_800x600.yuv"

The YUV output file that I get has 235 as the highest luma value. So this is a limited range YUV file. YUView also shows this correctly. So I think you are fighting with FFmpeg rather then YUView.

from yuview.

21pages avatar 21pages commented on June 2, 2024

This is the source of png, https://obsproject.com/forum/resources/obs-studio-color-space-color-format-color-range-settings-guide-test-charts.442/

from yuview.

21pages avatar 21pages commented on June 2, 2024

The max hex number in the yuv file is 235, I think I used a wrong ffmpeg command.

from yuview.

ChristianFeldmann avatar ChristianFeldmann commented on June 2, 2024

Ah commented one second ago. Cool so no bug in YUView. That is good.

from yuview.

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.