Android TLS support in ffmpeg missing on Android/iOS
#1
I've got an addon that uses a HLS stream over HTTPS.

It took me a while to track down why it would play on some platforms and not others.. but I narrowed it down to ffmpeg being built without gnutls.

The OpenELEC guys had gnutls missing as a ffmpeg dependency (which they've now fixed), so their builds are now working. I've also had confirmation that Ubuntu Gotham builds are working too, but the official Android and iOS builds are excluding gmp, nettle and gnutls (commit 330a812603e6d1b44fbc014a0cfcc04c8611dbc3)

In commit c43bbb31e2396534d73b4311f9461c85711b8026, I can see this comment suggested the error:
Code:
droid: temp fix runtime crash on load, disable gmp
    Cannot load library: soinfo_relocate(linker.cpp:975):
    cannot locate symbol "__gmp_binvert_limb_table" referenced by "libavformat-54-arm.so"...

I've had some strange errors trying to build the Android version on my desktop, so I haven't been able to test it yet, but in the mean time.. what is the likelihood of this being fixed for the final release of Gotham? Should I submit a bug report or feature request in Trac for this?

cheers
Reply
#2
gnutls is a bitch to deal with on those platforms. It will not be resolved for Gotham.
Reply
#3
Is there any update on this for Helix? It not only affects HLS over https, it also prevents encrypted streams from playing because the key file is https.
Reply
#4
No update - there are experiemental builds in the developer forum for android here though:

http://forum.kodi.tv/showthread.php?tid=209569
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
(2014-12-09, 12:37)Memphiz Wrote: No update - there are experiemental builds in the developer forum for android here though:

http://forum.kodi.tv/showthread.php?tid=209569

m3u8 live streams with https key file work perfectly.

Other than feeling like an idiot for not finding a thread named "Android build with gnutls enabled", my first tests work. I do see the blurriness that others have described on some of the streams. I'll install Helix RC2 on another fire stick and compare with the beta4 build. I didn't notice the blurriness on RC2, but I'll check.

Thanks!
Reply
#6
Comparing the Helix Beta4 build with gnuTLS enabled to RC2 there do seem to be differences in the sharpness of the video image. RC2 appears to be sharper and less washed out. It would be great if gnuTLS could be added into a current RC build. The lack of ssl in ffmpeg means that quite a number of current legitimate streams are unable to play in various addons running on Android.
Reply
#7
(2014-12-10, 14:33)learningit Wrote: Comparing the Helix Beta4 build with gnuTLS enabled to RC2 there do seem to be differences in the sharpness of the video image. RC2 appears to be sharper and less washed out. It would be great if gnuTLS could be added into a current RC build. The lack of ssl in ffmpeg means that quite a number of current legitimate streams are unable to play in various addons running on Android.

you should just read the thread, I've posted multiple builds, the latest is RC3
Reply
#8
Sorry the links to newer builds were added after I read the thread - I'll try them out. Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
TLS support in ffmpeg missing on Android/iOS0