Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 24, 2023 12:15 am

Edworld wrote:
Mon Jan 23, 2023 11:02 pm
Will the current beta work? and do I continue to do 4, 3?
Thanks
the latest version should be able to mux all the input audio/subs if you take the TS version of the script and set line 23 - 25 to YES.
you must have this file in the tools folder and the input language must be supported. if your language is not in this file, it's not very complicated to edit it with notepad and add any tongue you wish.
https://drive.google.com/file/d/1xDMNcf ... share_link

anyway, if none of this work, as I said before, disable the muxing at line 21. Then when 4/3 has been completed, you can mux any audio/sub you want with tsmuxer. This will work for sure and for any input.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid » Tue Jan 24, 2023 12:42 am

johnjon94 wrote:
Sun Jan 22, 2023 11:42 pm
I would love to test a 64 bit build! I'm not sure if its because the Shield isn't compatible with this version, but when I install the Plex addon I just get an endless loading bar with the Plex logo
I've made new builds available here: https://github.com/quietvoid/xbmc/releases/tag/v21-dovi
There are both 32 bits and 64 bits APKs.

The only change from the last build is that the new build also fixes grey letterbox bars when playing cropped Dolby Vision videos for FireTV.

Info thread: https://forum.kodi.tv/showthread.php?tid=371557

caelar900
Posts: 4
Joined: Mon Jan 23, 2023 11:44 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by caelar900 » Tue Jan 24, 2023 12:57 am

RESET_9999 wrote:
Thu Jan 05, 2023 4:40 pm
I doubt this will ever be fixed and the different L1/L2 responses doesnt seem to affect actual content. Also, I don't think it's related to CMV2.9 vs CMV4.0 devices.

Here's my observations so far...
X800m2/x700:
L1 low contrast and L2 offset 0.75 doesnt work
no issue with "multi" pattern

Shield:
L2 offset 0.75 doesnt work
color issues (bug still there, checked recently)
issues with "multi" pattern (blue banding and clipping conversion issues)

C2 internal player:

all the L1/L2 metadata works
issues with "multi" pattern ( clipping conversion issues)
Movies with source max_pq 3696 (MDL 4000nits) look a lot darker than the x800/x700/shield: https://www.youtube.com/watch?v=sl_wopsmdmc

C8 internal player:
all the L1/L2 metadata works
No issue with "multi" pattern

FireTV cube latest gen and probably firestick max:
all the L1/L2 metadata works
issues with "multi" pattern (tracking issue)
overall darker image

Chromecast GTV (cmv2.9 device):
L1 optimal doesnt work
L2 looks quite different in LLDV than in tv-led
the first test showed that it produced a brighter image but I still have more tests to do.
https://slow.pics/c/pEEQBJJD
no issue with "multi" pattern but if you FF/RW, the pattern start flickering.



I know @quietvoid found out that the "multi" pattern "may" have luma issues but I'm not sure about that because I checked the other versions of the pattern and they all behave exactly the same.
So unless Stacey Spears did the same mistake for all the patterns, I believe this is just how the pattern is supposed to work and it truly exposes issues on devices (shield and C2)
They also all show 10 000 nits but it's only because of a couple of pixels in the middle of the frame. The pattern are really 600/1000/4000 or 10 000 nits so I redid all the versions without trim passes and with proper source_max pq and maxcll/fall. You can find them here: https://drive.google.com/drive/u/1/fold ... 52Ja3JEc7c
RESET_9999 wrote:
Mon Jan 09, 2023 11:59 pm
I made some new L1 test files. Something is definitely not working on the x800m2/x700, will do a side-by-side comparison video later...

The files have nine L1 metadata changes, it goes from max_pq 100nits to 10 000nits.
P5 version (≈700nits): https://drive.google.com/file/d/1AzIA9e ... share_link
P8 version (≈3600nits): https://drive.google.com/file/d/1yY33Df ... share_link
** you may have to remux them to TS or MKV

Image
So what's your latest opinion on L1 in real world content on the x700/x800m2. I can see the issues on the test patterns but want to know how much it really affects actual films.I personally have a 5.1.4 atmos setup so dont really wanna sacrifice audio and use the internal player on my cx but if T1 issues are truly causing perceptible issues with DV then maybe the trade off is worthwhile. Are you still personally exclusively using your c8/c2 over the x800m2? Thanks.

afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik » Tue Jan 24, 2023 10:29 am

RESET_9999 wrote:
Mon Jan 23, 2023 10:27 pm
afarvvik wrote:
Mon Jan 23, 2023 8:53 pm
hi
apologize if this question has been asked but the search excludes 2 letter terms like "lg" & "c8"
i want to mux dolby vision profile 5 & profile 8 mkv's to mp4 so that they can play on my lg c8 internal player/jellyfin.
take a look at the script in my signature, there is an MP4 workflow for older LG TV... PM if you need help finding the tools that work with it.

IIRC you wont be able to FF/RW in a mp4 container because your file is encoded with "open-gop". Not sure about the C8 but that's how my C2 plex behaves.
TS/M2ts container will let you FF/RW open-gop encode but it will freeze a couple of seconds, you just have to be patient and give it time to resume.
thanks for the reply @RESET_9999.

i'll check out the mp4 workflow.

TS/M2ts container is not letting me FF/RW at all. Jellyfin just freezes, the webos player says "function not available right now". is there a particular tsmuxer version that needs to be used?

afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik » Tue Jan 24, 2023 10:32 am

afarvvik wrote:
Mon Jan 23, 2023 8:53 pm

after a lot of tries i realised that the files were being muxed to "isom" codec for some reason even though the video codec was supposed to be copied. so when i added "-brand mp42" flag it worked & now i can mux profile 5 web-dl rips to mp4 using that (or at least the 1 file i've tried).
also i was too quick too make this conclusion, 1 profile 5 file worked with ffmpeg conversion another did not.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 24, 2023 12:03 pm

caelar900 wrote:
Tue Jan 24, 2023 12:57 am
So what's your latest opinion on L1 in real world content on the x700/x800m2. I can see the issues on the test patterns but want to know how much it really affects actual films.I personally have a 5.1.4 atmos setup so dont really wanna sacrifice audio and use the internal player on my cx but if T1 issues are truly causing perceptible issues with DV then maybe the trade off is worthwhile. Are you still personally exclusively using your c8/c2 over the x800m2? Thanks.
since most movies have l2 trim passes, not much difference. The problem seem to be with L1 high max_pq values that have no effect.

ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Tue Jan 24, 2023 4:46 pm

quietvoid wrote:
Tue Jan 24, 2023 12:42 am
johnjon94 wrote:
Sun Jan 22, 2023 11:42 pm
I would love to test a 64 bit build! I'm not sure if its because the Shield isn't compatible with this version, but when I install the Plex addon I just get an endless loading bar with the Plex logo
I've made new builds available here: https://github.com/quietvoid/xbmc/releases/tag/v21-dovi
There are both 32 bits and 64 bits APKs.

The only change from the last build is that the new build also fixes grey letterbox bars when playing cropped Dolby Vision videos for FireTV.

Info thread: https://forum.kodi.tv/showthread.php?tid=371557
I have installed your latest build on my firestick 4k max and the .ts files p5, p8 and p7 do not work anymore.
When I try to open any of them Kodi closes. Still works with mkv.
Before this update everything worked perfectly.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid » Tue Jan 24, 2023 5:05 pm

ragico wrote:
Tue Jan 24, 2023 4:46 pm
I have installed your latest build on my firestick 4k max and the .ts files p5, p8 and p7 do not work anymore.
When I try to open any of them Kodi closes. Still works with mkv.
Before this update everything worked perfectly.
Thanks, I also get the crash for .ts.
I'll look into it later.

I found the issue, it seems I can't convert the RPU from .ts for now.
The arm-v7a release was updated, I'll do the other later.
It should fix the crash but .ts profile 7 won't be converted.

MastaG
Posts: 91
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG » Tue Jan 24, 2023 6:15 pm

Just a quick question.
Without using RESET_9999's scripts..

Lets say I have created my final hevc file.
And I want to pack it into a m2ts file with audio.
Can I just use tsmuxerGui to add the movie.hevc as the first track.
And then open the main playlist from the original bluray disc and add the TrueHD+ac3 core audio as second track.
Then just mux both tracks into a m2ts container.

The reason I'm asking is because my movie 1917 triggers DV on all devices but doesn't play audio.
Even when selecting the core ac3 one its all silent.

I notice many people are using eac3to but what for?
The audio is on the original bluray disc, why should I mess with it?

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 24, 2023 8:30 pm

afarvvik wrote:
Tue Jan 24, 2023 10:29 am
thanks for the reply @RESET_9999.
i'll check out the mp4 workflow.
TS/M2ts container is not letting me FF/RW at all. Jellyfin just freezes, the webos player says "function not available right now". is there a particular tsmuxer version that needs to be used?
then it's a jellyfin bug because you can FF/RW on the plex app with TS/m2ts files.

MastaG wrote:
Tue Jan 24, 2023 6:15 pm
Can I just use tsmuxerGui to add the movie.hevc as the first track.
And then open the main playlist from the original bluray disc and add the TrueHD+ac3 core audio as second track.
Then just mux both tracks into a m2ts container.
yes thats how you do it.

ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Tue Jan 24, 2023 9:36 pm

quietvoid wrote:
Tue Jan 24, 2023 5:05 pm
ragico wrote:
Tue Jan 24, 2023 4:46 pm
I have installed your latest build on my firestick 4k max and the .ts files p5, p8 and p7 do not work anymore.
When I try to open any of them Kodi closes. Still works with mkv.
Before this update everything worked perfectly.
Thanks, I also get the crash for .ts.
I'll look into it later.

I found the issue, it seems I can't convert the RPU from .ts for now.
The arm-v7a release was updated, I'll do the other later.
It should fix the crash but .ts profile 7 won't be converted.
Yes working again but not P7 as you said.
Curious because before, everything was working perfectly, including P7 as I said a few posts before.

MastaG
Posts: 91
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG » Tue Jan 24, 2023 10:28 pm

RESET_9999 wrote:
Tue Jan 24, 2023 8:30 pm
MastaG wrote:
Tue Jan 24, 2023 6:15 pm
Can I just use tsmuxerGui to add the movie.hevc as the first track.
And then open the main playlist from the original bluray disc and add the TrueHD+ac3 core audio as second track.
Then just mux both tracks into a m2ts container.
yes thats how you do it.
Thats the strange thing, I just tested it with 1917 on my LG C8 in m2ts format.
Both Plex and Emby let me select between TrueHD and ac3 5.1.
I know the LG C8 doesn't support TrueHD, but when I select ac3 5.1 all audio seems silent in both players.

Could it be that some movies carry an empty ac3 track?

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

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid » Tue Jan 24, 2023 11:39 pm

ragico wrote:
Tue Jan 24, 2023 9:36 pm
Yes working again but not P7 as you said.
Curious because before, everything was working perfectly, including P7 as I said a few posts before.
I doubt it was actually converting, maybe you were just playing MEL files.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Jan 24, 2023 11:43 pm

MastaG wrote:
Tue Jan 24, 2023 10:28 pm
Thats the strange thing, I just tested it with 1917 on my LG C8 in m2ts format.
Both Plex and Emby let me select between TrueHD and ac3 5.1.
I know the LG C8 doesn't support TrueHD, but when I select ac3 5.1 all audio seems silent in both players.
Could it be that some movies carry an empty ac3 track?
I could be wrong but IIRC my C8 cannot even play the ac3 core of TrueHD for a DV TS/M2ts.
you should convert TrueHD/DTS to EAC3. 6-3-4 in my script.

caelar900
Posts: 4
Joined: Mon Jan 23, 2023 11:44 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by caelar900 » Wed Jan 25, 2023 2:13 am

RESET_9999 wrote:
Tue Jan 24, 2023 12:03 pm
since most movies have l2 trim passes, not much difference. The problem seem to be with L1 high max_pq values that have no effect.
Okay cool. Good to know.
I am still curious what your personal preference is between internal and x800. If you don't mind sharing!

Post Reply