simonlerpard / HDR-to-SDR

To easily convert a mkv HDR video to SDR using ffmpeg and mkvmerge
Apache License 2.0
0 stars 0 forks source link

Convert HDR 4K to SDR 4K 2160P ts files #1

Open O77T opened 2 years ago

O77T commented 2 years ago

How to convert HDR to SDR on MacBook pro ? Here is photo of 4K ts file see HDR on the right corner 4K HDR Video Ts file

simonlerpard commented 2 years ago

Hi there,

Sorry I haven't really been looking at this for about two years.. But I just tried to build the docker image and I discovered a version change. So to successfully build the docker image replace row 18 RUN mv /app/ffmpeg-4.3-amd64-static/ffmpeg /usr/local/bin with RUN mv /app/ffmpeg-*-amd64-static/ffmpeg /usr/local/bin

But you might need to do some finetuning for best tone mapping settings in the app/run.sh file on row 8. E.g. zscale=h=1080:w=-1 indicates a downscale to 1080p. You can maybe try to increase it to 2160 if you want.

Remember, it's kind of an expensive processess to convert HDR to SDR, do you really need it? It can take a long time (of course it depends on your processing power as well).

O77T commented 2 years ago

I really dont understand is there an app instead i can use in mac?

simonlerpard commented 2 years ago

This project is built for command line usage with docker in mind. If you don't know docker, ffmpeg or how to use the terminal I think this task might be hard for you.

I don't know any simple, non technical, app to use unfortunately.