librtmp - Help Thread

  Thread Rating:
  • 5 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Milhouse Offline
Team-Kodi Member
Posts: 4,070
Joined: Jan 2011
Reputation: 92
Post: #466
(2014-02-26 02:59)tfouto Wrote:  autostart enabled:
/storage/lib/librtmp.so.0
/usr/lib/librtmp.so.0
/var/tmp/libhack/3rdparty/librtmp.so.0

Oops sorry, just noticed you have "/var/tmp/libhack/3rdparty/librtmp.so.0" in your list, so it IS working (/var/tmp/libhack is the RAM-mounted partition).

(2014-02-26 03:08)tfouto Wrote:  i just dont see any of this:

-- Logs begin at Tue 2014-02-25 22:54:43 GMT, end at Tue 2014-02-25 23:16:52 GMT. --
Feb 25 22:54:45 rpi512 systemd[1]: Starting XBMC user autostart script...
Feb 25 22:54:45 rpi512 autostart.sh[417]: Adding 3rd Party libraries to LD_LIBRARY_PATH!
Feb 25 22:54:45 rpi512 autostart.sh[427]: Mounting RAM-based /var/tmp/libhack/3rdparty - requesting 1896k
Feb 25 22:54:45 rpi512 autostart.sh[449]: Succesfully updated /etc/profile.d
Feb 25 22:54:45 rpi512 systemd[1]: Started XBMC user autostart script.

I just get this:
-- Logs begin at Wed 2014-02-26 00:54:36 UTC, end at Wed 2014-02-26 01:00:28 UTC. --


but i have checked and addons which use rtmp dont hang xbmc, as they used to. If i disable autostart then it hangs again. (some specific streams)
So it seems to be working better...

Are you typing the command correctly? No big deal though, as it's obviously working.

As an alternative, you could try: "journalctl --no-pager | grep autostart"

If the above doesn't work, what do you have in your /flash/cmdline.txt?

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
tfouto Offline
Member
Posts: 68
Joined: Jan 2014
Reputation: 0
Post: #467
nothing either

cmdline.txt
boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh

Thanks anyway. It's working, altough no output...

I am genuinely impressed by your patience... Smile
(This post was last modified: 2014-02-26 03:19 by tfouto.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 4,070
Joined: Jan 2011
Reputation: 92
Post: #468
OK I'll have to leave it there - I've no idea. The reason I asked for your cmdline.txt is that you can specify options there which affect system logging, but as you don't have those options I've got no idea why your logger is not working as expected.

As an aside, if you add "quiet" to the end of the line in your cmdline.txt you'll get a more pleasant boot sequence (although if you're using one of my development builds, the Pi initially outputs a load of junk relating to hifiberry but this will be fixed eventually).

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
tfouto Offline
Member
Posts: 68
Joined: Jan 2014
Reputation: 0
Post: #469
Ok, no problem. It's working.

When i update to a new version, copying the target folder to update folder on pi and rebooting, there is no need to repeat again this process, since all files required/used (autostart.sh, librtmp.so.0, hacklib, mktmplib) and are on userdata, right?

Thanks
(This post was last modified: 2014-02-26 11:33 by tfouto.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 4,070
Joined: Jan 2011
Reputation: 92
Post: #470
Correct, no need to repeat.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
shuvro Offline
Junior Member
Posts: 42
Joined: Nov 2013
Reputation: 0
Post: #471
tfouto Hi! did u fix the librtmp for android Confused
find quote
sattekop Offline
Member
Posts: 59
Joined: Feb 2012
Reputation: 3
Post: #472
(2014-03-02 09:25)shuvro Wrote:  tfouto Hi! did u fix the librtmp for android Confused

I was also wondering if there is a solution. Would be great.
Did the solution in post 393 give a good result?
http://forum.xbmc.org/showthread.php?tid...pid1547336
find quote
scooterboy Offline
Junior Member
Posts: 2
Joined: Mar 2014
Reputation: 0
Post: #473
Hi . This is my first post . I am a newbie with all of this . I am having trouble updating my librtmp file in windows7 64bit
I deleted the old librtmp.DLL file size 374KB from Program Files (x86)/XBMC/system/players/dvdplayer and then I downloaded the 10-22-13 (KSV 10-18 release KAV-compiled librtmp.DLL size 187KB ( is that the right size file ) then I copied it and pasted it to Program Files (x86)/XBMC/system/players/dvdplayer then rebooted . Did I do the process right because it don't seem to be working properly with the Sports Devil repo ?
(This post was last modified: 2014-03-04 01:04 by scooterboy.)
find quote
harryop Offline
Junior Member
Posts: 7
Joined: Apr 2013
Reputation: 0
Post: #474
(2013-04-13 14:23)RedPenguin Wrote:  Due to increasing demand for support on librtmp relating to XBMC and the fact that it covers many different video add-ons, I am creating this thread for any support releating to librtmp.

librtmp stands for RTMP Library which is part of rtmpdump (http://rtmpdump.mplayerhq.hu/) which is used in XBMC to play RTMP Video Servers. The reason you can't always use the one included in XBMC is because some servers purposely break stuff so that third-party players are broken so folks like KSV and others make patches yet a new librtmp file needs to be made and placed into XBMC to play said streams. Also some features such a redirects are not supported in the main official version of rtmpdump.

Note: I will never put in the Xeebo Handshake 10 patch for two reasons, for one it's usually immediately given a take down notice and it's only for x86 and known not to work well in librtmp form, making it very impractical for these uses.

Links for librtmp:

My librtmp and rtmpdump files always with latest KSV patches and other related patches like Xeebo's (not Handshake 10 patches)
http://www.mediafire.com/?x4cvp5hl4m9xr

Note: More info on which folder to download from and what patches have been applied are located in the readme.txt in the root of the MediaFire folder.

Note for RasPi folks: If you use OpenELEC and possibly other distros, the XBMC system files are "read-only" or "refreshed" on (re)boot. So if you want to upgrade your librtmp.so you must make a new image for your distro. Raspbmc I can confirm does not have this issue.

A custom image made by Rbej of OpenELEC for RasPi including my librtmp is downloadable at:
http://openelec.tv/forum/124-raspberry-p...mitstart=0

UPDATE for OpenELEC users, described by bob:
http://forum.xbmc.org/showthread.php?tid...pid1481392

My modified Android APKs with S74ck3r's librtmp.so:
http://www.mediafire.com/?x4cvp5hl4m9xr

Wiki Link to for librtmp: (Check this out on how to "install" the replacement librtmp file)
http://wiki.xbmc.org/index.php?title=HOW...te_librtmp

Please while asking for support, not only state what hardware (PC, iPhone, ATV2, RasPi, etc) AND specify your exact Operating System/Distro! (Truly speeds up support time Smile)

EDIT 7-26-13 - Updates to my LiveStreams list (http://goo.gl/jyyZB) has been added to this thread, as librtmp and LiveStreams are closely connected, & folks of my List need a place to inform of dead channels, channels to be added, etc.


If you wish to have a private/public LiveStreams list of your own like mine, just sign up for a Dropbox (using my referral link Smile) https://db.tt/xIzUpCfj and then you can use the same URL list method that I use to share the list via all your XBMCs. NOTE: Dropbox has disabled the Public folder feature by default, so use this link after you sign-up for your account to renable it: https://www.dropbox.com/enable_public_folder and you are good to go. Smile
find quote
scooterboy Offline
Junior Member
Posts: 2
Joined: Mar 2014
Reputation: 0
Post: #475
(2014-03-04 00:53)scooterboy Wrote:  Hi . This is my first post . I am a newbie with all of this . I am having trouble updating my librtmp file in windows7 64bit
I deleted the old librtmp.DLL file size 374KB from Program Files (x86)/XBMC/system/players/dvdplayer and then I downloaded the 10-22-13 (KSV 10-18 release KAV-compiled librtmp.DLL size 187KB ( is that the right size file ) then I copied it and pasted it to Program Files (x86)/XBMC/system/players/dvdplayer then rebooted . Did I do the process right because it don't seem to be working properly with the Sports Devil repo ?
Can someone answer my question please ? Am I doing the above right .
find quote
Shani-08 Offline
Senior Member
Posts: 119
Joined: Feb 2014
Reputation: 11
Post: #476
Hi RedPenguin,
I am trying to build the .so file for Android and i have done this successfully with KSV patch as he published the diff there.
What changes do you do after his fixes? do you have your diff?
There is a stream which works with your dll on windows but not with my .so file on Androind, though it doesn't crash XBMC which is positve.
The android apk file you provided, crashes on android while the .so file contain doesn't work either.
I fee like i am almost there but need your patches.
-Shani
find quote
sagheerahmed94 Offline
Senior Member
Posts: 131
Joined: May 2013
Reputation: 34
Post: #477
Thank u shani bhai u r doing a great job for the android owner this is a good news for all who has the android thanks again shani bhai
find quote
sunnyhero Offline
Junior Member
Posts: 45
Joined: Aug 2013
Reputation: 0
Post: #478
Finaly some good news for android owners... Thanks shani bhai
find quote
kokoui Offline
Junior Member
Posts: 26
Joined: Mar 2014
Reputation: 0
Post: #479
Hello guys, thanks for your help, this community is really strong. I would like you to help me update the librtmp file of my machine because documentation is not very clear to me. I have the minin neo X7 machine running Android 4.2.2 and I run a custom made xbmc called Beyond Xbmc by Flumpster (best xbmc i have tried so far , highly reccomended!).

My first question, librtmp is also a system file of android or just xbmc? Do I have to just fix the file in the xbmc directory? If I replace the file with a newer will it work or I have to compile it myself based on my installation of xbmc?

Kind regards
find quote
sagheerahmed94 Offline
Senior Member
Posts: 131
Joined: May 2013
Reputation: 34
Post: #480
@kokoui My friend read the shani-08 post what he is asking to Red Penguin wait and keep pataince thanks
(This post was last modified: 2014-03-13 16:33 by sagheerahmed94.)
find quote
Post Reply