VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. I'm trying to learn how to do encode x265 through MeGUI and for some reason the color on my encodes are faded. I tried reading about it on doom9...something to do with BT.2020 and using dither to correct, but still having same issues. I uploaded a sample. The top is my encode and the bottom my source.

    Here is media info from source:
    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Commercial name : HDR10
    Format profile : Main 10@L5.1@High
    Codec ID : hvc1
    Codec ID/Info : High Efficiency Video Coding
    Duration : 1 min 26 s
    Bit rate : 71.4 Mb/s
    Maximum bit rate : 114 Mb/s
    Width : 3 840 pixels
    Height : 2 160 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 59.940 (60000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0 (Type 2)
    Bit depth : 10 bits
    Bits/(Pixel*Frame) : 0.144
    Stream size : 733 MiB (100%)
    Encoded date : UTC 2016-10-24 06:29:51
    Tagged date : UTC 2016-10-24 05:33:22
    Color range : Limited
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant
    Mastering display color primar : R: x=1.000000 y=1.000000, G: x=1.000000 y=1.000000, B: x=1.000000 y=1.000000, White point: x=1.000000 y=1.000000
    Mastering display luminance : min: 0.1000 cd/m2, max: 1 cd/m2

    Anybody know how to correct this?
    Image Attached Thumbnails Click image for larger version

Name:	color discrepancy.png
Views:	440
Size:	2.44 MB
ID:	46234  

    Quote Quote  
  2. Not being a MeGui-user for years, here's my two cents:

    What does MediaInfo say about the output?
    What are your encoding settings?

    My guess is atm. that you are converting HDR content:
    a. to SDR without doing any HDR->SDR mapping
    b. keeping it as HDR, but forgot to set the needed

    Cu Selur

    Ps.: no clue whether MeGui even supports HDR->SDR out of the box (or if one would have to manually edit the Avisynth script), but that can probably be cleared up by someone using MeGui
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    Megui has no HDR-->SDR tools that I know of. Off the top of my head RipBot264 has HDR-->SDR support. I've never tried it so I can't speak more than that.
    Quote Quote  
  4. Originally Posted by OrionZodiac View Post
    Mastering display color primar : R: x=1.000000 y=1.000000, G: x=1.000000 y=1.000000, B: x=1.000000 y=1.000000, White point: x=1.000000 y=1.000000
    Mastering display luminance : min: 0.1000 cd/m2, max: 1 cd/m2
    Those values are bogus, btw. Work with a non-broken source if you want to learn. (The things Selur and KarMa said apply nonetheless.),

    If you want to keep HDR encode to HEVC 10 bit and set the metadata like source. For x265:
    https://x265.readthedocs.io/en/latest/cli.html#vui-video-usability-information-options

    To convert HDR to SDR in AviSynth you can use for example:
    DGTonemap (software) or DGHDRtoSDR (CUDA/Nvidia)
    Last edited by sneaker; 2nd Aug 2018 at 06:06.
    Quote Quote  
  5. Originally Posted by sneaker View Post
    To convert HDR to SDR in AviSynth you can use for example:
    DGTonemap (software) or DGHDRtoSDR (CUDA/Nvidia)
    Or instead AviSynth a ffmpeg can be used:
    https://stevens.li/guides/video/converting-hdr-to-sdr-with-ffmpeg/
    https://forum.doom9.org/showthread.php?t=175125
    Quote Quote  
  6. man, you guys are awesome. I think this is what I was looking for. I will try it and see what happens. Seems like I will need to convert HDS -> SDR...thanks for all the links. I will read those and see what I can come up with
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!