Replace librtmp dependancy with ffmpeg's native rtmp source.
#46
(2015-12-15, 21:42)ironic_monkey Wrote: what's with the post / prefixes ?

You can ignore that - just some debugging for 3D ISO/ssif detection: https://github.com/popcornmix/xbmc/blob/...am.cpp#L79
Reply
#47
http://paste.ubuntu.com/14035335/ is how it behaves at my place. make 100% sure that you have all 6 commits from my tree.
Reply
#48
(2015-12-15, 21:51)ironic_monkey Wrote: http://paste.ubuntu.com/14035335/ is how it behaves at my place. make 100% sure that you have all 6 commits from my tree.

I've deleted mine and cherry-picked the top 6 commits of yours. No change. This is my tree: https://github.com/popcornmix/xbmc/tree/newclock5_rtmp

Do I need to rebuild ffmpeg with extra options?
Reply
#49
could be something is missing in your build. rtmpe needs gcrypt, openssl or gmp support in ffmpeg.

you could try some vanilla rtmp streams, e.g. 'rtp play' addon
Reply
#50
(2015-12-15, 22:01)ironic_monkey Wrote: could be something is missing in your build. rtmpe needs gcrypt, openssl or gmp support in ffmpeg

My ffmpeg config.h
http://paste.ubuntu.com/14035606/

#define CONFIG_OPENSSL 0
#define CONFIG_TLS_OPENSSL_PROTOCOL 0
#define CONFIG_GCRYPT 0
#define CONFIG_GMP 1
#define CONFIG_LIBRTMP 0
#define CONFIG_FFRTMPCRYPT_PROTOCOL 1
#define CONFIG_FFRTMPHTTP_PROTOCOL 1
#define CONFIG_RTMP_PROTOCOL 1
#define CONFIG_RTMPE_PROTOCOL 1
#define CONFIG_RTMPS_PROTOCOL 1
#define CONFIG_RTMPT_PROTOCOL 1
#define CONFIG_RTMPTE_PROTOCOL 1
#define CONFIG_RTMPTS_PROTOCOL 1
#define CONFIG_LIBRTMP_PROTOCOL 0
#define CONFIG_LIBRTMPE_PROTOCOL 0
#define CONFIG_LIBRTMPS_PROTOCOL 0
#define CONFIG_LIBRTMPT_PROTOCOL 0
#define CONFIG_LIBRTMPTE_PROTOCOL 0
Reply
#51
same as mine.
Reply
#52
ah, i know what it might be. you probably don't have librtmp on your system at all? if so, see the code in the input stream factory, remove the ifdef around the rtmp code.
Reply
#53
HAS_LIBRTMP does appear to be defined:

xbmc/system.h
118:#define HAS_LIBRTMP

xbmc/config.h
54:#define HAS_LIBRTMP 1

and no change when removing the ifdef.
Reply
#54
well i'm stoked. you have to ask the debugger what is going on.
Reply
#55
looking at your logs popcornmix has this:
Code:
19:53:39 2935.131592 T:1996427264  NOTICE: FFmpeg statically linked, version: 2.8.4-kodi-2.8.4-Jarvis-beta4
19:53:39 2935.131836 T:1996427264  NOTICE: WARNING: unknown ffmpeg-kodi version detected
ironic_monkey has this:
Code:
20:48:48 T:140486576601088  NOTICE: FFmpeg statically linked, version: 2.8.3-Jarvis-beta3

does the warning message mean anything?
Reply
#56
not really, i have an older version and something funky is going on with popcornmix' build (probably working on something else). it's far from the same conditions anyways, different platforms for starters. and i have completely replaced the buildsystem in my fork and made quite some other changes.. apparently for the better ;p
Reply
#57
I was actually wondering how you were able to do builds so fast. Takes a bit on my system.
Reply
#58
well, i only rebuild what i change for starters, not clean builds.

and i have a 32 core machine during the day (at my laptop now though) which also helps.
Reply
#59
I'm just on an ubuntu laptop. If I only edit one file it takes 20 seconds for make to complete (mostly linking) and another 2 seconds to install.
I'm cross compiling for Pi, but the time is about the same for a native Ubuntu build.

Obviously building from clean (without ccache) takes forever (well a couple of hours).
Reply
#60
come to think of it i don't see any logging from ffmpeg in your post. did you enable the verbose component logging and tick fffmpeg to on ?
Reply

Logout Mark Read Team Forum Stats Members Help
Replace librtmp dependancy with ffmpeg's native rtmp source.0