Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

MartyMcNuts wrote:
Tue May 26, 2020 3:52 am
Hey Marty,

Yes sir, I tried both of your samples... So the DV profile 7 sample didn't work at all off the USB with a hard drive on my c9.

The profile 6 one just kept trying to do load and nothing... I think the best profile for direct play off an LG TV is DV profile 4. That works for the bluray rips too because it supports the 1:1/4 BL/EL ratio that comes on UHD bluray's with DV.

I'm able to get profile 04.06 DV files to play... again, the bitrate is just too high for the C9 SOC, so I'm trying to figure out a way to compress the BL without breaking the DV. Looks like I've got some good feedback - I'll report on this thread if I'm able to get it to work.

I'll also report on my full workflow (all software involved from backup using MKV to final output/playback).

Thanks for your help tho Marty, always worth a shot!
[/quote]

Hi stephon1024,

Here are a couple more samples for you to try. They are all profile 4.

MP4 sample: https://www.mediafire.com/file/yd16poxk ... 9.zip/file

TS sample 1: https://www.mediafire.com/file/dyud6pxl ... 9.zip/file

TS sample 2: https://www.mediafire.com/file/flnswvgk ... 4.zip/file


Let me know how you go...
[/quote]

profile 7 works fine on my c9..
deadchip12
Posts: 372
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

MartyMcNuts wrote:
Tue May 26, 2020 3:52 am


Hi stephon1024,

Here are a couple more samples for you to try. They are all profile 4.

MP4 sample: https://www.mediafire.com/file/yd16poxk ... 9.zip/file

TS sample 1: https://www.mediafire.com/file/dyud6pxl ... 9.zip/file

TS sample 2: https://www.mediafire.com/file/flnswvgk ... 4.zip/file


Let me know how you go...
Wow could you show me how you created these? This is the first time a .mp4 & .ts dolby vision version of Gemini Man that my c9 is able to play smoothly at the correct 60 fps via external hdd.
MartyMcNuts
Posts: 4018
Joined: Wed Nov 22, 2017 11:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by MartyMcNuts »

deadchip12 wrote:
Wed May 27, 2020 5:40 am
MartyMcNuts wrote:
Tue May 26, 2020 3:52 am


Hi stephon1024,

Here are a couple more samples for you to try. They are all profile 4.

MP4 sample: https://www.mediafire.com/file/yd16poxk ... 9.zip/file

TS sample 1: https://www.mediafire.com/file/dyud6pxl ... 9.zip/file

TS sample 2: https://www.mediafire.com/file/flnswvgk ... 4.zip/file


Let me know how you go...
Wow could you show me how you created these? This is the first time a .mp4 & .ts dolby vision version of Gemini Man that my c9 is able to play smoothly at the correct 60 fps via external hdd.
Good to know deadchip12.

Did you try all 3 samples?
Did all of them work?
Was DV recognized and colors appear correctly?
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com
bl4ck
Posts: 16
Joined: Sun Jul 21, 2019 6:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bl4ck »

hmm kodi 19 support DV single layer?
deadchip12
Posts: 372
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

MartyMcNuts wrote:
Wed May 27, 2020 6:25 am
deadchip12 wrote:
Wed May 27, 2020 5:40 am
MartyMcNuts wrote:
Tue May 26, 2020 3:52 am


Hi stephon1024,

Here are a couple more samples for you to try. They are all profile 4.

MP4 sample: https://www.mediafire.com/file/yd16poxk ... 9.zip/file

TS sample 1: https://www.mediafire.com/file/dyud6pxl ... 9.zip/file

TS sample 2: https://www.mediafire.com/file/flnswvgk ... 4.zip/file


Let me know how you go...
Wow could you show me how you created these? This is the first time a .mp4 & .ts dolby vision version of Gemini Man that my c9 is able to play smoothly at the correct 60 fps via external hdd.
Good to know deadchip12.

Did you try all 3 samples?
Did all of them work?
Was DV recognized and colors appear correctly?
Hmm...turns out only the first 2 work. The 3rd one says "the file cannot be recognized".
Are these all profile 4 and single layer? Reading your previous posts, it seems like you reduced the bit rate of the film on these files?
MartyMcNuts
Posts: 4018
Joined: Wed Nov 22, 2017 11:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by MartyMcNuts »

deadchip12 wrote:
Wed May 27, 2020 9:54 am
MartyMcNuts wrote:
Wed May 27, 2020 6:25 am
deadchip12 wrote:
Wed May 27, 2020 5:40 am


Wow could you show me how you created these? This is the first time a .mp4 & .ts dolby vision version of Gemini Man that my c9 is able to play smoothly at the correct 60 fps via external hdd.
Good to know deadchip12.

Did you try all 3 samples?
Did all of them work?
Was DV recognized and colors appear correctly?
Hmm...turns out only the first 2 work. The 3rd one says "the file cannot be recognized".
Are these all profile 4 and single layer? Reading your previous posts, it seems like you reduced the bit rate of the film on these files?
Yes, I re-encoded the BL at approx 25000k.

Here is the mediainfo for the MP4 & the first TS:

Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 28 s 895 ms
Bit rate : 27.1 Mb/s
Width : 3 840 pixels
Height : 2 176 pixels
Original height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.054
Stream size : 93.2 MiB (91%)
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 5180 cd/m2
Maximum Frame-Average Light : 1577 cd/m2
Codec configuration box : hvcC

Video #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.04.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 28 s 928 ms
Bit rate : 2 636 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 9.09 MiB (9%)
Language : English
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC


For the 1st TS file, I just did the old "change the file extension" trick and that TS file has worked for you.



The 3rd file (other TS file) I created using yusesope's 0.0.4 tool and TS muxer but this file is not quite right. Mediainfo shows it as "Dolby Vision, Version 1.0, dvhe.04.0A, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible". I'm not sure why it comes out as 04.0A?? I wonder if there is any way to hex edit the 0A to 09??

Here is the mediainfo for it:

Video
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.04.0A, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 28 s 878 ms
Bit rate : 28.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.058
Stream size : 99.6 MiB (95%)
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 5180 cd/m2
Maximum Frame-Average Light : 1577 cd/m2


Anyone have any ideas??
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com
deadchip12
Posts: 372
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

MartyMcNuts wrote:
Thu May 28, 2020 3:27 am
Yes, I re-encoded the BL at approx 25000k.

Here is the mediainfo for the MP4 & the first TS:

Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 28 s 895 ms
Bit rate : 27.1 Mb/s
Width : 3 840 pixels
Height : 2 176 pixels
Original height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.054
Stream size : 93.2 MiB (91%)
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 5180 cd/m2
Maximum Frame-Average Light : 1577 cd/m2
Codec configuration box : hvcC

Video #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.04.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 28 s 928 ms
Bit rate : 2 636 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 9.09 MiB (9%)
Language : English
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC
How did you make a profile 4 dolby vision mp4 like this? Could you let me know the steps? Previously I used profile 7 (and maybe 5 or 6) and the file always stuttered. Not sure if this time it plays smoothly because of profile 4 or lower bitrate.
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

since yesterday i'm using the M9702 player. The DV PQ is far better in 4K iso, comparing to the profile 7 mp4's. i'm curious what the reason is? are we getting fake DV with mp4? or is the PQ of the box so good?
MartyMcNuts
Posts: 4018
Joined: Wed Nov 22, 2017 11:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by MartyMcNuts »

deadchip12 wrote:
Thu May 28, 2020 9:36 am
MartyMcNuts wrote:
Thu May 28, 2020 3:27 am
Yes, I re-encoded the BL at approx 25000k.

Here is the mediainfo for the MP4 & the first TS:

Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 28 s 895 ms
Bit rate : 27.1 Mb/s
Width : 3 840 pixels
Height : 2 176 pixels
Original height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.054
Stream size : 93.2 MiB (91%)
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 5180 cd/m2
Maximum Frame-Average Light : 1577 cd/m2
Codec configuration box : hvcC

Video #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.04.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID : dvhe
Codec ID/Info : High Efficiency Video Coding with Dolby Vision
Duration : 28 s 928 ms
Bit rate : 2 636 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 9.09 MiB (9%)
Language : English
Default : No
Encoded date : UTC 2020-05-26 02:37:14
Tagged date : UTC 2020-05-26 02:37:14
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0010 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC
How did you make a profile 4 dolby vision mp4 like this? Could you let me know the steps? Previously I used profile 7 (and maybe 5 or 6) and the file always stuttered. Not sure if this time it plays smoothly because of profile 4 or lower bitrate.
To make the mp4, I used the Dolby Vision MP4Muxer from the first post (using my re-encoded BL and the EL) with command:

mp4muxer_64bits.exe --dv-profile 4 --input-file (BL.hevc) --input-file (EL.hevc) --output-file (test_sample.mp4)
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com
dontknowjack
Posts: 12
Joined: Thu May 28, 2020 1:14 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dontknowjack »

So guys is MakeMKV preserving DV metadata/tracks/etc when remuxing into the mkvs? I want to be sure as I want a 1:1 copy of the movie (not the whole blu-ray) on my computer, I don't care if there is playing support or not, I just want all the data from the m2ts file in the mkv, is that possible/is that what currently MakeMKV is doing?
Sorry if this is a dumb question but there are 160 pages on this topic.
deadchip12
Posts: 372
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

MartyMcNuts wrote:
Thu May 28, 2020 11:33 am
To make the mp4, I used the Dolby Vision MP4Muxer from the first post (using my re-encoded BL and the EL) with command:

mp4muxer_64bits.exe --dv-profile 4 --input-file (BL.hevc) --input-file (EL.hevc) --output-file (test_sample.mp4)
Ok I just tried that and the file still didn't play at the correct 60fps. I guess lower bitrate is the reason why your samples play smoothly then. It seems sadly the C9's processor or internal player is not powerful enough to handle high bitrate 60fps uhd movies.
box4m
Posts: 68
Joined: Tue Sep 10, 2019 7:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by box4m »

kazuma wrote:
Thu May 28, 2020 10:29 am
since yesterday i'm using the M9702 player. The DV PQ is far better in 4K iso, comparing to the profile 7 mp4's. i'm curious what the reason is? are we getting fake DV with mp4? or is the PQ of the box so good?
Also interested in this question
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Not sure about DV7 mp4's, but look back a couple pages at the comments made by @PapitaHD mentioning that he has not noticed any difference between the remuxes made using yusecope's tool and the bdmv iso with an m9702.
RESET_9999
Posts: 2383
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Thu May 28, 2020 10:29 am
since yesterday i'm using the M9702 player. The DV PQ is far better in 4K iso, comparing to the profile 7 mp4's. i'm curious what the reason is? are we getting fake DV with mp4? or is the PQ of the box so good?
untouched ISO (or bluray disc) is the same as dual layer profile 7 mp4 (or TS). I've made a comparison a while ago with my Sony x700 and my C8 internal player, it's identical: no difference at all.
see: https://slow.pics/c/feEmrLAZ
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
stephon1024
Posts: 14
Joined: Thu May 21, 2020 8:30 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by stephon1024 »

PapitaHD wrote:
Mon May 25, 2020 7:59 am
stephon1024 wrote:
Mon May 25, 2020 2:28 am
PapitaHD wrote:
Sun May 24, 2020 9:15 am


I've experimented a lot, re-encoding the BL layer with staxrip/x265 and 0.0.4alfa always merged it with EL without any problem. Also I have an m9702 so I can just mux the re-encoded BL and EL into full UHD BDVM structure (with tsMuxeR) and DV works. I spent hours by testing the results (re-encoded BL+EL), comparing them scene by scene to the HDR10 base layer and also to the full untouched UHD BluRay on my LG C8 Oled and I really beleive this method works perfectly. I've never noticed any difference between the files with re-encoded BL and the full UHD BluRays, but the differences were pretty significant comparing them to the untouched HDR10-base layer. I used the following movies for my tests: Aquaman, The Meg, Fantastic Beasts 2, Midway, Game of Thrones S08E03.
Using the right x265 settings, only the bitrate will be lower but everything else (including the HDR10 metadata) will be the same as in the original BL so I don't see why wouldn't it work.
PapitaHD - appreciate the feedback. I'm going to grab staxrip and see what I can do. Anything I should know about what x265 settings to use when doing this?

Thanks,
You should always use crf, and also check the following settings in the x265 options menu of staxrip:
Vui page: HDR10 - yes; Block-level luma and chroma QP optimization for HDR10 content - check this box
Slice Decision page: Open gop - uncheck (no open-GOP); min GOP size 1, Max GOP size 24
Hey Papita, thanks so much for the help. I'm encoding with these settings right now.

I'll report back when it's done and let you know. Out of curiosity, did you even touch the EL layer? I'm hoping this works by simply compressing the BL layer...

The nice thing is that TS muxer should then be able to take the BL+EL+RPU and mux it into a 04.06 TS file. That's what I did before with the uncompressed bluray layers and it "worked" on my C9... but again like I said, my C9's SOC can't handle full UHDs and that makes sense... it's not a 4K UHD bluray player... It's at best designed to playback highly compressed streams. So i'm hoping simply compressing these will fix the issue.

Again, thanks for the help! Looking forward to getting this DV rips working without a UHD bluray player!

When I'm done with this... I'm going to post a big post with my full workflow from the actual disk backup using makemkv to the final output that plays back using a USB disk on my LG C9. Hopefully that helps everyone on this forum. Appreciate all the great feedback, what an awesome community!!!!
Post Reply