Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#9751 Post by sw5163 » Fri Mar 08, 2024 2:23 am

Cannikin wrote:
Tue Mar 05, 2024 5:46 pm
Is there an easy ffmpeg command to convert an .mp4 with embedded DV (profile 5) to .mkv?
Looks like ffmpeg doesn't support dvh1 codec in mkv.
Try something like:

Code: Select all

ffmpeg -i dvh1.mp4 -c copy -vtag dvhe dvhe.mkv
I don't know if the mkv will play proper Dolby Vision though.

MartyMcNuts
Posts: 2865
Joined: Wed Nov 22, 2017 11:45 pm

Re: Dolby Vision now possible through MP4 Mux.

#9752 Post by MartyMcNuts » Fri Mar 08, 2024 6:52 am

sw5163 wrote:
Fri Mar 08, 2024 2:23 am
Cannikin wrote:
Tue Mar 05, 2024 5:46 pm
Is there an easy ffmpeg command to convert an .mp4 with embedded DV (profile 5) to .mkv?
Looks like ffmpeg doesn't support dvh1 codec in mkv.
Try something like:

Code: Select all

ffmpeg -i dvh1.mp4 -c copy -vtag dvhe dvhe.mkv
I don't know if the mkv will play proper Dolby Vision though.
Try using mkvtoolnix
Cheers :D
----------------------------------------------------------------------------------------------------------------------------
For UHD enabled drives (AU/NZ/SG + Others) & DIY Single Drive Flasher (WW): https://uhdenableddrives.com

Cannikin
Posts: 176
Joined: Tue Aug 18, 2020 11:54 pm

Re: Dolby Vision now possible through MP4 Mux.

#9753 Post by Cannikin » Fri Mar 08, 2024 10:07 pm

MartyMcNuts wrote:
Fri Mar 08, 2024 6:52 am
Try using mkvtoolnix
This worked! I didn't realize MKVToolNix could open files other than MKV, but sure enough it can!

tjreis2
Posts: 21
Joined: Sat Oct 29, 2022 3:40 pm

Re: Dolby Vision now possible through MP4 Mux.

#9754 Post by tjreis2 » Sun Mar 10, 2024 12:11 am

RESET_9999 wrote:
Wed Jan 24, 2024 7:47 pm
tjreis2 wrote:
Wed Jan 24, 2024 5:09 pm
Regarding the setup im using, do you think i need to change anything?
No , it sounds right but you should try DV MKV with kodi on your C2, it works great on my end (PGS and SRT).
https://kodi.wiki/view/HOW-TO:Install_Kodi_for_webOS
Hi again @RESET_9999!

I followed your advice and installed Kodi in the my C2 but im having some problems regarding the resolution and refresh rate options in the app..

In the display settings, only the 1920x1080p resolution is available, and in the whitelist options it only shows 1 available (1920x1080, 0Hz). When i playback some movies, i managed to get DV but the refresh rate doesnt switch, even though i turned on that setting in the player. Using the player info, i can see that it reads correctly the video stream (4k) but the screen information says 1080p and 60hz. It doesnt seem like an error because the movie is looking a bit blurry indeed..

Are you able to get 4k resolution and 24hz refresh rate in your setup?

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

Re: Dolby Vision now possible through MP4 Mux.

#9755 Post by RESET_9999 » Sun Mar 10, 2024 12:53 pm

tjreis2 wrote:
Sun Mar 10, 2024 12:11 am

Hi again @RESET_9999!

I followed your advice and installed Kodi in the my C2 but im having some problems regarding the resolution and refresh rate options in the app..

In the display settings, only the 1920x1080p resolution is available, and in the whitelist options it only shows 1 available (1920x1080, 0Hz). When i playback some movies, i managed to get DV but the refresh rate doesnt switch, even though i turned on that setting in the player. Using the player info, i can see that it reads correctly the video stream (4k) but the screen information says 1080p and 60hz. It doesnt seem like an error because the movie is looking a bit blurry indeed..
no idea
Are you able to get 4k resolution and 24hz refresh rate in your setup?
yes

tjreis2
Posts: 21
Joined: Sat Oct 29, 2022 3:40 pm

Re: Dolby Vision now possible through MP4 Mux.

#9756 Post by tjreis2 » Sun Mar 10, 2024 2:11 pm

Can you tell me what is the version of kodi that you installed, and if it was via webos dev manager?

I also have my lg c2 connected to an avr and i think it might be something related to its connection..

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

Re: Dolby Vision now possible through MP4 Mux.

#9757 Post by RESET_9999 » Sun Mar 10, 2024 3:28 pm

21.0.3beta
was via webos dev manager?
yes, im connected to an AVR too via ARC

LV8HD
Posts: 37
Joined: Tue Jan 11, 2022 3:48 pm

Re: Dolby Vision now possible through MP4 Mux.

#9758 Post by LV8HD » Sun Mar 10, 2024 3:38 pm

What are those L6 values? (The movie in question is Cars 3):

Code: Select all

Summary:
  Frames: 147321
  Profile: 8
  DM version: 1 (CM v2.9)
  Scene/shot count: 1630
  RPU mastering display: 0.0020/1000 nits
  RPU content light level (L1): MaxCLL: 10000.00 nits, MaxFALL: 892.53 nits
  L6 metadata
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 1000 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 372 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 347 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 471 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 592 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 532 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 835 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 767 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 179 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 709 nits, MaxFALL: 121 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 598 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 561 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 606 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 467 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 983 nits
    Mastering display: 0.0020/1000 nits. MaxCLL: 1000 nits, MaxFALL: 400 nits
  L2 trims: 1000 nits, 100 nits, 600 nits
  L5: Left=0, Right=0, Top=276, Bottom=276

gm23o
Posts: 5
Joined: Wed Aug 19, 2020 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

#9759 Post by gm23o » Sun Mar 10, 2024 5:20 pm

Hi,

I'm experiencing raised blacks in DV with some movies.
I'm using an Oppo clone connected to a Nexigo Aurora Pro UST projector.

Full Disc Rip - BDMV

I've noticed this recently when watching :
- Mission Impossible : Dead Reckoning
- True Romance

The letterbox bars and opening credits etc are very raised to a medium grey.

When I switch from TV led to Player led it improves.

Any ideas?

scaramanga
Posts: 2
Joined: Tue Mar 12, 2024 3:38 pm

Re: Dolby Vision now possible through MP4 Mux.

#9760 Post by scaramanga » Tue Mar 12, 2024 3:52 pm

Apologies to Reset - I know you mentioned to use Doom forum but it's a 5 day wait after registration so trying in here first.

I've got a setup of Shield 2019 through to LG TV utilising a Plex server and it can happily play native DV rips (Dune) and standard UHD rips (Sicario) from MKV
no issue.
When I have ran Sicario through the script (3-1) the film does trigger DV on the TV but there are blocky aspects when it comes to dark colours on light background and a few frames that are obviously awry.

Just wondered if I am doing something wrong in prepping the scripts, or do I need to invest in a Nvidia GFX card or a SSD to carry out the conversion work?

Thanks

gm23o
Posts: 5
Joined: Wed Aug 19, 2020 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

#9761 Post by gm23o » Wed Mar 13, 2024 9:20 am

gm23o wrote:
Sun Mar 10, 2024 5:20 pm
Hi,

I'm experiencing raised blacks in DV with some movies.
I'm using an Oppo clone connected to a Nexigo Aurora Pro UST projector.

Full Disc Rip - BDMV

I've noticed this recently when watching :
- Mission Impossible : Dead Reckoning
- True Romance

The letterbox bars and opening credits etc are very raised to a medium grey.

When I switch from TV led to Player led it improves.

Any ideas?
Any thoughts on this guys? RESET_9999?

jayper
Posts: 316
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

#9762 Post by jayper » Wed Mar 13, 2024 2:26 pm

gm23o wrote:
Wed Mar 13, 2024 9:20 am
gm23o wrote:
Sun Mar 10, 2024 5:20 pm
Hi,

I'm experiencing raised blacks in DV with some movies.
I'm using an Oppo clone connected to a Nexigo Aurora Pro UST projector.

Full Disc Rip - BDMV

I've noticed this recently when watching :
- Mission Impossible : Dead Reckoning
- True Romance

The letterbox bars and opening credits etc are very raised to a medium grey.

When I switch from TV led to Player led it improves.

Any ideas?
Any thoughts on this guys? RESET_9999?
RESET_9999 wrote:
Tue Feb 13, 2024 1:43 pm
please ask any further questions related to the dovi_scripts here: https://forum.doom9.org/showthread.php? ... ost1997616

thanks.

scaramanga
Posts: 2
Joined: Tue Mar 12, 2024 3:38 pm

Re: Dolby Vision now possible through MP4 Mux.

#9763 Post by scaramanga » Wed Mar 13, 2024 9:45 pm

You have to wait 5 days after registering for Doom Forum so in my case I took a punt on here whilst waiting to post in there.

croweyes1121
Posts: 11
Joined: Wed Apr 05, 2023 3:34 pm

Re: Dolby Vision now possible through MP4 Mux.

#9764 Post by croweyes1121 » Wed Mar 20, 2024 1:37 pm

PlatypusW wrote:
Sat Dec 05, 2020 7:17 pm
RESET_9999 wrote:
Sat Dec 05, 2020 4:09 pm
TickTock wrote:
Sat Dec 05, 2020 1:18 pm

Last night I watched The Lord of the Rings The Fellowship of the Ring and I was able to fast forward. I used the latest version of tsMuxer and muxed both parts to individual m2ts files.
I merged mine in a single TS file.
So if FF works for each individual part, that pretty much confirms the issue is related to the length of the movie.
thank you
Yes but that isn't enough for me :P

I still haven't got myself a x700 yet, but I dug out my old x800. It can't do dolby vision, but I had some time today and figured it should be close enough to see whats going on (they should be very similar internal players if not the same).

Started with the second hobbit film. The raw m2ts and the tsmuxer file both wouldn't seek. 'Operation not permitted'.

Tried cutting the file with tsmuxer to 2 hours and 45 minutes. Seek worked.

Then I went for 2 hours 50 minutes. Seek didn't work.

Something in tsmuxer caught my eye: "--cut-end=10200000ms"

To me that seemed like such a specific round number. I have now tested both hobbit 1 and 2...

If the file is 2 hours, 46 minutes and 39 seconds or shorter. The file will allow seeking.
If the file is 2 hours, 46 minutes and 40 seconds or longer. The file will not allow seeking.


Turns out in milliseconds that is:

9999000ms: Seeks
10000000ms: Does not seek


From all this, I believe that if the file is greater than (or equal to) 10 million millisconds then seeking will not work. Anything below seems to work fine.

Does this align with what you have experienced on the x700? Know any titles that might be under this 10 million ms 'limit' that don't allow seeking?

Note: For me, on the latest tsmuxer nightly, the resulting file was always 1 second less than what I put into the 'end'. So if anyone tries this, take this into account if you are trying to be precise.

Why there might be such a limit I'm not sure - maybe someone else might know that :?:

Never seen something related to length in ms, at least 10 million...doesn't really strike me as a number that would normally cause issues in the computing world :?
Has anyone ever figured out a workaround for this issue that doesn't involve splitting the file (which I really would prefer not to have to do)? Surely there's some way to change a setting in tsmuxer that allows the file to be seekable...

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

Re: Dolby Vision now possible through MP4 Mux.

#9765 Post by RESET_9999 » Wed Mar 20, 2024 2:08 pm

croweyes1121 wrote:
Wed Mar 20, 2024 1:37 pm

Has anyone ever figured out a workaround for this issue that doesn't involve splitting the file (which I really would prefer not to have to do)? Surely there's some way to change a setting in tsmuxer that allows the file to be seekable...
I dont think there's anything you can do about it except using BDMV folder and It looks like a bug with the oppo and x700 with TS DV rip because the x800m2 doesnt have this problem.

Post Reply