n00mkrad / nmkoder

Media encoding, muxing, analysis toolkit for Windows
GNU General Public License v3.0
427 stars 21 forks source link

[Bug and Feature Request] 2pass & HDR #39

Open Hellboy00000 opened 1 year ago

Hellboy00000 commented 1 year ago

This app is fantastic but are missing 2 important features.

1) 2pass. This guide may help you with 2pass

https://trac.ffmpeg.org/wiki/Encode/H.264

2) HDR. I try in utilities "Transfer color/HDR Metadata" and it took more than 8 hours for 85% and i cancelled.

Edit:I try again and only took 4:19. I don't know what happens the first time. Maybe i started something else by mistake.
       -But i found a bug. The original file is:
             Chroma location: Top Left
             Max. luminance: 1000.0000 cd/m²
             Min. luminance: 0.0001 cd/m²
             Primary R: x=0.7080 y=0.2920
             Primary G: x=0.1700 y=0.7970
             Primary B: x=0.1310 y=0.0460
             White point: x=0.3127 y=0.3290
       -And the converted file is:
             Chroma location: Left                     (App modify this when i converted the file using "Quick Convert".)
             Max. luminance: 1000.0000 cd/m²
             Min. luminance: 0.0001 cd/m²
             Primary R: x=0.7080 y=0.2920
             Primary G: x=0.1700 y=0.7970
             Primary B: x=0.0460 y=0.1310      (App modify this when i use in utilities "Transfer color/HDR Metadata".)
             White point: x=0.3290 y=0.3127   (App modify this when i use in utilities "Transfer color/HDR Metadata".)

Edit 2: When i use MKVToolNix 64-bit v69.0.0 with the file created by utilities "Transfer color/HDR Metadata",
      MKVToolNix throws this error and does nothing. 
      ERROR: Min luminance parameter: not given in the form <TID>:n (argument was '0:9.999999747378752e-05').

This guide may help you with HDR10, HDR10+.

https://github.com/n00mkrad/nmkoder/issues/new

https://old.reddit.com/r/ffmpeg/comments/rv3sm5/downscaling_4k_hdr_10bit_to_1080p_but_maintaining/hr4omtp/