Awesome! This worked perfectly and is super easy to just quickly remux into a TS file without extracting anything! Quick question, is it preferable to use TS over M2TS?RESET_9999 wrote: ↑Mon Jan 03, 2022 2:24 amchange the container to TS:
https://github.com/justdan96/tsMuxer/releases
Dolby Vision now possible through MP4 Mux.
-
WaynosDaBoss
- Posts: 3
- Joined: Sun Jan 02, 2022 9:35 pm
Re: Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
I have a laptop that only supports P5 DV in mp4, so I've managed to convert P8 input file into P5, this in turn triggered DV but the video is stuttering. PS: I've tried mp4muxer & Tsmuxer, problem seems the only video player that could trigger DV in my laptop
Can someone help through this..
Can someone help through this..
Re: Dolby Vision now possible through MP4 Mux.
Don't think you can do that.Pixels wrote: ↑Mon Jan 03, 2022 6:06 pmI have a laptop that only supports P5 DV in mp4, so I've managed to convert P8 input file into P5, this in turn triggered DV but the video is stuttering. PS: I've tried mp4muxer & Tsmuxer, problem seems the only video player that could trigger DV in my laptop
Can someone help through this..
P5 uses IPT color and isn't compatible with HDR10 or HLG.
P8 uses BT.2020 color and P8.1 uses HDR10 and P8.4 uses HLG.
So there's no path from P8 -> P5.
dovi_tool only supports converting the RPU from P5 -> P8 and then you would presumably extract and apply that RPU to a different video file from a different encoding with an HDR10 BL.
Like if a film is only released on UHD BD in HDR10 and is released on streaming services in DV, which use P5. If you could obtain both encodings, you could theoretically take the P5 RPU, convert it to P8 and apply it to the HDR10 BL to get a P8.1 file, if the encodings otherwise line up. I'm not sure how often or if people are finding that the frames actually line up.
Re: Dolby Vision now possible through MP4 Mux.
I'm seeing more and more WEB-DL releases with the original P5 RPU converted to P8, I'm guessing for maximum compatibility plus no need to release HDR separately. Is there anything lost in the P5 > P8 conversion?
Re: Dolby Vision now possible through MP4 Mux.
From my understanding (someone let me know if wrong) you're only losing the color enhancements + efficiency of the Dolby proprietary color space from p5 - this would mainly be seen on future displays capable of 12bit but possibly could be more banding (technically, not meant obviously or egregiously) or artifacts like that sort when using HDR10 base video vs native p5 one on displays now?
I try to convert all my p5 to p8 for the reasons you listed above.
If the DV and HDR10 files are from the same release time and group you're often good to go
Disney disc + web titles can line up no editing needed from time to time
Other than that you'll most likely have to do some editing/trimming, how much and is it worth it up to you - If it requires more than easily trimming a few seconds off at start and/or end with tsmuxer I don't bother and just keep a p5 + HDR10
After watching first 5 mins or so you'll notice RPU out of sync or not - I don't see bright flashes like when FEL is misaligned, just RPU dimming or brightening or something half a second too early or late
Re: Dolby Vision now possible through MP4 Mux.
I am an absolute noob at this and wanted some help converting a MKV DV REMUX to MP4 DV.
HDR Format from mediainfo- "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible"
Audio title- DTS-HD Master Audio / 5.1 / 48 kHz / 3206 kbps / 24-bit
Can someone please provide step by step instructions on how to do this?
I have tried for hours to get my LG OLED to play some files I converted using mp4muxer and dovi_tools but cant figure it out.
HDR Format from mediainfo- "Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible"
Audio title- DTS-HD Master Audio / 5.1 / 48 kHz / 3206 kbps / 24-bit
Can someone please provide step by step instructions on how to do this?
I have tried for hours to get my LG OLED to play some files I converted using mp4muxer and dovi_tools but cant figure it out.
Re: Dolby Vision now possible through MP4 Mux.
I'm having issues with mp4muxer that started recently.
All of a sudden it will not create a valid output file.
It is always 0kB and exits in 10-20 seconds.
I can see that it is using the disk and CPU for that time but then it just stops.
There is no error message and the files used as input have previously worked.
Anyone run into this before?
All of a sudden it will not create a valid output file.
It is always 0kB and exits in 10-20 seconds.
I can see that it is using the disk and CPU for that time but then it just stops.
There is no error message and the files used as input have previously worked.
Anyone run into this before?
Re: Dolby Vision now possible through MP4 Mux.
That only ever happened to me when trying to make base layer encoded FEL p7 file, it meant stuff is messed up/input was bad.darex wrote: ↑Thu Jan 13, 2022 8:49 amI'm having issues with mp4muxer that started recently.
All of a sudden it will not create a valid output file.
It is always 0kB and exits in 10-20 seconds.
I can see that it is using the disk and CPU for that time but then it just stops.
There is no error message and the files used as input have previously worked.
Anyone run into this before?
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi guys, here are some tutorial videos. You just have to edit the bat files with notepad and change the output path and tools path to yours. (no space in path\filename)
tools and script
All you have to do is, download all the tools and folders, edit the paths highlighted in the picture 1 time with notepad, save the bat and then just click on it and chose the desired workflow. I learned how to write scripts just 1 month ago, so forgive my codes, still a lot to learn but i think most of the workflows work but i didnt test them all....
How to make DoVi hybrid bluray remux with Profile 5 DoVi web-dl:
https://www.youtube.com/watch?v=Y394xLUYFKM
* in this example, the p5 dv video is cropped so the rpu needs an L5 active area edit. If your p5 video is not cropped you don't have to edit L5 because the original RPU is already correct.
* in this example I had to duplicate 24 frames. (inclusive. to remove 24 enter 23)
* in case you have to remove 24 frames select the ''removes frames'' workflow and enter 24
* unless the source has invalid L6 metadata, i recommend not editing L6 static metadata.
* if the video to be injected is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
How to convert HDR10plus to DoVi:
https://www.youtube.com/watch?v=z21v9ru_DVw
* if the video is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
How to generate DoVi from madVR measurements:
https://www.youtube.com/watch?v=XG5La55Lf00
* same as hdr10plus, if the video is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
* you have to install lav filters and madvr (double click on the install bat(madvr folder))

tools and script
All you have to do is, download all the tools and folders, edit the paths highlighted in the picture 1 time with notepad, save the bat and then just click on it and chose the desired workflow. I learned how to write scripts just 1 month ago, so forgive my codes, still a lot to learn but i think most of the workflows work but i didnt test them all....
How to make DoVi hybrid bluray remux with Profile 5 DoVi web-dl:
https://www.youtube.com/watch?v=Y394xLUYFKM
* in this example, the p5 dv video is cropped so the rpu needs an L5 active area edit. If your p5 video is not cropped you don't have to edit L5 because the original RPU is already correct.
* in this example I had to duplicate 24 frames. (inclusive. to remove 24 enter 23)
* in case you have to remove 24 frames select the ''removes frames'' workflow and enter 24
* unless the source has invalid L6 metadata, i recommend not editing L6 static metadata.
* if the video to be injected is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
How to convert HDR10plus to DoVi:
https://www.youtube.com/watch?v=z21v9ru_DVw
* if the video is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
How to generate DoVi from madVR measurements:
https://www.youtube.com/watch?v=XG5La55Lf00
* same as hdr10plus, if the video is cropped, select a workflow that says CROP and set L5 top bottom to 0, otherwise, do like in the video
* you have to install lav filters and madvr (double click on the install bat(madvr folder))

Last edited by RESET_9999 on Sat Mar 12, 2022 5:06 am, edited 9 times in total.
Re: Dolby Vision now possible through MP4 Mux.
Whoops! Should be fixed in https://github.com/quietvoid/dovi_tool/ ... 23ccb277fb.RESET_9999 wrote: ↑Fri Jan 14, 2022 12:17 am@quietvoid, I wasn't able to generate dv from madvr with the latest version of your tool. it kept complaining about --json not an acceptable argument for madvr files
Will be in the next release.
Re: Dolby Vision now possible through MP4 Mux.
Thank you so much for those tutorials, I just have a question regarding the "active area". Should I use the top and bottom presets always when the final video has letterbox bars?RESET_9999 wrote: ↑Fri Jan 14, 2022 12:17 amHi guys, here are some tutorial videos. You just have to edit the bat files with notepad and change the path to your drive.
...
E.g. If I have HDR10+ WEB-DL (3840x2160) with letterbox bars and I want to convert it to DV, I always set the "active area" as you did in your video, right?
If a have a DV p5 WEB-DL (3840x2160) with letterbox bars and I want to create hybrid BD remux (the BD also has letterbox bars), do I also set the "active area"? (you had only WEB-DL without letterbox bars in your video)
(just out of curiosity, what happens if I don´t set it? Because I didn´t do it before since I didn´t know I should do that)
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
If the DV web-dl has black bars hardcoded in the video, the active area is already correct in the RPU so no need to modify it.powdeau wrote: ↑Fri Jan 14, 2022 1:33 pmThank you so much for those tutorials, I just have a question regarding the "active area". Should I use the top and bottom presets always when the final video has letterbox bars?RESET_9999 wrote: ↑Fri Jan 14, 2022 12:17 amHi guys, here are some tutorial videos. You just have to edit the bat files with notepad and change the path to your drive.
...
E.g. If I have HDR10+ WEB-DL (3840x2160) with letterbox bars and I want to convert it to DV, I always set the "active area" as you did in your video, right?
If a have a DV p5 WEB-DL (3840x2160) with letterbox bars and I want to create hybrid BD remux (the BD also has letterbox bars), do I also set the "active area"? (you had only WEB-DL without letterbox bars in your video)
(just out of curiosity, what happens if I don´t set it? Because I didn´t do it before since I didn´t know I should do that)
In other words, you only need to set the active area when your web-dl has cropped black bars(iTunes web-dl) because those web-dl don't have any L5 active area. (if they did, they would play overcropped on devices that use L5)
Most of the devices seem to ignore L5 (shield, x700) but the internal player of LG oled TV does use it so it's better to set the L5 correctly instead of top/bottom to 0/0 for every movie.
Re: Dolby Vision now possible through MP4 Mux.
Thank you, I just have a problem with madVR - when I try to open mkv in madMeasureHDR.exe, it just opens and closes without generating measurements file. What am I doing wrong?
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
ha, maybe you just have to click on the install bat first (with admin rights!).
Last edited by RESET_9999 on Fri Jan 14, 2022 3:43 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
I have already tried that (with admin right)RESET_9999 wrote: ↑Fri Jan 14, 2022 3:42 pmha, maybe you just have to click on the install bat first.
Last edited by powdeau on Fri Jan 14, 2022 3:44 pm, edited 1 time in total.