Please add full HDR and Dolby Vision Support to next kodi major Version
#15
Exclamation 
So I'll turn me on here. I have a new Shield 2019 Pro and I'm also a Plex Pass (Beta) Member. I'm a big fan of Kodi since XBMC times. Unfortunately, I'm currently very dissatisfied with the Plex Android TV app, as many soundtracks are not working properly or incorrectly via HDMI passthrough. Kodi with the Plex addon is currently the best solution for me, because everything works wonderfully. Now only the Dolby Vision Support is missing Big Grin As already mentioned, an MP4 in single layer format is needed.

First, here's a very important link on Dolby Vision Rips:
https://forum.mrmc.tv/viewtopic.php?f=15...&start=310

What you need and how to create a perfect DV single layer rip with and without HD sound:
- DVDFab (current)
- FFmpeg (current)
- mp4box (from GPAC SDK - gpac-0.9.0-DEV-latest-filters-x64.exe)
- MediaInfo (for control)

The simple variant:
You can create a single layer rip with DVDFab. Attention you have to set this first, because the standard dvdfab profile creates a dual layer MP4! Disables Web optimization. At the soundtrack you can click on "copy". In that case, you will receive an AC3 from a TrueHD and a DTS from a DTS-HD soundtrack (I'll be right on the subject of hd sound). The subtitles are extracted and saved separately. Here you choose SRT subtitles! This is the easy way that is currently possible. However, without HD sound and without chapters. This does not make DVD Fab currently. I hope it will follow.

The ultimate variant:
Step 1 - Extracts the HD sound from the ISO or from the disk with FFmpeg.
### How to find the correct stream id ###
ffprobe -i bluray:\path\to\bluray
Now find the right track and notice the AUDIO_STREAM_ID like 0:2

### DTS HD Commad ###
ffmpeg.exe -i bluray:\path\to\bluray -map 0:AUDIO_STREAM_ID -c copy %userprofile%\Desktop\dtshd.mp4

### TrueHD (Atmos) Commad ### #EXPERIMENTAL# - You get a soundtrack in the format: mlpa
ffmpeg.exe -i bluray:\path\to\bluray -map 0:AUDIO_STREAM_ID -c:a copy -strict -2 %userprofile%\Desktop\atmos.mp4

Now you have your HD soundtrack in a MP4: atmos.mp4 or dtshd.mp4

Step 2 - Creates a chapter TXT file and call it "chapters.txt"
I always find the times of the chapters with MediaInfo. If you have the times and if necessary the names of the chapters, write the following points in the TXT:
Example:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter1
CHAPTER02=00:10:15.698
CHAPTER02NAME=Chapter2
CHAPTER03=00:22:39.399
CHAPTER03NAME=Chapter3
CHAPTER04=00:35:53.276
CHAPTER04NAME=Chapter4
CHAPTER05=00:43:55.007
CHAPTER05NAME=Chapter5
CHAPTER06=00:55:19.357
CHAPTER06NAME=Chapter6
CHAPTER07=01:03:10.161
CHAPTER07NAME=Chapter7
CHAPTER08=01:14:12.364
CHAPTER08NAME=Chapter8
CHAPTER09=01:26:01.698
CHAPTER09NAME=Chapter9
CHAPTER10=01:37:16.080
CHAPTER10NAME=Chapter10
CHAPTER11=01:48:24.456
CHAPTER11NAME=Chapter11


Now you have a chapter file

Step 3 - Created with DVDFab a single layer rip (including external subtitles) as already described in the simple variant. For example, call it "dvdfab_out.mp4".

Step 4 - Now create the ultimate Dolby Vision Rip for the Shield 2019 with the mp4box:

mp4box.exe -add %userprofile%\Desktop\dvdfab_out.mp4 -add %userprofile%\Desktop\atmos.mp4:lang=eng -add %userprofile%\Desktop\chapters.txt:chap -brand mp42isom -ab dby1 %userprofile%\Desktop\mp4box_out.mp4
(Varying commands depending on the language = atmos.mp4:lang=Language_Code like eng or ger)

Now you have a 4K single layer Dolby Vision MP4 with AC3 and TrueHD (mlpa) including chapters and external subtitles. Cool

If you want, you can also muxe the subtitles. But for me that has no added value compared to external subtitles. Name the subtitles exactly like your video (and if necessary additions) so they will be recognized.

Example in my case:
Hellboy 2019.mp4
Hellboy 2019 .ger.srt
Hellboy 2019 .ger.forced.srt


I hope I did not forget anything - if questions are just ask.... Wink
Reply


Messages In This Thread
RE: Please add full HDR and Dolby Vision Support to next kodi major Version - by KingCarstonoX - 2019-11-25, 12:10
Logout Mark Read Team Forum Stats Members Help
Please add full HDR and Dolby Vision Support to next kodi major Version2