HipTV
Source code
HipTV 1.0.0 (version code 10001) for Android TV, distributed through Google Play
HipTV contains two open-source components whose licences give you the right to their source code:
- FFmpeg n9.0.2, licensed under the GNU Lesser General Public License version 2.1 or later. It is used, without modification, for audio decoding and is linked statically into the app's native library
libffmpegJNI.so together with the Media3 FFmpeg extension (Apache License 2.0). FFmpeg is not owned by the HipTV developer.
- juniversalchardet 2.5.0, used without modification under the Mozilla Public License 1.1 option.
The archive below contains the complete corresponding source code of both, and everything needed to rebuild FFmpeg, change it and relink libffmpegJNI.so with your version.
Downloads
What is in the archive
- The complete FFmpeg n9.0.2 source tree (commit
946fcce07b6dcd0331c8cc609192aeff5e1924f8, the n9.0.2 release tag) with all of its licence files.
- The build script and FFmpeg configuration that produced the shipped library, and the Media3 FFmpeg extension source code (Java and JNI).
- For each processor architecture: the FFmpeg static libraries, the headers generated by
configure, and the compiled JNI bridge object.
relink.py, a small tool that rebuilds FFmpeg and relinks the library. Relinking the supplied files reproduces the shipped libraries byte for byte.
- The juniversalchardet sources JAR from Maven Central and the upstream repository at the
v2.5.0 commit.
- The licence texts and a manifest with the SHA-256 of every file.
Native libraries it corresponds to
| ABI | Size | SHA-256 of libffmpegJNI.so |
arm64-v8aGoogle Play | 1,806,480 B | 62086ebc9fb881f41e8dad7045e10254bb0cd615cefe6d9d4b740e68d7f79421 |
armeabi-v7aGoogle Play | 1,652,636 B | 43111db5bd38709dfee9c1c0aad89a74ce4783b30f87808a268614008fae1af2 |
x86_64x86_64 build only | 2,101,088 B | b63784ab98b34310d71efadcd6e97c27a20a7339ec839e829dec73fd16a5af8a |
Rebuild and relink
You need Python 3.9+, make and the Android NDK r27b (27.1.12297006). The archive's README has the details, including how to put your library into the app.
tar -xzf hiptv-1.0.0-third-party-sources.tar.gz
cd hiptv-1.0.0-third-party-sources
python3 relink.py verify
python3 relink.py link --ndk "$NDK" --objects work-objects --out ../relinked --expect-identical
python3 relink.py build-ffmpeg --ndk "$NDK" --source ../my-ffmpeg --out ../my-build
Written offer
For at least three years after the date on which we last distribute a version of HipTV, we will give anyone who received it a complete copy of these materials for that version, free of charge by download or for no more than the cost of physically performing the distribution. Write to destek@hiptv.app and include the version shown on the app's About screen. The same offer is in the app, under About > Third-party notices > SOURCE-ACCESS.txt.
Rights under these licences are not limited by any HipTV terms. To the extent LGPL 2.1 section 6 requires, you may modify HipTV for your own use and reverse engineer it to debug such modifications.
Türkçe özet
HipTV, ses çözmek için GNU LGPL 2.1 veya sonraki sürümleriyle lisanslanan FFmpeg'i ve MPL 1.1 ile lisanslanan juniversalchardet kütüphanesini değiştirmeden kullanır. Yukarıdaki arşivde bu iki bileşenin eksiksiz kaynak kodu ile FFmpeg'i yeniden derleyip libffmpegJNI.so kütüphanesini yeniden bağlamak için gereken her şey bulunur. Sorular ve yazılı teklif kapsamındaki talepler için: destek@hiptv.app.