IFME icon indicating copy to clipboard operation
IFME copied to clipboard

How to preserve HDR 10 info?

Open canbonbon opened this issue 5 years ago • 10 comments

Converting 4K movies to H265 using standard settings looses HRD10 information. Is there a flag or setting I could use to preserve HDR10 information in the movie? Let me know when you get a chance.

canbonbon avatar Nov 18 '20 22:11 canbonbon

IFME is follow x265, if you manage self update x265 to latest build, you can use Add Command Line for Encoder, and put like:

--dolby-vision-profile  <5|8.1|8.2> --dolby-vision-rpu <Dolby Vision metadata RPU file>

Anime4000 avatar Nov 26 '20 15:11 Anime4000

how do i add the cmd line for hdr?

Mavrick007 avatar May 20 '21 11:05 Mavrick007

how do i add the cmd line for hdr?

By default, IFME only pass video metadata, if has HDR, it will encode in HDR automatically,

if output not satisfied, you can clock Encoder Command Line button and add extra x265 commands

Anime4000 avatar May 20 '21 14:05 Anime4000

apparently FFmpeg did not pass HDR metadata, I keep in view for now

Anime4000 avatar Jun 13 '21 20:06 Anime4000

Fastflix also uses ffmpeg and is able to pass the HDR info. Maybe you could check how they are doing that.

https://github.com/cdgriffith/FastFlix

canbonbon avatar Jun 27 '21 10:06 canbonbon

Fastflix also uses ffmpeg and is able to pass the HDR info. Maybe you could check how they are doing that.

https://github.com/cdgriffith/FastFlix

I take a look, to see how it can be done

Anime4000 avatar Jun 28 '21 11:06 Anime4000

wow, this HDR especially Dolbyvision make HDR complicated.

This mean, HDR10 video only exist on HEVC?

I can add hdr10plus_parser.exe into the program, if video is HEVC HDR10, parse into JSON and read JSON and pass to x265

Anime4000 avatar Aug 31 '21 17:08 Anime4000