Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
cpm00
Posts: 5
Joined: Sun Mar 31, 2024 9:47 am

Re: Dolby Vision now possible through MP4 Mux.

Post by cpm00 »

See from your pervious post you have a HDFury Vertex

In the Vertex Utility - you can grab the AVI InfoFrame (as per page 34 here: https://www.hdfury.com/docs/HDfuryVertex.pdf)
(Which I am sure you know)

Could you please ping over the values in the captured AVI InfoFrame for when setting the flag to Y and for N i.e.:

echo Y > /sys/module/hdmitx20/parameters/dovi_tv_led_bt2020

echo N > /sys/module/hdmitx20/parameters/dovi_tv_led_bt2020

thanks.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

cpm00 wrote:
Sun Mar 31, 2024 10:31 am

Could I ask how you are determining no colorimetry / extended colorimetry is being sent in your tests? Are you peeking the data using an HDFurry or some other such device between the box and the TV?
Yes, all the tests I did were with the hdfury vertex in the chain and the ugoos reports the same RGB 8bit DV signal as all my devices.
I don't know from a code perspective and maybe it doesn't matter for the newer TVs but in the tests I did years ago on my LG C8, a RGB signal without FLAG matched the colors of the TV's internal app while the signal with bt2020 introduced some slight color shift in RED and Yellow.

This is on CE-21 connected to the LG C2:

Image


And this is CE-20.5 connected to the 2023 Hisense u8 TV. I suspect this TV(and some others) is just guessing REC709 on its OSD because there's no information on the actual signal it's receiving:

Image

EDIT. last pics on is actually the atv, shield or x800m2, I don't remember...
this is on ugoos + Hisense:

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
bbeny123
Posts: 19
Joined: Tue Aug 01, 2023 6:33 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bbeny123 »

There is one more difference between the signal from x800m2 and Ugoos, at least according to the Sony A95L OSD.
The signal from the x800m2 shows neither color space nor color depth - with the signal from Ugoos OSD shows 8bit.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yep, there's a difference in the signal...

see: https://discourse.coreelec.org/t/dolby- ... /24273/960
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

Trees wrote:
Sat Mar 30, 2024 10:08 pm
Does anyone know of any software that can losslessly splice P5 DV HEVC streams while keeping the P5 DV metadata in tact? Splicing on I-frames, obviously.
You could try:

Code: Select all

ffmpeg -f concat -i "filelist.txt" -c copy -strict -2 test.mp4
filelist.txt:

Code: Select all

file 1.mp4
file 2.mp4
I won't guarantee it will work though.
Trees wrote:
Fri Mar 29, 2024 8:17 pm
Edit: Bonus question; does MP4 only support one subtitle track? I've remuxed numerous files however ffmpeg only seems to be copying over one subtitle track; is the subtitle part of the command incorrect or does MP4 just not support more than one subtitle track?
Your command is redundant btw. To include all tracks and keep DV just use:

Code: Select all

ffmpeg -i dv.mkv -map 0 -c copy -c:s mov_text -strict -2 dv.mp4
RESET_9999 wrote:
Sun Mar 31, 2024 4:28 pm
yep, there's a difference in the signal...
Backward compatibility for Dolby RGB tunneling is really a mess.
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

RESET_9999 wrote:yep, there's a difference in the signal...

see: https://discourse.coreelec.org/t/dolby- ... /24273/960
Hi I have DV remux mkv, I want to test it on my lg c6 (old i know), what's the simplest way to do it? Thank you.

Sent from my SM-F946B using Tapatalk

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Donpoku wrote:
Mon Apr 01, 2024 12:34 pm
Hi I have DV remux mkv, I want to test it on my lg c6 (old i know), what's the simplest way to do it? Thank you.

Sent from my SM-F946B using Tapatalk
AFIAK, 2016-2017 TVs only support profile 5 and 7 so for an mkv remux , you want to convert it to dual-track dual-layer MP4. You can do that with my script workflow 4-3.
I think the C6 internal player also have green screen issues with certain files, P3 MDL IIRC. It was discussed in this thread years ago.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

RESET_9999 wrote:
Donpoku wrote:
Mon Apr 01, 2024 12:34 pm
Hi I have DV remux mkv, I want to test it on my lg c6 (old i know), what's the simplest way to do it? Thank you.

Sent from my SM-F946B using Tapatalk
AFIAK, 2016-2017 TVs only support profile 5 and 7 so for an mkv remux , you want to convert it to dual-track dual-layer MP4. You can do that with my script workflow 4-3.
I think the C6 internal player also have green screen issues with certain files, P3 MDL IIRC. It was discussed in this thread years ago.
Thanks buddy.

Btw what are the steps and installs I need to do to use your scripts? Thanks I'm on Windows.

Sent from my SM-F946B using Tapatalk

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Donpoku wrote:
Mon Apr 01, 2024 3:57 pm

Btw what are the steps and installs I need to do to use your scripts? Thanks I'm on Windows.

Sent from my SM-F946B using Tapatalk
If you just want to make DT-DL MP4, the installation is very easy... Create a folder without space or special characters and put it on a non-OS drive preferably.
Download the tools pack and MP4 bat file and put them in the folder you just created. Run the bat file, select 4-3, drag and drop input and that's it
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Mrmorrison
Posts: 33
Joined: Thu Oct 20, 2022 2:13 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mrmorrison »

Good evening everyone.
I'm going crazy trying to limit the brightness of the subtitles, as my x800m2 can't handle them well. (Any video app on my TV doesn't have this problem)

I'm trying to use the script but I'm getting this error.

What I did:
- Source file: mkv
- Mux in ts with tsmuxer which turns srt into pgs
- Demux the pgs file (either with tsmuxer or with subtilteEdit)
- DoviScript 8-7

Can someone help me?


Image
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

RESET_9999 wrote:
Donpoku wrote:
Mon Apr 01, 2024 3:57 pm

Btw what are the steps and installs I need to do to use your scripts? Thanks I'm on Windows.

Sent from my SM-F946B using Tapatalk
If you just want to make DT-DL MP4, the installation is very easy... Create a folder without space or special characters and put it on a non-OS drive preferably.
Download the tools pack and MP4 bat file and put them in the folder you just created. Run the bat file, select 4-3, drag and drop input and that's it
Thanks Image

Sent from my SM-F946B using Tapatalk

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Mrmorrison wrote:
Mon Apr 01, 2024 5:55 pm
Good evening everyone.
I'm going crazy trying to limit the brightness of the subtitles, as my x800m2 can't handle them well. (Any video app on my TV doesn't have this problem)
try to put the sup file in a folder and input that folder...
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Mrmorrison
Posts: 33
Joined: Thu Oct 20, 2022 2:13 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mrmorrison »

RESET_9999 wrote:
Mon Apr 01, 2024 6:10 pm

try to put the sup file in a folder and input that folder...
It worked! You are the best!
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

Donpoku wrote:
RESET_9999 wrote:
Donpoku wrote:
Mon Apr 01, 2024 3:57 pm

Btw what are the steps and installs I need to do to use your scripts? Thanks I'm on Windows.

Sent from my SM-F946B using Tapatalk
If you just want to make DT-DL MP4, the installation is very easy... Create a folder without space or special characters and put it on a non-OS drive preferably.
Download the tools pack and MP4 bat file and put them in the folder you just created. Run the bat file, select 4-3, drag and drop input and that's it
Thanks Image

Sent from my SM-F946B using Tapatalk
Hi it took 3.3hrs for 69gb mkv remux, is that right?

Sent from my SM-F946B using Tapatalk

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Yeah, the speed depends on your HDD/SSD. Regular HDD can be very slow.

I use two NVME pci-e gen4 drives and it takes less than 15 minutes.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply