RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm
script is almost ready:
Thank you all for your guys' efforts! Excellent work!
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm
I don't know, it plays fine in MPC and MPV.
I tried with another fake p5 mkv and indeed, the Movies and TV app can't play it.
Maybe mkvtoolnix did something wrong when remux fake p5 mkv?
I'm not familiar with mkvtoolnix.
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm
FYI, @ragico tested, LPCM, DTSHD, and TrueHD in a dvh1 MP4 container and the ATV fails the play the audio.
So the best we can get is EAC3 1536kbps.
That is strange, Apple says it can play them.
The attachment 无标题.png is no longer available
TrueHD and DTS shouldn't work.
LPCM(7.1), flac(7.1), alac(6.1) all work fine on my iPad. But it would be impossible to tell if they are true loseless through the built-in speaker, lol.
I have some samples produced through my usually workflow. These could probably be the highest standards video on iOS devices for now. Feel free to test them:
https://drive.google.com/drive/folders/ ... sp=sharing
Those files are from Dolby demo disc "Core Universe". They are produced with the following command:
1. FLAC_7.1 (ffmpeg only encodes it in mp4)
ffmpeg -i 00003.m2ts -map 0:2 -c flac -strict -2 flac.mp4
2. ALAC_6.1 (ffmpeg only encodes 6.1)
ffmpeg -i 00003.m2ts -map 0:2 -c alac alac.mp4
3. PCM_7.1 (ffmpeg only encodes it in mov)
ffmpeg -i 00003.m2ts -map 0:2 -c pcm_s32le pcm.mov
And then muxed with BL_RPU.hevc by mp4box
mp4box -add BL_RPU.hevc -add audio.mp4 -new out.mp4
ALAC_6.1 sound channel is like this:

- 无标题.png (93.43 KiB) Viewed 20732 times
Also I would like to ask those pcm encoders in ffmpeg, cause there are so many of them.
pcm_(signed/unsigned/float)(16/32/64)bit(little-endian/big-endian), how can I know which is best to use?
I normally just use -c:a flac, it also saves some bandwidth.