Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
TickTock
Posts: 23
Joined: Fri Apr 17, 2020 2:39 am

Re: Dolby Vision now possible through MP4 Mux.

Post by TickTock » Sun Jan 10, 2021 8:51 pm

agneva wrote:
Sun Jan 10, 2021 8:01 pm
did you try my Ryan Samples?

UBK90 plays m2ts/ts/BluRay folder from USB only the BL HDR10 :-( no DV
Did you use tsMuxeR to mux the file to m2ts/ts? In order for the x700 to play Dolby Vision files they have to be muxed using tsMuxeR.
I've been using version nightly-2020-11-17--01-21-46:

https://bintray.com/justdan96/tsMuxer/t ... 1-46#files

I've just seen nightly releases have resumed over the last month but I haven't tested a version later than above.

Mouth_of_Sauron
Posts: 22
Joined: Sun Feb 17, 2019 8:33 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mouth_of_Sauron » Sun Jan 10, 2021 11:13 pm

Mouth_of_Sauron wrote:
Sun Jan 10, 2021 8:29 pm
Haven't used MP4Muxer in a while, and for some reason now it finishes "processing" immediately and just creates a 0KB file (no error messages).
OK, so this just seem to be a problem with The Invisible Man. This is a Universal release with FEL, but Back to the Future is also a Universal release with FEL and that processes fine.

Has anyone managed to create a DV mp4 of The Invisible Man?

DaMacFunkin
Posts: 259
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Mon Jan 11, 2021 6:06 am

deadchip12 wrote:
Sun Jan 10, 2021 11:02 am
DaMacFunkin wrote:
Sat Jan 09, 2021 7:25 am
It has a much better peak processing in HDR content compared to the C8.
Any proof on this? Because measurements show the CX have lower peak brightness in hdr compared to previous oled generations.
Ok so I I ‘presumed’ a little,‘I have the C9 and that definitely has better peak processing than the C8 as it has a newer chip the 2nd gen a9 which was specifically implemented for that purpose and has been confirmed in reviews and also many times on the Calman forum.
The CX has the higher gen3 version of the a9, if it isn’t peak processing higher than the C8 then it must be down to the out of the box settings as I have never heard anyone say that on the Calman forums.

RESET_9999
Posts: 393
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Jan 11, 2021 12:06 pm

according to rtings:

C8 / C9 / CX

Image Image Image

peak brightness is better on C9 but overall the C8 seem brighter especially at 100%
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file

Wanderlust3K
Posts: 16
Joined: Tue Dec 08, 2020 1:06 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Wanderlust3K » Mon Jan 11, 2021 2:49 pm

My findings with latest LG (CX) firmware (3:21.09)

1- Demux layers from a UHD remux (BL , EL+RPU, AC3 Audio*)

2- (OPTIONAL) Reencode the BL layer (ffmpeg x265 & NO CROP !!!)

Code: Select all

ffmpeg.exe -i UHDREMUX.mkv -c:v libx265 -x265-params "level=5.1:colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:chromaloc=2:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50):max-cll=636,103:keyint_min=25" -crf 17 -preset medium -an BL.hevc
3- Remux (MP4Muxer_64bits.exe v:1.0.0) Reencoded BL layer + EL-RPU + AC3 layers into .MP4 file

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 -i BL.h265 -i EL.h265 --dv-input-es-mode comb -i Audio.ac3 -o OUTPUT.mp4 --mpeg4-comp-brand mp42,iso6,isom,msdh,dby1 --overwrite
NOTE: --dv-input-es-mode split DID NOT PRODUCE A WORKING FILE WITH A REENCODED BL layer, --dv-input-es-mode comb DID WORK* WITH A REENCODED BL layer.

NOTE: You can demux previously muxed .mp4 DV files using the MP4Demuxer.exe.
ie:

Code: Select all

mp4demuxer.exe --input-file INPUT.mp4

Congratulations, you won a working Dolby Vision .MP4 file, 15GB instead of 75GB (tested with LG internal Plex app).

NOTE: If you have plenty of HD storage or/and just want to keep the original quality, omit the Reencoding part (step 2).


*ISSUES:

1- Seeking not working.
Last edited by Wanderlust3K on Thu Jan 14, 2021 11:02 pm, edited 4 times in total.

daicon
Posts: 7
Joined: Mon Jan 11, 2021 10:37 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by daicon » Mon Jan 11, 2021 10:54 pm

RESET_9999 wrote:
Wed Jan 06, 2021 1:35 am
Dolbybotdolbybone wrote:
Tue Jan 05, 2021 11:52 pm

Thanks! I have also had questions about Dolby Vision profiles for a while and I never get a straight answer. So, to my understanding, profile 7 is only available on ultra blue ray discs and contains an extra layer called the enhancement layer which allows the content to achieve 12-bit color. If this is true, is profile seven definitely higher quality than profile 5? Also, is there a way to have profile 7 content in a local file? If so, what tv's/receivers/top boxes are compatible with profile 7? One last thing is that I have heard Low Latency Dolby Vision only has a minimal enhancement layer and not a full enhancement layer. What profile is LLDV and is it worse quality than regular dolby vision?

For my previous question about my file, do I have to have a Dolby Vision compatible moniter, top box (shield), and HDMI cable for this to work or can I plug my DV compatible monitor straight into my 2018 macbook air? And are there other top-boxes compatible with DV profile 5 and 7? Sorry again for all the questions :).
fel vs mel vs streaming:
https://forum.blu-ray.com/showpost.php? ... tcount=119

yes, single layer p5 DV is only compatible with DV hardware. I would say most (if not all) DV hardware supports p5.
for dual layer p7, your playback options are more limited:

1-The shield can play p7 DV but has the famous red push issue: https://screenshotcomparison.com/comparison.php?id=9580 and probably does not support FEL
the shield is also not 100% perfect with p5 content, see:
shield vs LG C8: https://screenshotcomparison.com/comparison.php?id=9663
shield vs x700: https://screenshotcomparison.com/comparison.php?id=9662
x700 vs LG C8: https://screenshotcomparison.com/comparison.php?id=9661

2- The Oppo and Sony x700 /x800 can play p7 FEL with lossless audio/subs and have no colors issue.
3- FireStick TV, can play p7 but only MEL and has no color issue.
4- probably some other bluray players can play p7 FEL with lossy audio.


LLDV(player-led 422 12bits) is the player doing the tonemapping and regular DV (tv-led 8bit RGB) is the TV doing the work. Therefore, tv-led DV is superior to player-led DV.
Thank you very much for the information. Very useful.

I wanted to ask:
1- What are the chances that nvidia will solve your colour problem with the Nvidia Shield in DoVi? I've been waiting for months, and I'm giving it up :-(
2- Is there any other external player, which is compatible with FEL, and has a PLEX or Kodi interface? (I imagine that sony players do not....)
3- Is there a software option to add FEL support to the Fire Stick?



Translated with www.DeepL.com/Translator (free version)

DaMacFunkin
Posts: 259
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Tue Jan 12, 2021 7:21 am

RESET_9999 wrote:
Mon Jan 11, 2021 12:06 pm
according to rtings:

C8 / C9 / CX

Image Image Image

peak brightness is better on C9 but overall the C8 seem brighter especially at 100%
Probably because the abl isn’t as aggressive, tbh I also have a C7 (same chip as C8 I believe) and it isn’t noticeably as bright as the C9 in HDR10, Dolby Vision is more comparable once dialled in correctly.
Anyway, have we sussed EL integration lol.

DaMacFunkin
Posts: 259
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Tue Jan 12, 2021 7:25 am

Wanderlust3K wrote:
Mon Jan 11, 2021 2:49 pm
My findings with latest LG (CX) firmware (3:21.09)

1- Demux layers from a UHD remux (BL , EL+RPU, AC3 Audio*)

2- (OPTIONAL) Reencode the BL layer (ffmpeg x265 & NO CROP !!!)

Code: Select all

ffmpeg.exe -i UHDREMUX.mkv -c:v libx265 -x265-params "level=5.1:colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:chromaloc=2:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50):max-cll=636,103:keyint_min=25" -crf 17 -preset medium -an BL.hevc
3- Remux (MP4Muxer_64bits.exe v:1.0.0) Reencoded BL layer + EL-RPU + AC3 layers into .MP4 file

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 -i BL.h265 -i EL.h265 --dv-input-es-mode comb -i Audio.ac3 -o OUTPUT.mp4 --mpeg4-comp-brand mp42,iso6,isom,msdh,dby1 --overwrite
NOTE: --dv-input-es-mode split DID NOT PRODUCE A WORKING FILE WITH A REENCODED BL layer, --dv-input-es-mode comb DID WORK.

NOTE: You can demux previously muxed .mp4 DV files using the MP4Demuxer.exe.
ie:

Code: Select all

mp4demuxer.exe --input-file INPUT.mp4

Congratulations, you won a working Dolby Vision .MP4 file, 15GB instead of 75GB (tested with LG internal Plex app).

NOTE: If you have plenty of HD storage or/and just want to keep the original quality, omit the Reencoding part (step 2).


ISSUES:

1- Seeking not working, probably due to reencoding BL? (keyint_min=25 param?)
Hi mate, I get the Wierd Science fascination into doing this, and we would all like a media player friendly back up solution... but Dolby Vision is about the quality, a 15gb file can not look as good as a75gb file unless you are watching on a 48” supermarket TV.

RESET_9999
Posts: 393
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 12, 2021 5:22 pm

daicon wrote:
Mon Jan 11, 2021 10:54 pm
Thank you very much for the information. Very useful.
I wanted to ask:
1- What are the chances that nvidia will solve your colour problem with the Nvidia Shield in DoVi? I've been waiting for months, and I'm giving it up :-(
2- Is there any other external player, which is compatible with FEL, and has a PLEX or Kodi interface? (I imagine that sony players do not....)
3- Is there a software option to add FEL support to the Fire Stick?
1- at this point, I lost confidence in Nvidia competence. I don't think this will ever get fixed. (or maybe they just don't care)
2- I don't know any plex/kodi device capable of playing fel with lossless audio
3- The best you can do on the Firestick is to convert FEL to p8.1 + lossy audio. tools here: https://www.makemkv.com/forum/viewtopic ... 970#p96282
Last edited by RESET_9999 on Tue Jan 12, 2021 11:46 pm, edited 1 time in total.
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file

RESET_9999
Posts: 393
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 12, 2021 5:25 pm

DaMacFunkin wrote:
Tue Jan 12, 2021 7:25 am
Hi mate, I get the Wierd Science fascination into doing this, and we would all like a media player friendly back up solution... but Dolby Vision is about the quality, a 15gb file can not look as good as a75gb file unless you are watching on a 48” supermarket TV.
agreed, especially with those encode settings... --preset medium is not very high quality.

in order to encode and preserve quality you must use at least --preset slow or slower

Code: Select all

--crf 15 --preset slower --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --max-luma 1023 --hdr10-opt --repeat-headers --hrd --aud --no-open-gop  --deblock -3:-3 --no-sao --no-strong-intra-smoothing --chromaloc 2
Last edited by RESET_9999 on Tue Jan 12, 2021 5:31 pm, edited 1 time in total.
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file

lexyz
Posts: 89
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz » Tue Jan 12, 2021 5:27 pm

RESET_9999 wrote:
Tue Jan 12, 2021 5:22 pm
daicon wrote:
Mon Jan 11, 2021 10:54 pm
Thank you very much for the information. Very useful.
I wanted to ask:
1- What are the chances that nvidia will solve your colour problem with the Nvidia Shield in DoVi? I've been waiting for months, and I'm giving it up :-(
2- Is there any other external player, which is compatible with FEL, and has a PLEX or Kodi interface? (I imagine that sony players do not....)
3- Is there a software option to add FEL support to the Fire Stick?
1- at this point, I lost confidence in Nvidia competence. I don't think this will ever get fixed. (or maybe they just don't care)
2- I don't know any plex/kodi device capable of playing fel with lossless audio
3- The best you can do on the Firestick is to convert FEL to MEL + lossy audio. tools here: https://www.makemkv.com/forum/viewtopic ... 970#p96282
1 - I think ball is on Dolby side since I doubt NV wrote it's own DV decoder. I suppose they use Dolby's code
3 - Convert to p8. This is the only right way. Convertion to MEL is pointless
Bravia XF90, Shield TV Pro'19, UBP-X700

RESET_9999
Posts: 393
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 12, 2021 5:35 pm

lexyz wrote:
Tue Jan 12, 2021 5:27 pm

1 - I think ball is on Dolby side since I doubt NV wrote it's own DV decoder. I suppose they use Dolby's code
3 - Convert to p8. This is the only right way. Convertion to MEL is pointless
1- Since the issue happens in both tv-led and player-led. I think it's caused by something before or after the file goes through the Dolby engine. (something similar to the bt2020 flag issue with RGB DV)
I don't believe at all that the Dolby SDK is any different than the one on the firestick TV.
3- well both formats will give the same quality, none of them is pointless ....
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file

Wanderlust3K
Posts: 16
Joined: Tue Dec 08, 2020 1:06 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Wanderlust3K » Tue Jan 12, 2021 6:09 pm

DaMacFunkin wrote:
Tue Jan 12, 2021 7:25 am
Hi mate, I get the Wierd Science fascination into doing this, and we would all like a media player friendly back up solution... but Dolby Vision is about the quality, a 15gb file can not look as good as a75gb file unless you are watching on a 48” supermarket TV.
No worries, thats why i left an (Optional) comment.

I just was curious about the posibility to reduce the overall file size while maintaning the Dolby Vision metadata and im happy it works finally on the CX thanks to the new firmware.

I myself have both types, if it is something i like then i keep it in original quality, if its somethig meh then i may reencode, but im sure we both agree that posibilities and the ability to choose are good things and lower bitrate can come in handy in some scenarios (like streaming).
RESET_9999 wrote:
Tue Jan 12, 2021 5:25 pm

agreed, especially with those encode settings... --preset medium is not very high quality.

in order to encode and preserve quality you must use at least --preset slow or slower
Great thing about ffmpeg is you can choose the desired settings to suit your needs.
Yes, those are meh settings meant for meh content i want to encode fast and dont care much about fidelity, its just an example...

lexyz
Posts: 89
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz » Tue Jan 12, 2021 6:36 pm

RESET_9999 wrote:
Tue Jan 12, 2021 5:35 pm
3- well both formats will give the same quality, none of them is pointless ....
FEL to MEL convertion keeps redundant NLQ values in RPU which is used for FEL
If the goal to strip EL and keep final stream as close as possible to Dolby specs - convert to p8
Bravia XF90, Shield TV Pro'19, UBP-X700

RESET_9999
Posts: 393
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 12, 2021 6:49 pm

lexyz wrote:
Tue Jan 12, 2021 6:36 pm
RESET_9999 wrote:
Tue Jan 12, 2021 5:35 pm
3- well both formats will give the same quality, none of them is pointless ....
FEL to MEL convertion keeps redundant NLQ values in RPU which is used for FEL
If the goal to strip EL and keep final stream as close as possible to Dolby specs - convert to p8
ha, you're right... I forgot that the fel to mel conversion kept the original filesize of the FEL.
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file

Post Reply