Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
BadSector81
Posts: 10
Joined: Fri Jul 30, 2021 9:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by BadSector81 »

RESET_9999 wrote:
Tue Jan 03, 2023 10:25 pm
jlpsvk wrote:
Tue Jan 03, 2023 8:53 pm
anybody can help with python for dovi_scripts???? i'm stucked on "models" module... can't install because of "references" module not found... and can't install that... pymodels again stuck at "props.references"
I'm guessing you're trying to plot DV (6-2-3) ?

1-Uninstall any python version you have and reboot.
2- get and install python: https://www.python.org/
3- Open a CLI windows and type 1 by 1 all the required modules:
EG:
pip install ijson
Hi! All. Installing won't work with Python 3.11.1, try Python 3.10.9. and it will be fine. Using W11.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

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
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

Hi guys. Does anyone know if it's possible to add 2160p WEB-DL HDR10 and DV to a 2160p SDR remux? Unfortunately, the UHD is SDR whereas the WEB-DL is available in HDR10 and DV.
Edworld
Posts: 15
Joined: Sat Apr 09, 2016 2:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Edworld »

I'm getting a black screen after creating ts files with DoviScript 1.7.1 using the batch option and with the ts files my Sony x800m2 freezes.

I also have an error easyaudioencorer: safe_fopen: createfileW failed:2

The movies are 1917 and BTTF, both of them with Dolby Vision and HDR10+ are in a makemkv file

Thanks for the support
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Edworld wrote:
Wed Jan 11, 2023 9:55 pm
I'm getting a black screen after creating ts files with DoviScript 1.7.1 using the batch option and with the ts files my Sony x800m2 freezes.

I also have an error easyaudioencorer: safe_fopen: createfileW failed:2

The movies are 1917 and BTTF, both of them with Dolby Vision and HDR10+ are in a makemkv file

Thanks for the support
Yes, it's a known issue with Single-track dual-layer file.
Use 4-3 instead and make a dual-track dual-layer file.
I also have an error easyaudioencorer: safe_fopen: createfileW failed:2
normal when you encode 7.1 audio with EAE.
you can ignore it but dont close the window before the audio conversion is done.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Edworld
Posts: 15
Joined: Sat Apr 09, 2016 2:50 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Edworld »

RESET_9999 wrote:
Wed Jan 11, 2023 10:20 pm
Edworld wrote:
Wed Jan 11, 2023 9:55 pm
I'm getting a black screen after creating ts files with DoviScript 1.7.1 using the batch option and with the ts files my Sony x800m2 freezes.

I also have an error easyaudioencorer: safe_fopen: createfileW failed:2

The movies are 1917 and BTTF, both of them with Dolby Vision and HDR10+ are in a makemkv file

Thanks for the support
Yes, it's a known issue with Single-track dual-layer file.
Use 4-3 instead and make a dual-track dual-layer file.
I also have an error easyaudioencorer: safe_fopen: createfileW failed:2
normal when you encode 7.1 audio with EAE.
you can ignore it but dont close the window before the audio conversion is done.
I ran the tool using 4-3 once with DD+ and once without, and I get no audio with BTTF. The video does play in Dolby Vision.
lexyz
Posts: 120
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz »

RESET_9999 wrote:
Thu Jan 05, 2023 11:36 pm
no effect on the shield and C2.

MP4 versions here: https://drive.google.com/drive/u/1/fold ... fx6vRYDEfs
And what if to force LLDV on shield (in dev settings)? :roll:
Bravia XF90, Shield TV Pro'19, UBP-X700
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Edworld wrote:
Thu Jan 12, 2023 4:32 am
I ran the tool using 4-3 once with DD+ and once without, and I get no audio with BTTF. The video does play in Dolby Vision.
Your input must have lossless audio(THD or DTS) i think. Also , no need to convert DDP audio for the x800m2.
lexyz wrote:
Thu Jan 12, 2023 6:45 am
And what if to force LLDV on shield (in dev settings)? :roll:
I looked at this a couple of weeks ago and couldn't find that specific settings. How is it called exactly?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Seraphimon956
Posts: 3
Joined: Thu Jan 12, 2023 4:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Seraphimon956 »

Hi, I have got a question about the behavior of the X700 when using the bdmv mode to play Dolby vision and truehd atmos content. I use tsmuxer (latest nightly) to create a bdmv folder structure from the original ripped UHD disk. Then I put the two folders, BDMV and CERTIFICATE, at the USB drive root of my external HDD. But when I try to play the bdmv folder using the x700 and opening the AVCHD virtual folder (I assume the x700 itself creates it every time in order to open the bdmv folder), only the dolby vision label appear on the right corner of my lg cx. I can confirm that FF/RW (even for +3 hours movies), chapter list, and forced subtitle indeed work as per the Dolby_Vision_Stuff table (this trick also prevents entirely the annoying green/purple bug when reproducing multiple DV m2ts). But the Dolby atmos label does not trigger (I can confirm this by opening the TV info tab on my LG cx), even though the audio is being played regularly and the player reports that the audio track is Dolby truehd (has it been downgraded or only the AC3 core is actually played? Maybe someone can shed some light on this matter, I am so confused :lol: ). The strange fact is that if I try opening the 0000.m2ts file directly, without putting the bdmv folder at the USB drive root, Dolby atmos label and Dolby vision label both show up in the top right corner, although FF/RW is blocked. Furthermore, it seems that the maximum limit for audio tracks and subtitles is 8 when playing m2ts files, even if the latter have been muxed with tsmuxer. So, with ten audio tracks and ten subtitles, only the first eight will be read and the others will be simply ignored by the player (the cycle starts again from subtitle 1 or from audio track 1). I hope someone here can clarify this issue, could be just a bug of the TV not recognizing the atmos track, although I am really not sure about it.
lexyz
Posts: 120
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz »

RESET_9999 wrote:
Mon Jan 09, 2023 11:59 pm
I made some new L1 test files.
LLDV (Bravia XF90)
Shield TV - visible picture adjustments after 1000 nit for all versions P5/P8 old and new
Zidoo Z9X - only P8 works, P5 - no adjustments (forces VS10 and Auto HDR modes tested)
UBP-X700 - this one is extremely interesting! only P8 old works but without any visible changes up to 4000 nit :shock:
I suppose it just do tonemapping to 4k ignoring Target Max PQ value from EDID
In that case some movies indeed will be darker in DV on this player like this https://slow.pics/c/Eyy9YjPX and all the fuss about Sony's dim DV from external sources make sense now

btw could you please make version with MDL and MCLL limited by 1000nit?
RESET_9999 wrote:
Thu Jan 12, 2023 4:35 pm
I looked at this a couple of weeks ago and couldn't find that specific settings. How is it called exactly?
Shield / Settings / Device Preferences / Developer options / Default to Low Latency Dolby Vision when available

Anyway LL11 doesnt work on Shield even in LLDV mode
Bravia XF90, Shield TV Pro'19, UBP-X700
chronomac
Posts: 25
Joined: Mon Dec 20, 2021 8:42 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by chronomac »

Started using the DoVi_Scripts tool in earnest this week and I have a question about the audio, for converting Profile 7 MKV rips to Profile 8.

When I run the script, I use option 4 (for Profile 7 MKV input) then 2 (for profile 7 rip to profile 8) and then I drop the file in. Once it reads the file it asks if I want to convert the audio to DDP and I hit N and then N again for editing L5. Using those selections, specifically the one about DDP, will the quality of the original audio track be diminished? I ask because once I converted a full length movie, I checked the old and new files in MediaInfo and while the max bitrates on those audio tracks were the same, the regular bitrate was smaller (from 4,339 kb/s to 64) and the size was smaller (3.62 GB to 54.7 MB). This is a movie with a TrueHD 5.1 track.

I just want to make sure I don't touch the audio much, if at all - I like having a lossless track. The DV conversion seems to work just fine (changing the file to a .ts).
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

lexyz wrote:
Thu Jan 12, 2023 5:11 pm
RESET_9999 wrote:
Mon Jan 09, 2023 11:59 pm
I made some new L1 test files.
LLDV (Bravia XF90)
Shield TV - visible picture adjustments after 1000 nit for all versions P5/P8 old and new
Zidoo Z9X - only P8 works, P5 - no adjustments (forces VS10 and Auto HDR modes tested)
UBP-X700 - this one is extremely interesting! only P8 old works but without any visible changes up to 4000 nit :shock:
I suppose it just do tonemapping to 4k ignoring Target Max PQ value from EDID
In that case some movies indeed will be darker in DV on this player like this https://slow.pics/c/Eyy9YjPX and all the fuss about Sony's dim DV from external sources make sense now

btw could you please make version with MDL and MCLL limited by 1000nit?
RESET_9999 wrote:
Thu Jan 12, 2023 4:35 pm
I looked at this a couple of weeks ago and couldn't find that specific settings. How is it called exactly?
Shield / Settings / Device Preferences / Developer options / Default to Low Latency Dolby Vision when available

Anyway LL11 doesnt work on Shield even in LLDV mode
thanks interesting results.
UBP-X700 - this one is extremely interesting! only P8 old works but without any visible changes up to 4000 nit :shock:
Did you remux the file to TS? Sometimes my x800m2 gives me "fake" DV with mp4 files.
Zidoo Z9X - only P8 works, P5 - no adjustments (forces VS10 and Auto HDR modes tested)
yep, this is why I sold my Zidoo player. Many times the RPU didn't work at all and it seems to be random.


more test files:

this one test L2 trim passes: https://drive.google.com/file/d/15iySXK ... share_link
This one compares original DV with generated DV. (this is the reason why the latest version of my script now overwrites L2 when it inject XML.)
https://drive.google.com/file/d/1_PkGF9 ... share_link
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

chronomac wrote:
Thu Jan 12, 2023 5:32 pm
Started using the DoVi_Scripts tool in earnest this week and I have a question about the audio, for converting Profile 7 MKV rips to Profile 8.

When I run the script, I use option 4 (for Profile 7 MKV input) then 2 (for profile 7 rip to profile 8) and then I drop the file in. Once it reads the file it asks if I want to convert the audio to DDP and I hit N and then N again for editing L5. Using those selections, specifically the one about DDP, will the quality of the original audio track be diminished? I ask because once I converted a full length movie, I checked the old and new files in MediaInfo and while the max bitrates on those audio tracks were the same, the regular bitrate was smaller (from 4,339 kb/s to 64) and the size was smaller (3.62 GB to 54.7 MB). This is a movie with a TrueHD 5.1 track.

I just want to make sure I don't touch the audio much, if at all - I like having a lossless track. The DV conversion seems to work just fine (changing the file to a .ts).
it's because MediaInfo reports the AC3 core bitrate and size of a trueHD track. If you demux it, you will see that the size is truly lossless and the same as the original.

When the script is set to mux to TS container , it automatically add a silent 64kbps core to the TrueHD track for bluray player compatibility.

FYI, you dont have to answer "N" to the DDP and L5 questions. You can just press enter to skip it.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
chronomac
Posts: 25
Joined: Mon Dec 20, 2021 8:42 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by chronomac »

RESET_9999 wrote:
Thu Jan 12, 2023 11:17 pm
chronomac wrote:
Thu Jan 12, 2023 5:32 pm
Started using the DoVi_Scripts tool in earnest this week and I have a question about the audio, for converting Profile 7 MKV rips to Profile 8.

When I run the script, I use option 4 (for Profile 7 MKV input) then 2 (for profile 7 rip to profile 8) and then I drop the file in. Once it reads the file it asks if I want to convert the audio to DDP and I hit N and then N again for editing L5. Using those selections, specifically the one about DDP, will the quality of the original audio track be diminished? I ask because once I converted a full length movie, I checked the old and new files in MediaInfo and while the max bitrates on those audio tracks were the same, the regular bitrate was smaller (from 4,339 kb/s to 64) and the size was smaller (3.62 GB to 54.7 MB). This is a movie with a TrueHD 5.1 track.

I just want to make sure I don't touch the audio much, if at all - I like having a lossless track. The DV conversion seems to work just fine (changing the file to a .ts).
it's because MediaInfo reports the AC3 core bitrate and size of a trueHD track. If you demux it, you will see that the size is truly lossless and the same as the original.

When the script is set to mux to TS container , it automatically add a silent 64kbps core to the TrueHD track for bluray player compatibility.

FYI, you dont have to answer "N" to the DDP and L5 questions. You can just press enter to skip it.
That's really good to know (that I'm actually getting a lossless audio track). Thanks!
niallobr
Posts: 1
Joined: Fri Jan 13, 2023 10:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by niallobr »

I'd like to also ask an audio related question. I'm pretty sure the answer is no, but hey :D

@RESET_9999 is there any way to use your script and the tools provided to convert TrueHD Atmos -> EAC3 Atmos? It seems impossible to change formats and keep the Atmos data with these tools? I've tried the different audio encoding options without success.

It is still great that your script can convert 7.1 TrueHD to 7.1 EAC3, since ffmpeg still can't do more than 6 channels yet. I guess this is the joy of working with non-licensed software :wink:

Thank you very much for your work on the script. It is powerful but also makes things very simple.
Post Reply