View Full Version : How to mantain (or insert) HDR10 metadata converting a video file
alby78
22nd March 2020, 15:59
Hello from Italy under quarantine
Closed in my house, I've got a HEVC video I must convert to MP4. This file has got HDR10. Unfortunately converting it to MP4 it loses this metata.
If I play the converted file on my tv and I put manually the HDR10 on it (so forced), colors and light are correct. But if I put the auto relevation of HDR, obviously the TV doesn't apply the right colors, because there isn't the hdr metadata in the file.
Is there a way to solve? I mean a program that converts the HEVC to MP4 including HDR metadata or better a way to add the HDR10 metadata to the MP4 file?
Thank you!
(Edit: I see there is an HDR10+ general discussion, but my question is on HDR10 not HDR10+)
SeeMoreDigital
22nd March 2020, 17:18
I've got a HEVC video I must convert to MP4. This file has got HDR10. Unfortunately converting it to MP4 it loses this metata.MP4 is a container! Why "must" you convert it to .MP4?
What software are you using to re-mux the HEVC video stream into the .MP4 container?
What device are you using to play your media files?
cool advertise
22nd March 2020, 18:38
MP4 is a container, so if source file is hevc hdr10, destination .mp4 file will be also hdr10 compatible.
Something is wrong in the remuxing process.
Use megui software, under Tools -> HD Streams extractor, use it to extract tracks from source file, and under Tools -> muxer -> MP4 muxer, you will find what you need.
You need to insert .hevc stream (or .h265), audio tracks, subtitles tracks and chapters, if any, and at last muxing...
This is if you need to simply convert a source file to a target file.
Otherwise if you need to encode, to compress and reduce the size of the source file.
In this case you need some skills and experience in this field.
alby78
23rd March 2020, 19:08
MP4 is a container! Why "must" you convert it to .MP4?
What software are you using to re-mux the HEVC video stream into the .MP4 container?
What device are you using to play your media files?
The problem is the following:
I've this 4k hdr10 video that for me has got too much grain noise and I want to denoise it. I would lilke to use Davinci Resolve. Infact Davinci denoises it very well, but unfortunately it doesn't read HEVC. So I have to convert the file to MP4 and then Davinci reads it and if I try to denoise it makes a very good job.
Davinci theoretically supports HDR10...but my problem is that I can't find a program that can convert this file to MP4 mantaining the HDR10 metadata
alby78
23rd March 2020, 19:14
MP4 is a container, so if source file is hevc hdr10, destination .mp4 file will be also hdr10 compatible.
Something is wrong in the remuxing process.
Use megui software, under Tools -> HD Streams extractor, use it to extract tracks from source file, and under Tools -> muxer -> MP4 muxer, you will find what you need.
You need to insert .hevc stream (or .h265), audio tracks, subtitles tracks and chapters, if any, and at last muxing...
This is if you need to simply convert a source file to a target file.
Otherwise if you need to encode, to compress and reduce the size of the source file.
In this case you need some skills and experience in this field.
Thank you...theoretically it's what I was looking for but I dowloaded it and done the conversion. Maybe I did something wrong but the mp4 was too much compressed and above all without the HDR10 metadata inside :(
The program I used before this one was Handbrake.
cool advertise
23rd March 2020, 21:36
Thank you...theoretically it's what I was looking for but I dowloaded it and done the conversion. Maybe I did something wrong but the mp4 was too much compressed and above all without the HDR10 metadata inside :(
The program I used before this one was Handbrake.
The point is this:
as I said, if you convert the hevc hdr10 source file to a destination file using the tools of the megui software, HD Streams extractor and MP4 muxer, you will get an mp4 file which will also be hdr10 compatible.
Theoretically you can connect it to a 4k HDR TV via USB port and you would have HDR10 as the source.
I have no experience with the Davinci Resolve software you are talking about.
If you need to remove the grain and compress it (x265 encoding) while maintaining the HDR10 metadata, you need some experience and knowledge in this field.
Even megui, for example, can do it, if properly used.
I don't know if Davinci Resolve software can do it because I don't know it and I don't have the right experience with it.
That's all.
but my problem is that I can't find a program that can convert this file to MP4 mantaining the HDR10 metadata
Software exists, the problem is that you don't have the right knowledge to do it.
SeeMoreDigital
23rd March 2020, 22:03
I've this 4k hdr10 video that for me has got too much grain noise and I want to denoise it. I would lilke to use Davinci Resolve. Infact Davinci denoises it very well, but unfortunately it doesn't read HEVC. So I have to convert the file to MP4 and then Davinci reads it and if I try to denoise it makes a very good job.
So... You are re-encoding the source video stream and not re-muxing it...
As a reminder... The term, MP4 refers to a container format. HEVC is a video stream format which is most commonly muxed within an M2TS container (unless your source is an MKV contained download)...
Cheers
Blue_MiSfit
23rd March 2020, 22:21
Resolve absolutely does read HEVC. I've done this quite a lot.
benwaggoner
24th March 2020, 04:38
This sounds like a job for mp4box. https://gpac.wp.imt.fr/mp4box/. That will remux the HEVC stream into a .mp4 file without reencoding it. And should leave the SEI messages that contain the HDR10+ metadata unmolested.
foxyshadis
27th March 2020, 00:24
The problem is the following:
I've this 4k hdr10 video that for me has got too much grain noise and I want to denoise it. I would lilke to use Davinci Resolve. Infact Davinci denoises it very well, but unfortunately it doesn't read HEVC. So I have to convert the file to MP4 and then Davinci reads it and if I try to denoise it makes a very good job.
Davinci theoretically supports HDR10...but my problem is that I can't find a program that can convert this file to MP4 mantaining the HDR10 metadata
Can you post the first 100K or so, cut out of the stream with DGSplit (https://www.softpedia.com/get/System/File-Management/DGSplit.shtml)? If Resolve isn't reading your stream, maybe there's another way to get it in, because it should work; I process HEVC in Resolve all the time.
There are some support for HDR passthrough in tools like Vapoursynth, but the vast majority are geared toward HDR-to-SDR tonemapping right now, if they even recognize it at all. Keeping everything inside an NLE like Resolve is your best bet if you don't want to go down a horrible rabbit hole of trying to save and re-apply HDR to your videos.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.