When trying this on my Shiele 2019 pro (server on Windows 10 PC) all I get is a message saying cleartext traffic not supported. I'm using your test file dropped into the server.yusesope wrote: ↑Sat Nov 09, 2019 4:35 pmThe weekend has arrived! It's time to test!
In the last few days I have taken a look at the Google ExoPlayer library (GITHUB).
Today I patched their code to add support for TrueHD/ATMOS tracks inside an MP4 container.
The implementation is far from perfect but is good for testing purposes. For now it should be able to play the most common type of TrueHD/ATMOS track: 8 channels @ 48kHz in L R C LFE Ls Rs Lb Rb configuration.
I also added FFmpeg (ver 4.2) to decode the audio if your device is not equipped with the right Hardware/Software decoder
The ExoPlayer library should be able to play video files with dvhe.05 profile (on devices that are clearly provided with the appropriate decoder + license). So, in theory, it should be possible to play MP4 files with Dolby Vision + TrueHD/ATMOS.
HERE you can find my custom Player.
HERE you can find a sample video (dvhe.05.06 + TrueHD/ATMOS)
I currently don't have any Android devices capable of decoding 4K HDR tracks. For now, I have to stop here: I can't debug the code and fix any problems because I don't have any valid device.
The Player is based on client-server logic:
- Start the server on PC/Mac and follow the instructions (You will find a version already compiled for Windows and the source code for those using Linux/macOS)
- Start the application (apk) on Android.
WARNING!
Being a test version, the server address is hard-coded inside the apk.
Therefore your PC/Mac must have 192.168.1.130 as local IP address.
HERE a guide for Windows/macOS (those who use Linux know how to take care of themselves )
If for some reason (IP conflict, different subnet, etc..) you need to change the IP of the server:
- Create a folder and place the apk file in it.
- Rename the .apk file to .zip
- Unzip the archive here (not inside a sub-folder)
- delete the original apk
- Go to the "assets" folder and open "media.exolist.json" with a text editor.
- Change the ip address (do not edit after the colon ":") and save
- Go back to the main folder. Open the META-INF folder and delete the existing * .RSA and * .SF files
- Go back to the main folder. Select all the files and create a new zip archive. Make sure the archive is structured as follows: zip-->files&folders and not zip-->sub-folder-->files&folders
- rename the .zip archive in .apk
- Now it is necessary to sign the apk. Who uses Windows can utilize the tool I prepared (HERE). Start the "sign_apk.bat" file and follow the instructions. Who uses Linux/macOS can refer to the project by Patrick Favre-Bulle (GITHUB). HERE you'll find the jar file to use.
VirusTotal Scan
- At the end of the process, you will find, in the same folder as the initial apk, a new signed apk file.
Streaming Server (eight false positives. If your antivirus detects an anomaly, HERE the reason why)
Player
I have tried your default app with my server PC's Wi-Fi IP set to 192.168.1.130. , I've also tried ethernet on 192.168.1.200 after modifying, signing and sideloading your apk (I can't change the ethernet address on the PC itself as have several things dependent on ot)..
Same result for both, it's like it's either not seeing the mp4 or not seeing the server, I'm not sure which.