v20 Compiling Kodi 20.0 Nexus branch with DV support
#16
And does the sha512 needs to be on the .zip file or .tar.gz file or the release?

because it appears to download the .tar.gz file:
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
Reply
#17
(2023-02-07, 09:50)black_eagle Wrote: When you have patched FFmpeg, zip it up again, psuh it to your repo as a release (different version name), point the build script to it (along with the new sha) and it should download and build against that.

no, you don't need to zip it, github handles that automatically. What happens in the background is this: https://github.com/xbmc/xbmc/blob/Nexus/...kefile#L40
which translates to downloading this tarball (by default, before your changes): https://github.com/xbmc/FFmpeg/archive/r...ha1.tar.gz
that comes from https://github.com/xbmc/FFmpeg/releases

So you have to adjust to download the patches release from your own fork. You also need to change the SHA512 hash to match your own tarball. Just download it to your machine and create the hash, on linux: sha512sum [tarball]
Reply
#18
this is the SHA512 hash for: https://github.com/TwillightMercy/FFmpeg...ha1.tar.gz
$ sha512sum 4.4.1-Nexus-Alpha1.tar.gz
e163d464ab28e4f994ed746214e349f7f892f093391c243eb7f069d72a6032be25f2b0461e894b97f864a0d3bd560d4745f2b3504056dfd9047f228d09c973f6  4.4.1-Nexus-Alpha1.tar.gz
Reply
#19
(2023-02-07, 10:07)wsnipex Wrote: this is the SHA512 hash for: https://github.com/TwillightMercy/FFmpeg...ha1.tar.gz
$ sha512sum 4.4.1-Nexus-Alpha1.tar.gz
e163d464ab28e4f994ed746214e349f7f892f093391c243eb7f069d72a6032be25f2b0461e894b97f864a0d3bd560d4745f2b3504056dfd9047f228d09c973f6  4.4.1-Nexus-Alpha1.tar.gz
@black_eagle @wsnipex Thanks both of you for the help.

I've successfully compiled Kodi 20.0 APK by:

1. Cloning Kodi 20.0 Nexus branch of this specific release:
https://github.com/xbmc/xbmc/tree/20.0-Nexus

2. Applied in my Kodi fork "Improve Dolby Vision detection for Android" PR code:
https://github.com/xbmc/xbmc/pull/22423/files

3. Applied patched ffmpeg code to my fork + Updated the FFMPEG-VERSION file with the correct fork URL, release tag, and SHA512.


But unfortunately I don't see any difference, and the DV support is partial. not full working as in v21 nightly releases.
Did I miss something? or just to give up on stable v20.0 with DV support?
Reply
#20
v21 should be moving to ffmpeg 5.1.x not 4.4.1
see this log file https://paste.kodi.tv/redepihawa.kodi which was posted from here https://forum.kodi.tv/showthread.php?tid=371857

(only as an indicator of newer versions, the rest can be ignored)
Reply
#21
(2023-02-07, 18:13)jepsizofye Wrote: Iv21 should be moving to ffmpeg 5.1.x not 4.4.1
see this log file https://paste.kodi.tv/redepihawa.kodi which was posted from here https://forum.kodi.tv/showthread.php?tid=371857

(only as an indicator of newer versions, the rest can be ignored)

I know, for now I compiled v21 with ffmpeg 4.4.1

Updated: I succeeded compiling 64bit APK with dv support!

but 32bit seems less working with DV lol
Reply
#22
(2023-02-07, 18:16)barronen1 Wrote:
(2023-02-07, 18:13)jepsizofye Wrote: Iv21 should be moving to ffmpeg 5.1.x not 4.4.1
see this log file https://paste.kodi.tv/redepihawa.kodi which was posted from here https://forum.kodi.tv/showthread.php?tid=371857

(only as an indicator of newer versions, the rest can be ignored)

I know, for now I compiled v21 with ffmpeg 4.4.1

Updated: I succeeded compiling 64bit APK with dv support!

but 32bit seems less working with DV lol

v20 with ffmpeg 4.4.1**
Reply

Logout Mark Read Team Forum Stats Members Help
Compiling Kodi 20.0 Nexus branch with DV support0