Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by blenky »

Did some more testing again as follows on 1917 UHD to play on Zidoo Z9X

Process below I used recommended versions of all software
  • created BL.hevc and EL.hevc using ffmpeg
  • MUX_AND_CONVERT_TO_PROFILE_81.bat to create BL_EL_RPU.hevc
  • mp4muxer with BL_EL_RPU.hevc to create .mp4
  • tsmuxer to create iso muxing .mp4 and atmos audio from UHD
  • Finally used makemkv on the ISO created in last step. I need to do this as the ISO created plays back in HDR10
The final MKV plays in DV fine for a few minutes but then gets choppy.
whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by whiplash1 »

whiplash1 wrote:
Sat Oct 03, 2020 1:19 pm
yusesope wrote:
Sat Oct 03, 2020 1:15 pm
whiplash1 wrote:
Sat Oct 03, 2020 11:44 am
I should have used Mux and convert to MEL.bat and then followed up with Demux and convert to MEL.bat....
No my friend!
You cannot use MUX_AND_CONVERT_TO_MEL.bat and DEMUX_AND_CONVERT_TO_MEL.bat on the same file!
You would end up doing a mess ...
Please follow these instructions:
yusesope wrote:
Thu Sep 17, 2020 2:59 pm
  1. FEL TO MEL

    It goes without saying that these tests must be done on FEL titles. Do not use titles that are already MEL !!!!!
    • In the case of a Dual Track Dual Layer DV file (e.g. an m2ts file in the BDMV\STREAM folder)
      • Extract the base layer and the enhancement layer

        Code: Select all

        ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
        ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc
      • Using my tool, double click on the MUX_AND_CONVERT_TO_MEL.bat file and follow the instructions on the screen.
        You will get a BL_EL_RPU.hevc file
      • Create a TS file using the BL_EL_RPU.hevc file and TsMuxeR

        EXTRA (MP4):
        In case TsMuxeR does not return a working file, create an mp4 file

        Code: Select all

        mp4muxer -i path\to\BL_EL_RPU.hevc --dv-profile 7 -o path\to\TEST_FILE.mp4
        EXTRA (MKV):
        Using my tool, double click on "DEMUX.bat" and drag and drop BL_EL_RPU.hevc
        You will get a BL.hevc file and a EL_RPU.hevc file
        Import the two BL.hevc (as first) and EL_RPU.hevc (as second) into TsMuxeR and create an ISO file.
        Open the ISO with MakeMKV
Ah then I'm out of luck. Demux.bat has failed for me so far :( Might have to go the Profile 8 route.
Hi yusesope, so far I've observed that, for me DEMUX.bat is stopping immediately only for very large files. It works just fine for shorter clips. I tested BL_EL_RPUs of the same movie with different short durations. They all demux fine, it only fails when I feed the entire movie's BL_EL_RPU. I think it could be a hardware issue? Unable to handle a huge file at once but succeeding with smaller files? Let me know if you have any ideas.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

blenky wrote:
Sat Oct 03, 2020 7:41 pm
The final MKV plays in DV fine for a few minutes but then gets choppy.
Why don't you also try an mp4 and/or ts file?
Also, you don't need to create an mp4 file before creating the ISO with TsMuxeR. Import the HEVC raw stream directly in TsMuxeR.
whiplash1 wrote:
Sun Oct 04, 2020 4:22 am
I think it could be a hardware issue? Unable to handle a huge file at once but succeeding with smaller files? Let me know if you have any ideas.
I was thinking the same thing.
It could be a hardware related anomaly.
From what you tell me it seems to me that the writing process is faster (at a particular time) than the reading process.
Usually the reverse is always true but perhaps the hardware (???), Windows (???), a combination of the two (???), can make the program believe that the writing process is finished and therefore the program ends itself.

Long story short, I have updated the tool.
Download the new test version always from THIS post!
Let me know!
whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by whiplash1 »

yusesope wrote:
Sun Oct 04, 2020 9:41 am
whiplash1 wrote:
Sun Oct 04, 2020 4:22 am
I think it could be a hardware issue? Unable to handle a huge file at once but succeeding with smaller files? Let me know if you have any ideas.
I was thinking the same thing.
It could be a hardware related anomaly.
From what you tell me it seems to me that the writing process is faster (at a particular time) than the reading process.
Usually the reverse is always true but perhaps the hardware (???), Windows (???), a combination of the two (???), can make the program believe that the writing process is finished and therefore the program ends itself.

Long story short, I have updated the tool.
Download the new test version always from THIS post!
Let me know!
I think I figured out a potential solution, I edited the app.py and increased the load bearing factor. Did some trial and error with the values, with increments of 100 and the demuxing started running with some stability. However it still kept ending prematurely. I'm currently running it at a value of 25000! and the progress is very slow but it's the farthest I've gotten so far, at 15%. Initially with the default value of 500, it was always ending prematurely at about ~50/55 seconds. I'll keep observing and post results.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

whiplash1 wrote:
Sun Oct 04, 2020 9:46 am
I edited the app.py and increased the load bearing factor.
There is a dedicated switch (-lbf) for that parameter.
In this case, however, it is not needed (it is a parameter that has to do with the RAM usage)
Do not modify the source code or I will no longer be able to understand what is wrong in case of future problems.
Use the new test version I just posted to you!
whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by whiplash1 »

yusesope wrote:
Sun Oct 04, 2020 9:54 am
whiplash1 wrote:
Sun Oct 04, 2020 9:46 am
I edited the app.py and increased the load bearing factor.
There is a dedicated switch (-lbf) for that parameter.
In this case, however, it is not needed (it is a parameter that has to do with the RAM usage)
Do not modify the source code or I will no longer be able to understand what is wrong in case of future problems.
Use the new test version I just posted to you!
Of course, downloading it right now. As always, thank you so much for your efforts man.
Tomas
Posts: 46
Joined: Tue Aug 11, 2020 7:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Tomas »

blenky wrote:
Sat Oct 03, 2020 7:41 pm
Did some more testing again as follows on 1917 UHD to play on Zidoo Z9X

Process below I used recommended versions of all software
  • created BL.hevc and EL.hevc using ffmpeg
  • MUX_AND_CONVERT_TO_PROFILE_81.bat to create BL_EL_RPU.hevc
  • mp4muxer with BL_EL_RPU.hevc to create .mp4
  • tsmuxer to create iso muxing .mp4 and atmos audio from UHD
  • Finally used makemkv on the ISO created in last step. I need to do this as the ISO created plays back in HDR10
The final MKV plays in DV fine for a few minutes but then gets choppy.
Hi, I also have a Zidoo z9x. I was rehearsing a Ninja Turtles movie. I converted in MUX_AND_CONVERT_TO_PROFILE_81.bat, I converted the resulting file to .ts. The film plays, but then the film starts to tear.
Now I'm going to try to convert the movie Transformers. I'll write how I ended up.
spezi
Posts: 12
Joined: Wed May 01, 2019 4:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spezi »

whiplash1 wrote: ↑
Sun Oct 04, 2020 6:22 am
I think it could be a hardware issue? Unable to handle a huge file at once but succeeding with smaller files? Let me know if you have any ideas.
I think your BL+EL+RPU.hevc is damaged.
First use latest MakeMKV (1.15.3) and create a working film.mkv (dvhe 07, BL+EL+RPU).
Then create a proper BL+EL+RPU.hevc using ffmpeg:

Code: Select all

ffmpeg64.exe -i film.mkv -map 0:0 -c copy BL_EL_RPU.hevc
This is working on all my tests.
whiplash1
Posts: 38
Joined: Sun Apr 19, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by whiplash1 »

spezi wrote:
Sun Oct 04, 2020 10:56 am
whiplash1 wrote: ↑
Sun Oct 04, 2020 6:22 am
I think it could be a hardware issue? Unable to handle a huge file at once but succeeding with smaller files? Let me know if you have any ideas.
I think your BL+EL+RPU.hevc is damaged.
First use latest MakeMKV (1.15.3) and create a working film.mkv (dvhe 07, BL+EL+RPU).
Then create a proper BL+EL+RPU.hevc using ffmpeg:

Code: Select all

ffmpeg64.exe -i film.mkv -map 0:0 -c copy BL_EL_RPU.hevc
This is working on all my tests.
Alright but will Makemkv combine the base layer and enhancement layer into a single BL_EL_RPU stream for FEL movies? Asking because mediainfo so far doesn't show such data for DV mkv files. They're yet to update it.
Koceens
Posts: 1
Joined: Sun Oct 04, 2020 12:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Koceens »

RESET_9999 wrote:
Tue Sep 29, 2020 4:36 pm
@ the owners of a Sony x700 player. @ragico(thank's a lot) found a workaround to the bug that forces you to reboot your player after any playback of a dual-layer profile 7 TS file.

play & stop this LG demo and it will somehow reset the player. You have to do that every time you stop playback of a dual-layer TS.
It's not an ideal solution but it's better than having to reboot the player.

the file: https://drive.google.com/file/d/1ZRwhD- ... sp=sharing


Also, I thought the single track FEL (EL+RPU) didn't work on the x700 but apparently some files will work. So I'm now able to compare a single track FEL file to the original disc on the x700.
If the FEL single track files are done properly, I will be able to tell if the Shield can play the FEL metadata or if it's just ignoring it.
Hello,

Can you please share steps you made to create this file? And what software versions you used (TS muxer)?
I have tried many times to create a working .ts file from my UHD Bluray, but it does not play on my Hisense U8QF via USB. Says file is not supported.
Your file works and triggers DV.

From all the methods described in this long conversation only yusesope's method is working for me and then muxing it with mp4muxer. Plays on my TV with all DV profiles. The problem is that with this method I don't know how to encode subtitles from .srt file. My TV doesn't read external subtitles from a separate file in mp4 container for some reason. I would really appreciate if someone could help with suggestion on this matter.

Thank you in advance!
Last edited by Koceens on Sun Oct 04, 2020 5:34 pm, edited 1 time in total.
spezi
Posts: 12
Joined: Wed May 01, 2019 4:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spezi »

whiplash1 wrote:
Alright but will Makemkv combine the base layer and enhancement layer into a single BL_EL_RPU stream for FEL movies?
Yes.
Open film.mkv in MakeMKV:
video: MpegH HEVC Main10@L5.1 (dvhe 07.06 BL+EL+RPU)

Only single track.
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

I've created a lot of samples of the so-called bathroom fight scene from MI Fallout (which is considered to be one of the best scenes for DV testing), in basically all formats for testing purposes:

FEL DTDL ISO: https://we.tl/t-ULqcqHX5UF
MEL DTDL ISO: https://we.tl/t-QCnGWO6BLg
FEL STDL TS: https://we.tl/t-ZjRQW5MvXp
MEL STDL TS: https://we.tl/t-t9Wyhoj13S
FEL STDL mkv: https://we.tl/t-m37JLz8GtM
MEL STDL mkv: https://we.tl/t-T9birvQfHC
Profile 8.1 STSL TS: https://we.tl/t-YjwVzKmar3
FEL x265 DTDL ISO: https://we.tl/t-GRs0U07umW
FEL x265 STDL mkv: https://we.tl/t-bfUqVCblJ8
FEL x265 STDL TS: https://we.tl/t-bE54zCPw2G

Would be great if others could test and compare them. I know re-encoded BL is not supposed to work, but it seems fine to me, maybe someone can point out what's wrong with it.
Last edited by PapitaHD on Sun Oct 04, 2020 9:50 pm, edited 1 time in total.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Shield Single-layer P8 PLEX vs Shield Single-layer P5 Movies Anywhere app
https://screenshotcomparison.com/comparison/6833

Shield Single-layer P8 vs Sony x700 Single-layer P8
https://screenshotcomparison.com/comparison/6834

I wanted to compare the SL P8 file on the x700 with Vudu SL P5 but accessing that streaming service is a bit tricky because I'm not in the USA.
I tried a couple of different IP with a VPN but it kept failing to connect. There is no Movies Anywhere app on the x700.

yusesope wrote:
Sat Oct 03, 2020 3:02 pm
I'm already going to make popcorn :lol: !
I look forward to your comparisons as much as an episode of my favorite TV series :D !
:lol:
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by blenky »

yusesope wrote:
Sun Oct 04, 2020 9:41 am
blenky wrote:
Sat Oct 03, 2020 7:41 pm
The final MKV plays in DV fine for a few minutes but then gets choppy.
Why don't you also try an mp4 and/or ts file?
Also, you don't need to create an mp4 file before creating the ISO with TsMuxeR. Import the HEVC raw stream directly in TsMuxeR.
The reason I convert to MKV from ISO is that in previous tests the output from tsmuxer would only play HDR10. The creation of the MKV file fixed this. That' seems to have changed as did quick test creating .ts file with tsmuxer (using the HEVC file and audio from UHD) and DV was present. Will output complete 1917 movie as ts and retest.

As for creating an MP4 file I don't know how to use mp4muxer to mux the HEVC and Atmos audio file from the UHD!
blenky
Posts: 24
Joined: Fri Oct 02, 2020 12:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by blenky »

Tomas wrote:
Sun Oct 04, 2020 10:15 am
blenky wrote:
Sat Oct 03, 2020 7:41 pm
Did some more testing again as follows on 1917 UHD to play on Zidoo Z9X

Process below I used recommended versions of all software
  • created BL.hevc and EL.hevc using ffmpeg
  • MUX_AND_CONVERT_TO_PROFILE_81.bat to create BL_EL_RPU.hevc
  • mp4muxer with BL_EL_RPU.hevc to create .mp4
  • tsmuxer to create iso muxing .mp4 and atmos audio from UHD
  • Finally used makemkv on the ISO created in last step. I need to do this as the ISO created plays back in HDR10
The final MKV plays in DV fine for a few minutes but then gets choppy.
Hi, I also have a Zidoo z9x. I was rehearsing a Ninja Turtles movie. I converted in MUX_AND_CONVERT_TO_PROFILE_81.bat, I converted the resulting file to .ts. The film plays, but then the film starts to tear.
Now I'm going to try to convert the movie Transformers. I'll write how I ended up.
I'm redoing 1917. This time the process is simply to use tsmuxer to create ts file muxing HEVC and atmos audio from UHD.

Already have HEVC from previous tests
Post Reply