baker99 wrote: ↑Fri Nov 15, 2019 8:40 pm
It's working with Atmos and Dolby Vision...Using a Shield TV Pro 2019, LGC6 and Denon X2500
justinadams wrote: ↑Sat Nov 16, 2019 12:34 am
Can confirm this split method (sample file) does work no problem. Vizio Quantum X, Denon AVR-S750H, and shield tv pro 2019.
Wonderful but It's too early to crow.
Now you need to check that the audio track and the video track are in perfect sync.
I did tests with 1080p material (the maximum I can play) and everything seems to be ok.
But first you need to create your files:
- Use DVDFab and generate an mp4 file (dvdfab_out.mp4) without any audio track **
- Use FFmpeg to create an mkv file with the TrueHD/ATMOS track inside
The basic idea is to use the first mp4 as a container for the DV track and the mkv one to integrate audio tracks and subtitles.
The mkv file is considered by my app as an "external subtitle" and rendered at the same time as the video track.
The mkv file, however, must contain an accessory video track that has the sole function of providing a "context" to the other streams present in the container.
After creating the dvhe.05 track with DVDfab you need to get its duration with the command
Code: Select all
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 \path\to\dvdfab_out.mp4
and its framerate with the command
Code: Select all
ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate \path\to\dvdfab_out.mp4
With the data obtained (a decimal number and a fraction), launch the command making the appropriate substitutions (fields in red)
ffmpeg -f lavfi -i color=c=black:s=100x100:r=FRAMERATE:d=DURATION -i bluray:\path\to\bluray -map 0:0 -map 1:AUDIO_STREAM_ID -c:v libx265 -c:a copy \path\to\ffmpeg_out.mkv
If everything works properly, the last step with mp4box is completely eliminated, significantly reducing muxing times.
**
To export only the video track with DVDFab: right click on the info bar and then left click on "Unselect all audio tracks".
Grencola wrote: ↑Sat Nov 16, 2019 6:50 am
same results on the AFTV Stick 4k, flags dolby vision but black screen. it also can't do lossless atmos, just dd+ or lpcm 7.1, but cool that it works on the shield!
If you give me the logs I can try to understand why the DV track doesn't work.
With my previous attempts, did you get ATMOS on your AVR?
It seems strange to me because the Fire TV Stick 4K has no hardware decoder for the TrueHD/ATMOS (and for the DTS family). Check
HERE.
I think you can decode the audio (in PCM) because I implemented FFmpeg in my app.