Thanks for the heads-up. If I do try to rework VLC, I'll certainly take into account kyl416's suggestions along with the rest of the remarks.ferrellsl wrote: ↑Wed Mar 10, 2021 12:10 pm Earlier in this thread LostDog and I both created VLC builds for Windows that incorporated richardpl's AC-4 branch of ffmpeg but unbeknownst to us at the time, VLC doesn't use ffmpeg for the audio playback portion of a video stream, so there's no audio when playing back ATSC3.0/AC-4 streams. This was very disappointing because it was a lot of work to get VLC to build against its many dependencies. It took me nearly 5 days to achieve a successful build.
I do about 95% of my coding on Windows and the rest on Linux and MacOS so I don't have a lot of experience to share in regard to Android. But I have used the Termux development environment (root not required) on native and emulated Android to create apps. It should be relatively trivial to create a command-line version of ffmpeg/ffplay for Android if you want to try that first under Termux. See: https://termux.com/ or over at Google Play: https://play.google.com/store/apps/deta ... com.termux
I was planning on working in Android Studio, but I'll keep Termux in mind depending on the source code. All the current languages are "new-fangled" to me (I said I was old: like pre-Unix old and programming-via-toggle-switch old) so I might as well tackle Java derivatives as C derivatives--or probably both. I am looking for a "lightweight" player source, though, as ffplay needs a lot of CPU processing.
I see there's a HDHR Kodi add-on, and LostDog was working on Kodi with FFmpeg-ac4. Perhaps that's the best alternative if I can do (or use) something similar on the Android Kodi app.
Did you get an APK as a result of the build?I was able to successfully build an Android x86 version of ffmpeg/ffplay using Termux and an edited build script taken from the Termux packages repo.
Here's the edited build.sh. Notice that the hash check is disabled and that I replaced the Termux curl command with "git clone" and pointed it to richardpl's repo.