Code: Select all
ffmpeg -i testfile.m2ts -f null -
Code: Select all
ffmpeg -i testfile.m2ts -f null -
staknhalo wrote: ↑Sat Oct 23, 2021 6:24 pmI wrote up how this idiot does it here:mattmarsden wrote: ↑Sat Oct 23, 2021 5:46 pmThanks for that. Is there an idiots guide on HDR10+ to DV conversion?
https://www.avsforum.com/threads/author ... t-60952335
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Turn HDR10+ metadata into Dolby Vision metadata**
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Command 1: 'hdr10plus_tool extract Video.hevc -o Metadata.json' (Extracts HDR10+ metadata and saves to .json file)
>>Next commands go through Dovi_Tool and v0.5.0 minimum required<<<
Command 2: 'dovi_tool generate -j Extra.json --hdr10plus-json Metadata.json --rpu-out RPUPlus.bin' (combines metadata from edited 'Extra.json' - template is below and you need to do one for every title specifically - and metadata from extracted 'Metadata.json' and combines+converts them into p8 RPU metadata format)
Command 3: 'dovi_tool.exe inject-rpu --input Video.hevc --rpu-in RPUPlus.bin' (Injects HDR10+ generated RPU metadata into HEVC stream turning it into single layer Dolby Vision 8 stream)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Blank Template for 'Extra.json'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
"length": (title specific framelength here without parenthesis),
"level2": [
{
"target_nits": 100
},
{
"target_nits": 600
},
{
"target_nits": 1000
},
{
"target_nits": 2000
}
],
"level6": {
"max_display_mastering_luminance": (title specific metadata info here without parenthesis),
"min_display_mastering_luminance": (title specific metadata info here without parenthesis),
"max_content_light_level": (title specific metadata info here without parenthesis),
"max_frame_average_light_level": (title specific metadata info here without parenthesis)
}
}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I don't know , is that a seamless branching disc? I think so...
Yea, 2nd time in 2 months they mess up Dolby Vision. I'll just stop updating tsmuxer unless there's a major update...
It's not missing, it's just set to 0Epedemic wrote: ↑Fri Feb 18, 2022 1:02 pmAnother question: I have a few HDR10+ files i want to "convert" to DV, but the
Maximum Content Light Level & Maximum Frame-Average Light Level lines are missing in mediainfo. Is there some default value to use and hope for the best, or are there some way to find the correct values?
I just tried the same with James Bond: No Time To Die. It's a FEL movie, and it has the same quirk;ArArdin wrote: ↑Sun Feb 13, 2022 8:57 pmThat's weird indeed. Maybe waste of space in MEL that tsMuxer would solve when muxing? I recently had a title with 1.6 GB MEL, of which RPU was 36MB. You can of course investigate by demuxing BL and EL from both mkvs and compare sizes.
Even better of course is what RESET_9999 suggested and convert to Profile 8.1 "BL+RPU". You'll have no EL at all.
what happens when you mux the smaller fel stream alone (no BL stream) into mkv and try to playback? do you still see obvious motion/video data as with full fel or is it all green/solid blank color always as with mel?
I don't see why someone would use that workflow, it doesn't make sense. If you want a ST-DL file, do not use makemkv, just use yusesope tool.
My reasoning is that I would like to keep the TS for now to enjoy playback on a Blu Ray player of today, but if in the future there's a good ST-DL player, even from mkv, I can still derive one that would be as good as when derived from the original disk.RESET_9999 wrote: ↑Fri Feb 18, 2022 8:08 pmI don't see why someone would use that workflow, it doesn't make sense. If you want a ST-DL file, do not use makemkv, just use yusesope tool.
I use tsmuxer (latest) for DV mkv to m2ts conversation.FubbAyH wrote: ↑Fri Feb 18, 2022 12:49 pmI don't know enough about the bug to know whether the files would be fixable, but it might be worth checking your M2TS files with:to see if they're okay. It might be that only DV streams are affected, or something like that.Code: Select all
ffmpeg -i testfile.m2ts -f null -
I don't have that movie to check. In this case of FEL size being reduced that much I'd be worried. Any playback problems with the two?
Thank you for doing a check. That's good to know that it isn't happening in every scenario. I was doing decrypted disc backup MPLS to M2TS so maybe it only happens there.
Thanks for bringing DGDemux to our attention. It looks promising but one gotcha is that it has an option to keep the AC3 core with the THD (which we need for X800M2 compatibility) but using that disables the seamless gap processing. So to use the gap processing we'd have to re-add the AC3 core afterwards (presumably re-encoding from the gap-fixed THD), and then remux again so we'd still be at the mercy of tsMuxer bugs.ArArdin wrote: ↑Sat Feb 19, 2022 9:13 amWhen tsMuxer produced flawed output in the past, couple of times I empirically concluded that the problem had to be in the demuxing. Sometimes also using ffmpeg didn't help. A tool I don't like for it's demuxing abilities alltogether actually.
In case of any issue and always with a seamless branched disc, first thing I do is demuxing all streams directly from the (UHD)BD iso using DGDemux. And then go from there. Saved my @ss quite some times. Not only with Dolby Vision issues.
I doubt. I always demux into separate TrueHD and separate AC3. I never tried demuxing TrueHD+AC3 with seamless branching, so I honestly wouldn't know whether DGDemux could or could not apply proper gap-processing in such a track. Actually I'd bet my bottom dollar it would do a proper job. I don't think the writer of DGDemux could live with himself when output would not be right. If you say differently, so be it.
Yes. But at least you've lost any demuxing issues by tsMuxer.
after also replacing the ethernet adapter for the M1 Mac which is my DLNA/SMB/NFS server and solving some other issues with my router, things seem to really look up for the X800M2... so far 2 movie successes, encounting.
What is it with awesome tools and leaving us Mac folk in the wantArArdin wrote: ↑Sat Feb 19, 2022 9:13 amWhen tsMuxer produced flawed output in the past, couple of times I empirically concluded that the problem had to be in the demuxing. Sometimes also using ffmpeg didn't help. A tool I don't like for it's demuxing abilities alltogether actually.
In case of any issue and always with a seamless branched disc, first thing I do is demuxing all streams directly from the (UHD)BD iso using DGDemux. And then go from there. Saved my @ss quite some times. Not only with Dolby Vision issues.
I didn't actually test it myself, I'm just going from what's in DGDemux.txt:ArArdin wrote: ↑Sat Feb 19, 2022 7:50 pmI never tried demuxing TrueHD+AC3 with seamless branching, so I honestly wouldn't know whether DGDemux could or could not apply proper gap-processing in such a track. Actually I'd bet my bottom dollar it would do a proper job. I don't think the writer of DGDemux could live with himself when output would not be right. If you say differently, so be it.
-nsthd: The 'no split thd' option demuxes THD with it's embedded AC3 as a single THD+AC3
stream. When this option is omitted, THD is demuxed into two separate streams, one THD
without embedded AC3, and one AC3. Note that file gaps processing for the THD and embedded
AC3 streams is performed only when this option is not given, i.e., when the streams are
split.