Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

realbabilu wrote:
Sun May 22, 2022 2:40 am

To Dovi script author.

1. For MKV to MP4, with PGS Subtitle included, it shall be continue process with asking for additonal SRT file instead stop it. And there is a workway just remux the audio stream, EAC/AC3 with Atmos, no need of decoding or convert it. OR there is mkv muxer script with removing SUP subtitle and adding SRT instead.

Mode 5 - MKV to TS,
Failed to auto-detect SRT encoding : falling back to the active code page
Invalid SRT format. "PG" is invalid timing info
Decoding E-AC3 (DD+) stream (track 2): Bitrate: 538Kbps (core 0Kbps) Sample Rate: 48KHz Channels: 7.1

2. For MP4 muxing from Mode.M4
Only 1 SRT subtitle can be added. Cant add more?
Seems not working on my Hisense for showing subtitle inside.
I Will try with subler for comparison instead, but need a hackintosh for use it. Usually worked for my old HD samsung TV.
update to the latest version, it sounds like you're using an older version. I did many changes in the mp4muxer mode recently.

1:
-MKV P7 to MP4 (workflows 4-5) now includes SRT subtitles only if present in the source (no more external option). And sorry, I'm not converting PGS to SRT and wont add support for that. In my experience, OCR always needs manual verification.
-MP4 modes are not converting audio if the input contains AC3 or EC3 track.

Mode 5 - MKV to TS:
MKV to TS batch mode is working on my end... did you try the file in tsmuxer? some SRT track wont works sometimes.

Code: Select all

-----------------------------------------------------------------------------------------------------------
--This workflow will mux up to 13 DoVi MKV to TS, (video / audio / sub)
-----------------------------------------------------------------------------------------------------------
Drag and drop your DV MKV file #1 and press enter...
"D:\p5 - Copie - Copie.mkv"
Drag and drop your DV MKV file #2 and press enter...
"D:\p5 - Copie - Copie (2).mkv"
Drag and drop your DV MKV file #3 and press enter...
"D:\p5 - Copie - Copie (3).mkv"
Drag and drop your DV MKV file #4 and press enter...
"D:\p5 - Copie - Copie (4).mkv"
Drag and drop your DV MKV file #5 and press enter...

tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
B-pyramid level 1 detected. Shift DTS to 2 frames
0.1% complete
Decoding E-AC3 (DD+) stream (track 2): Bitrate: 768Kbps (core 0Kbps) Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 3):  Resolution: 1920:1080  Frame rate: 23.976
93.8% complete
Processed 10103 video frames
100.0% complete
Flushing write buffer
Mux successful complete
Muxing time: 2 sec
tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
B-pyramid level 1 detected. Shift DTS to 2 frames
0.1% complete
Decoding E-AC3 (DD+) stream (track 2): Bitrate: 768Kbps (core 0Kbps) Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 3):  Resolution: 1920:1080  Frame rate: 23.976
95.0% complete
Processed 10103 video frames
100.0% complete
Flushing write buffer
Mux successful complete
Muxing time: 2 sec
tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
B-pyramid level 1 detected. Shift DTS to 2 frames
0.1% complete
Decoding E-AC3 (DD+) stream (track 2): Bitrate: 768Kbps (core 0Kbps) Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 3):  Resolution: 1920:1080  Frame rate: 23.976
89.2% complete
Processed 10103 video frames
100.0% complete
Flushing write buffer
Mux successful complete
Muxing time: 2 sec
tsMuxeR version git-f4fa419. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
B-pyramid level 1 detected. Shift DTS to 2 frames
0.1% complete
Decoding E-AC3 (DD+) stream (track 2): Bitrate: 768Kbps (core 0Kbps) Sample Rate: 48KHz Channels: 5.1
Decoding PGS stream (track 3):  Resolution: 1920:1080  Frame rate: 23.976
91.6% complete
Processed 10103 video frames
100.0% complete
Flushing write buffer
Mux successful complete
Muxing time: 2 sec
The script has completed , no more file to process...
Appuyez sur une touche pour continuer...
2:
update to the latest version
Workflow.1= ANY VIDEO + ANY AUDIO(lossless audio included) + SRT subtitle(external) : if you demux your files, it can do pretty much anything now. 2 audio 2 srt / no srt no audio / 2 audio no srt / 1audio 1srt etc...
Unknown wrote:
Sun May 22, 2022 2:59 pm
hi, I tried everything possible script, Nothing allows me to watch my movie in Dolby Vision on my LG C1 it always shows me the logo "HDR" I convert profile 7 dual layer to profile 8 still does not work, If anyone can help me it would be so nice I at the bottom of the barrel after almost a week of research :cry:
That's strange, I assume you tried my scripts?
if not then try the mp4muxer P8 modes or nightly tsmuxer.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Sun May 22, 2022 3:09 am
Also remade the L2 test file in CM v4.x with the minimum required blocks, so it's still L2 only.
Profile 8.1: https://mega.nz/file/tc0nkBjY#LsBfxDMUh ... EUXe2vjCgg
mmm, L1/L2 is ignored in LLDV... @manix just tested the Shield, x700 and Dune player.
so the LLDV bug is even worse than we thought??

got curious after reading this comment on the nvidia forum:

Image
phbart
Posts: 12
Joined: Sat Aug 29, 2020 8:38 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by phbart »

RESET_9999 wrote:
Sat May 21, 2022 7:14 pm
you have to remux your BD with nightly tsmuxer and then you'll get true DV with m2ts/ts files. The x700 osd will confirm it
https://github.com/justdan96/tsMuxer/releases
I tried the latest version, but it's still not triggering DV. I remuxed as "blu-ray disc". Do I need to change the mux settings?

Image
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Sun May 22, 2022 10:27 pm
mmm, L1/L2 is ignored in LLDV... @manix just tested the Shield, x700 and Dune player.
so the LLDV bug is even worse than we thought??
I guess. Did it work with the previous test version?
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Mon May 23, 2022 1:19 am
I guess. Did it work with the previous test version?
We did not test LLDV with the first version but @GREMez comment is about it.

Interestingly, it may be a different problem than the one described in Vincent video because with the Dune player set to LLDV in the display settings(instead of using the vertex), now L1/L2 is working.
There are no LLDV options on the Shield/x700, it can only be forced with an hdfury device or a LLDV TV.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

phbart wrote:
Sun May 22, 2022 11:46 pm
I tried the latest version, but it's still not triggering DV. I remuxed as "blu-ray disc". Do I need to change the mux settings?
you remuxed as bluray folder and tried to play the m2ts ? that's the problem.
You have to mux your BD straight to TS or M2TS.
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Mon May 23, 2022 2:16 am
Interestingly, it may be a different problem than the one described in Vincent video because with the Dune player set to LLDV in the display settings(instead of using the vertex), now L1/L2 is working.
There are no LLDV options on the Shield/x700, it can only be forced with an hdfury device or a LLDV TV.
This is expected and not a bug then. I don't think the vertex actually processes the input image.
It's supposed to be done by the device.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Mon May 23, 2022 2:33 am
This is expected and not a bug then. I don't think the vertex actually processes the input image.
It's supposed to be done by the device.
@GREMez has no l1/l2 response with the shield without using any vertex.
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

As you said, the Shield doesn't support LLDV.
So the TV expects to receive the preprocessed image as input, which the Shield isn't doing.

At least that's how I understand it.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

The shield supports LLDV, the x700/x800m2 as well.
They just don't have an option in the display settings to select it. instead they use the TV EDID to choose the DV mode.
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Mon May 23, 2022 2:40 am
The shield supports LLDV, the x700/x800m2 as well.
They just don't have an option in the display settings to select it. instead they use the TV EDID to choose the DV mode.
Okay, not sure then. It might just be a bug with the older Sony TVs.
Unknown
Posts: 6
Joined: Sun May 22, 2022 2:22 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Unknown »

Unknown wrote:
Sun May 22, 2022 2:59 pm
hi, I tried everything possible script, Nothing allows me to watch my movie in Dolby Vision on my LG C1 it always shows me the logo "HDR" I convert profile 7 dual layer to profile 8 still does not work, If anyone can help me it would be so nice I at the bottom of the barrel after almost a week of research :cry:
That's strange, I assume you tried my scripts?
if not then try the mp4muxer P8 modes or nightly tsmuxer.


I tested your script the movie I wanted to convert to MP4 DVI to work perfectly I had not seen your script in your description, Thank you for your work 8)
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

quietvoid wrote:
Sun May 22, 2022 3:09 am
NiCE77 wrote:
Sun May 15, 2022 4:05 pm
I have an Apple TV 4K 2021 and an iPhone 12 Pro Max, so I can help.
I've added profile 8.4 generation based on iPhone 13 RPU samples.

Profile 8.4 L2 tests: https://mega.nz/file/0RMX1I5b#eULlLdOrg ... BRERfgWICw
It might need to be remuxed depending on your device.

Also remade the L2 test file in CM v4.x with the minimum required blocks, so it's still L2 only.
Profile 8.1: https://mega.nz/file/tc0nkBjY#LsBfxDMUh ... EUXe2vjCgg

For profile 8.4 HLG I tested it on my side and it works. I can't see a difference between 8.1 and 8.4 by eye.
FireTV Stick 4K Max (2021, latest update): plays in Dolby Vision, L2 metadata works.
FireTV Stick 4K (2018, old update): plays in HLG, wrong colours.

I've blocked updates on my 2018 stick, so I can't test if it was added.

If anyone wants to test on other devices, feel welcome.
Many thanks, I'm tried with Apple TV 4K 2021 + Infuse, but the ATV does not handle the RPU. I will report to the Firecore forum.
rophel
Posts: 9
Joined: Fri Dec 18, 2020 1:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rophel »

Using Reset_9999's scripts and had some questions:

How accurate is the conversion of HDR10plus to DV? Anything I can do to improve the conversion? I don't have an HDR10+ display to compare.

Also, sometimes I end up with both an .hevc and a .bin file when using the script, etc. Do I need to do anything with the .bin or just mux the .hevc into a mkv? I'm not losing anything by discarding the .bin, correct? S
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

@quietvoid:
I also created mp4 and ts versions of your test files: https://1drv.ms/u/s!Ahh4FiB9hIuT-ETf93f ... D?e=nOgBuQ
Is it possible that the Apple TV could only read the RPU from the mov container? How can I make a mov file?
Post Reply