Kodi Community Forum
Android TLS support in ffmpeg missing on Android/iOS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Android TLS support in ffmpeg missing on Android/iOS (/showthread.php?tid=189621)



TLS support in ffmpeg missing on Android/iOS - andybz - 2014-03-19

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


RE: TLS support in ffmpeg missing on Android/iOS - davilla - 2014-03-19

gnutls is a bitch to deal with on those platforms. It will not be resolved for Gotham.


RE: TLS support in ffmpeg missing on Android/iOS - learningit - 2014-12-09

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.


RE: TLS support in ffmpeg missing on Android/iOS - Memphiz - 2014-12-09

No update - there are experiemental builds in the developer forum for android here though:

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


RE: TLS support in ffmpeg missing on Android/iOS - learningit - 2014-12-09

(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!


RE: TLS support in ffmpeg missing on Android/iOS - learningit - 2014-12-10

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.


RE: TLS support in ffmpeg missing on Android/iOS - wsnipex - 2014-12-10

(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


RE: TLS support in ffmpeg missing on Android/iOS - learningit - 2014-12-10

Sorry the links to newer builds were added after I read the thread - I'll try them out. Thanks.