VideoHelp Forum



+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Dec 2021
    Location
    Europe, Turkey, Istanbul
    Search Comp PM
    I know that this is a very frequent question here but I have tried many of the steps and most of them don't work on a mac. I am not looking for a player that has HDR tone mapping such as MadVR. I have a 4k remux that I want to convert to SDR. I have tried using Handbrake such as this guide reccomends: https://www.reddit.com/r/handbrake/comments/mom65d/4k_hdr_to_1080p_sdr_question/.
    The problem is that Handbrake conversion is very lossy and I want a lossles conversion which only changes color space. There is also an FFMPEG tutorial: https://www.reddit.com/r/PleX/comments/h8afyx/how_to_convert_4k_movies_with_washed_out_colors/.
    This tutorial does not work with Mac and I don't know if it lossless. Is there anything I can do to achieve a lossless or near lossless conversion?

    Computer Specs:
    Macbook Pro 2017(15 inch, 2880 x 1800) , macOS Big Sur 11.6, 2,9 GHz Quad-Core Intel Core i7, 16 GB 2133 MHz LPDDR3 Ram, 500gb storage, Intel HD Graphics 630 1536 MB
    Last edited by Alidapro; 11th Dec 2021 at 10:39.
    Quote Quote  
  2. Perhaps ffmpeg can be option for you, just download newest possible ffmpeg for your OS and try to follow command line provided here:

    https://raw.githubusercontent.com/benjaminburkhardt/convert-hdr-to-sdr/main/convert_hdr_to_sdr.sh

    Code:
    "ffmpeg -i filename -map 0:v:0 -map 0:a:0? -aspect 16:9 -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx264 -preset fast -profile:v high -crf 18 -c:a aac -b:a 192k -y "filename_converted"
    https://raw.githubusercontent.com/awawis/ffmpeg-HDR-to-SDR-conversion/master/4k%20HDR%...0to%204K%20SDR

    Code:
    ffmpeg.exe -i "filename" -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=2,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v libx264 -crf 22 -preset veryfast "filename_converted"
    or here

    https://stackoverflow.com/questions/61460247/10bit-hdr-to-10bit-sdr-conversion-with-ffmpeg
    Quote Quote  
  3. Member
    Join Date
    Dec 2021
    Location
    Europe, Turkey, Istanbul
    Search Comp PM
    Thank you, you're a legend!
    Quote Quote  



Similar Threads

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