Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

sw5163 wrote:
Wed Sep 14, 2022 4:19 pm
kazuma wrote:
Wed Sep 14, 2022 10:46 am
there are no more 2 videofiles on rarbg with dolby vision movies (mkv remux). where is the dv-metadata in the files? is it from now on 1 videofile?
FEL can be either BL track+EL_RPU track or a single BL+EL+RPU track.
Dolby Vision is really complicated, you may want to do more research to learn how it actually works.
sw5163 wrote:
Mon Jul 18, 2022 6:59 am
In human words:
BL(base layer): an HDR10 2160p YCbCr 4:2:0 10-bit video.
Dolby Vision fall back to this when not supported.

EL(enhancement layer): an HDR10 1080p YCbCr 4:2:0 10-bit video.
Supported device use BL and EL to mux a final 4:2:2 12-bit video.

RPU(reference processing unit): To indicate how filmmaker would like the video to be separately shown on 100nitSDR/600nit/1000nit/10000nit display. (despite the actual brightness record in BL)

There are basically 4 types of Dolby Vision video:
Profile 5(streaming): ICtCp 4:2:0 10-bit video + RPU.
It uses a more efficient color coding, but appear green and purple on non support device.

Profile 8.1: BL+RPU
Profile 8.4: Dolby Vision shot on iPhone, HLG BL+RPU

FEL(Full Enhancement Layer)
Profile 7 DT_DL FEL: BL in one video track, EL+RPU in another video track.
Profile 7 ST_DL FEL: BL+EL+RPU in one same video track.

MEL(Minimum Enhancement Layer)
Profile 7 MEL: BL+RPU same as 8.1 just in bluray container.

Please don't hesitate to point out my mistake!
you're right. i've got dolby vision on elvis with the program of reset_9999. While elvis had 1 videotrack in the mkv remux file. thnx. learnt again.
Donpoku
Posts: 62
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

Hi do anyone still have their Ugoos am6/b plus and can test/confirm if it does 3d either MVC/iso playback?
Many thanks.
danbez
Posts: 13
Joined: Tue Nov 27, 2018 6:08 am

Re: Dolby Vision now possible through MP4 Mux.

Post by danbez »

Is anyone familiar with a project called DoViBaker? https://github.com/erazortt/DoViBaker

My understanding from the project description is that this project claims to merge FEL into the BL. Now, I am not super familiar with all improvements reported here in this mega-thread, but if this is correct, would the resulting file allow us to take advantage of FEL improvements on devices that can't handle the FEL info directly?
Last edited by danbez on Sun Sep 18, 2022 1:34 am, edited 1 time in total.
chros
Posts: 102
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros »

bobbymkV wrote:
Wed Sep 14, 2022 5:03 pm
chros wrote:
Sun Sep 11, 2022 9:00 am
I just noticed that Plex client doesn't work without internet connection with local Plex server, wtf, Jellyfin came to the rescue.
I've been using Trick One listed on this site for years.

https://www.howtogeek.com/303282/how-to ... et-access/
Thanks, I had to reinstall Plex couple of months ago and I forgot about this option, now I added it back in the form of "192.168.1.0/24", it will turn out next time whether it works.
RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Thu Sep 15, 2022 9:45 pm
you're right. i've got dolby vision on elvis with the program of reset_9999. While elvis had 1 videotrack in the mkv remux file. thnx. learnt again.
I've added dual-track dual-layer input support for (4-2) in DoVi_Scripts_1.5.6
https://drive.google.com/drive/u/1/fold ... J2M9DvOQRu
kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote:
Sat Sep 17, 2022 3:25 pm
kazuma wrote:
Thu Sep 15, 2022 9:45 pm
you're right. i've got dolby vision on elvis with the program of reset_9999. While elvis had 1 videotrack in the mkv remux file. thnx. learnt again.
I've added dual-track dual-layer input support for (4-2) in DoVi_Scripts_1.5.6
https://drive.google.com/drive/u/1/fold ... J2M9DvOQRu
you are incredible man. for which scenario is this the best choice? also what must i choose for the third choice?
RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Sat Sep 17, 2022 5:27 pm
you are incredible man. for which scenario is this the best choice? also for the third choice?
For when you have any MKV Profile 7 input (DT or ST): 4-2-3
If you can, I suggest you input the original bluray disc instead of some random mkv remux: 4-1-1
This is for LG TV playback. For x700/x800m2/oppo, just use the original bluray disc to TS with tsmuxer.
kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

do you have a videogif example to do this? you're gifs are very useful. (original bluray to TS with tsmuxer). i didn't that step before. i did only mkv to bluray folder and then to ts.
RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Sat Sep 17, 2022 5:47 pm
do you have a gif example to do this? you're gifs are very useful. (original bluray to TS with tsmuxer). i didn't that step before. i did only mkv to bluray folder and then to ts.
I also did a bunch of other gif showing other things you can do with the script:
https://drive.google.com/drive/u/1/fold ... OVQkvbGaq8


Image

Image
kazuma
Posts: 162
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

Thank you reset_9999! i'm gonna try it tonight. what is the fastest method to convert? the duration is very long. is the convert time with a full bluray much shorter?

another question: Are the new lg oled models playing DV mp4 and ts files via usb? or only profile 8? what is the profit of an LG C9? that it can play also profile 7?
RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Sun Sep 18, 2022 9:39 am
Thank you reset_9999! i'm gonna try it tonight. what is the fastest method to convert? the duration is very long. is the convert time with a full bluray much shorter?

another question: Are the new lg oled models playing DV mp4 and ts files via usb? or only profile 8? what is the profit of an LG C9? that it can play also profile 7?
check the link in my signature.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

I’ve tested encoding on both windows & Mac
Doblyvision encoding:on windows & Mac
Using cpu to encode produced fantastic results ONLY using CPU.(encode takes a very long time) results are extraordinary
Ofcourse source matters.
Did anyone ever do an visual analysis of a uhd using its native Rpu vs a frame by frame analysis Rpu produced by resolve?

Both Rpu produced from windows & Mac look the same no official sceane count just frame count total so I guess that’s the way resolve handles Profile 5/8.1/8.4
RESET_9999
Posts: 2090
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

↑↑

original vs resolve 2.9 vs hdr10plus vs hdr10 madvr vs resolve 4.0

https://slow.pics/c/ipOD7eqm
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Being that I can uterlize out put blanketing within my frame by frame analysis, trying to determine which will produce the best visual results this mode is for dv live encoding. According to doblyvision notes,
I can also do an 8.1 with both types of Rpu out from resolve using both analysis modes to compare

Futher testing with profile 5 & imfs ,
Tested using a decklink monitor card to oled & shogun, when the external hdr monitor match’s p3d65 or bt2020 of the imf meta data is passed to profile 5
Portals
Posts: 1
Joined: Mon Sep 19, 2022 1:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Portals »

Registered an account just to say thank you to RESET_9999, as well as everyone else. I'm finally able to play Dolby Vision content on my LG C2 via Jellyfin's WebOS app by simply converting Dolby Vision Profile 7 to Profile 8. I'm new to DV and had no idea that DV Profile 7 wasn't supported by a whole lot of devices yet.

Just in case any poor soul is having the problem I was having, here is what I did — using RESET_9999's scripts

Input file (Dolby Vision 7)

Code: Select all

General
Unique ID                   : 108575998620693720312303693169930654183 (0x51AEFA08EA461E97531FBEFC934DD1E7)
Complete name               : C:\Tools4Movies\John.Wick.2014.2160p.BluRay.REMUX.HEVC.DV.TrueHD.Atmos.7.1-Flights_1.mkv
Format                      : Matroska
Format version              : Version 4
File size                   : 65.2 GiB
Duration                    : 1 h 41 min
Overall bit rate mode       : Variable
Overall bit rate            : 92.2 Mb/s
Movie name                  : John Wick (2014) 4K DV
Encoded date                : UTC 2022-06-19 11:23:51
Writing application         : mkvmerge v67.0.0 ('Under Stars') 64-bit
Writing library             : libebml v1.4.2 + libmatroska v1.6.4

Video
ID                          : 1
ID in the original source m : 4113 (0x1011)
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5.1@High
HDR format                  : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 1 h 41 min
Bit rate                    : 85.9 Mb/s
Width                       : 3 840 pixels
Height                      : 2 160 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0 (Type 2)
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.432
Stream size                 : 60.7 GiB (93%)
Language                    : English
Default                     : No
Forced                      : No
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light : 227 cd/m2
Original source medium      : Blu-ray

Audio #1
ID                          : 2
Format                      : MLP FBA 16-ch
Format/Info                 : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name             : Dolby TrueHD with Dolby Atmos
Codec ID                    : A_TRUEHD
Duration                    : 1 h 41 min
Bit rate mode               : Variable
Bit rate                    : 4 955 kb/s
Maximum bit rate            : 9 456 kb/s
Channel(s)                  : 8 channels
Channel layout              : L R C LFE Ls Rs Lb Rb
Sampling rate               : 48.0 kHz
Frame rate                  : 1 200.000 FPS (40 SPF)
Compression mode            : Lossless
Stream size                 : 3.50 GiB (5%)
Title                       : TrueHD Atmos 7.1
Language                    : English
Default                     : Yes
Forced                      : No
Number of dynamic objects   : 15
Bed channel count           : 1 channel
Bed channel configuration   : LFE

Audio #2
ID                          : 3
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Format settings             : Dolby Surround EX
Codec ID                    : A_AC3
Duration                    : 1 h 41 min
Bit rate mode               : Constant
Bit rate                    : 640 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Compression mode            : Lossy
Stream size                 : 463 MiB (1%)
Title                       : AC3 5.1
Language                    : English
Service kind                : Complete Main
Default                     : No
Forced                      : No

Audio #3
ID                          : 4
Format                      : AC-3
Format/Info                 : Audio Coding 3
Commercial name             : Dolby Digital
Format settings             : Dolby Surround
Codec ID                    : A_AC3
Duration                    : 1 h 41 min
Bit rate mode               : Constant
Bit rate                    : 224 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Compression mode            : Lossy
Stream size                 : 162 MiB (0%)
Title                       : Commentary by Filmmakers Chad Stahelski & David Leitch
Language                    : English
Service kind                : Complete Main
Default                     : No
Forced                      : No
Image

Once this process is done, tsMuxeR should open automatically. You should have a P8 file and a E-AC3 file now. All you have to do is feed it those two files and select your desired output format. Pick whichever your media player or TV supports. Thankfully .ts is widely supported on most devices so that should suffice. If in doubt, refer to RESET_9999's incredible playback compatibility chart.

Image

Resulting file is now Dolby Vision 8!

Code: Select all

General
ID                          : 0 (0x0)
Complete name               : C:\Tools4Movies\John.Wick.2014.2160p.BluRay.REMUX.HEVC.DV.TrueHD.Atmos.7.1-Flights_1_P8.ts
Format                      : MPEG-TS
File size                   : 54.2 GiB
Duration                    : 1 h 41 min
Overall bit rate mode       : Variable
Overall bit rate            : 76.6 Mb/s
Maximum Overall bit rate    : 35.5 Mb/s

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.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                    : 36
Duration                    : 1 h 41 min
Bit rate                    : 71.3 Mb/s
Width                       : 3 840 pixels
Height                      : 2 160 pixels
Display aspect ratio        : 16:9
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0 (Type 2)
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.358
Stream size                 : 50.4 GiB (93%)
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light : 227 cd/m2

Audio
ID                          : 4352 (0x1100)
Menu ID                     : 1 (0x1)
Format                      : E-AC-3
Format/Info                 : Enhanced AC-3
Commercial name             : Dolby Digital Plus
Codec ID                    : 132
Duration                    : 1 h 41 min
Bit rate mode               : Constant
Bit rate                    : 1 536 kb/s
Channel(s)                  : 6 channels
Channel layout              : L R C LFE Ls Rs
Sampling rate               : 48.0 kHz
Frame rate                  : 62.500 FPS (768 SPF)
Compression mode            : Lossy
Stream size                 : 1.09 GiB (2%)
Service kind                : Complete Main
It turns out that the Dolby Vision master for John Wick doesn't add a whole lot. Still, it's a great film and this was a great learning experience.

Again, thank you so much to RESET_9999 for your amazing scripts, the authors of the tools, and everyone on the forums who contributed their knowledge. You guys make this world a better place to live in :]
Post Reply