Code Monkey home page Code Monkey logo

Comments (7)

Revan654 avatar Revan654 commented on September 2, 2024

I have no way to test QuickSync in HEVC. I can only use the documentation that was released with QSVENCc.

Link: https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.ja.md

As you can see BT2020 is the correct syntax. I would double check the version just to make sure it's using the latest release. Check your hardware too to see if you can use all the options.

from staxrip.

proper88 avatar proper88 commented on September 2, 2024

You are right, i also run a test with old version 2.75, your command is working perfectly.

When i remove --colorprim then i get the next error
Error: Unknown value "smpte2084" for "--transfer"
after removing --transfer, decoding starts, check output file video looks OK
Do you know the meaning of options --colorprim, --transfer ?, maybe these options are not necessary

Please take a look in
https://github.com/rigaya/QSVEnc/blob/a3727d9d115f780ed00dc9df07c7d2f4be8fd4f9/QSVPipeline/qsv_prm.h

There are no options bt2020, smpte2084

from staxrip.

Revan654 avatar Revan654 commented on September 2, 2024

There all part of the ColorSpace, Used to map the ColorSpace to the video.

Prim: Rec.2020 = Used for 4K Content. HD - BT 709
Transfer: ST2084: Used for HDR. SDR - BT 709
Matrix: bt2020nc for HDR. SDR - BT 709

Prim = Color Primaries
Transfer = Color Transfer (some Contain the Gamma Data like ST2084)

If your encoding HDR content they are required along with other options.

Beware some of the source code files are for Linux. I would have to go through all the code to see if Rec.2020 is supported on Windows or not.

I would ask the developer about the colorspace options, He will be able to give you a absolute answer on the matter. I'm basing the encoder on the documentation which is suppose to include all the functions and syntax.

The only thing I can think of why it's include in the doc and doesn't work is the function is planned but not fully functional yet. That or it was a mistype(or copy and paste job from NVENCc).

I might edit them out for next releases, since they seem not to be working in QVSEncC. I'll check the QVSEncC tool before next release to see if there any changes.

from staxrip.

proper88 avatar proper88 commented on September 2, 2024

QSVEncC 3.03 is working, all others(3.04, 3.05, 3.06) not, we have to wait for a statement from rigaya.

from staxrip.

Revan654 avatar Revan654 commented on September 2, 2024

Were they working with the ColorSpace Like BT 2020? After doing a global search of the code. There are zero references to ST 2084 or Rec 2020.

from staxrip.

proper88 avatar proper88 commented on September 2, 2024

In the original video i have these entries for HDR:
Matrix_coefficients : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2

i made a run with version 3.03 and in the final video i have no HDR because these entries are missing
This is my command line:
QSVEncC64.exe --codec hevc --profile main10 --b-pyramid --b-adapt --direct-bias-adjust --weightb --weightp --colorprim bt2020 --transfer smpte2084 --fullrange --fallback-rc --icq 16

Do you have an idea why ?

from staxrip.

Revan654 avatar Revan654 commented on September 2, 2024
  1. it's missing a bunch of flags that are required to enable HDR.
  2. Display P3 is not consider part of the HDR color, it requires Rec.2020.
  3. You need the Color Coordinates injected into the file.
  4. Just be aware H.265 and x265 are two different types of compressions under HEVC. Right now HDR can only be done correctly under x265.

from staxrip.

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.