[QUOTE=Wilson.Wang;n375243]Hi KCX,
Thanks for advice, Our dev will find ways to add TrueHD or DTSHD for mp4 first.
/QUOTE]
Hello Wilson!
Thank you for your answer!
Also, I think it's great if you intend to integrate that.
There are currently not many players that can play DV. I personally use the Shield 2019 Pro and Plex. Kodi also wants to make it compatible.
But eARC is becoming more and more common, so HD sound becomes important.
My way:
Tools:
- DVDFab
- FFmpeg
- mp4box (from GPAC SDK - gpac-0.9.0-DEV-latest-filters-x64.exe)
Create a single layer rip + SRT external subtitles
### 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
Creates a chapter TXT file and call it "chapters.txt". Content:
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
etc. etc. ...
That's my way to 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
greetings
KCX