librtmp - Help Thread

  Thread Rating:
  • 5 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Milhouse Offline
Team-XBMC Member
Posts: 3,552
Joined: Jan 2011
Reputation: 88
Post: #901
Code:
rm -f /storage/.profile

This hack doesn't work, and is conflicting with the working solution, so remove this file.

Once you've removed the file, reboot, then run
Code:
journalctl --no-pager --unit=xbmc-autostart
mount
and paste the results.

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
haakie Offline
Junior Member
Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #902
after this:
OpenELEC:~ # rm -f /storage/.profile
OpenELEC:~ # reboot

I do:
OpenELEC:~ # journalctl --no-pager --unit=xbmc-autostart
-- Logs begin at Tue 2014-06-24 12:18:56 CEST, end at Tue 2014-06-24 12:21:03 CEST. --
OpenELEC:~ # mount
rootfs on / type rootfs (rw)
devtmpfs on /dev type devtmpfs (rw,relatime,size=185628k,nr_inodes=46407,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/mmcblk0p1 on /flash type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,u​tf8,errors=remount-ro)
/dev/sda1 on /storage type ext4 (rw,noatime,data=ordered)
/dev/loop0 on / type squashfs (ro,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /var type tmpfs (rw,relatime)
tmpfs on /var/tmp/libhack type tmpfs (rw,relatime,size=1888k)
tmpfs on /etc/profile.d type tmpfs (rw,relatime,size=1888k)
OpenELEC:~ #
find quote
Milhouse Offline
Team-XBMC Member
Posts: 3,552
Joined: Jan 2011
Reputation: 88
Post: #903
OK, the good news is that the hack is working as expected.

The lack of any journal information is a consequence of the clock not being set early enough on your Pi - when the clock does finally get set (over the network), the old (boot) journal containing the output from xbmc-autostart is deleted, and when you go to check the journal using ssh there is no evidence that xbmc-autostart has run however the fact you have /var/tmp/libhack mounted and LD_LIBRARY_PATH is being set correctly confirms that all is well.

I'm not entirely sure why your clock is being set so late, but it's generally speaking not a big deal (despite causing all this confusion).

The presence of /storage/.profile would have resulted in any interactive process (ie. ssh) picking up a different LD_LIBRARY_PATH, so while not preventing the hack from working it could cause unexpected behaviour during ssh sessions and so best to remove it.

If you want to revert to the "standard" autostart.sh from the "test" version you currently have installed, do the following:
Code:
cd /storage/.config
rm -f autostart.sh
curl -L http://is.gd/kBaTzY -o autostart.sh
chmod +x autostart.sh
sync
reboot

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
haakie Offline
Junior Member
Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #904
ok...so everything was ok?

i did exactly the steps as mentioned in this thread?....don't know what went wrong.

what does the above command do?......Original downloaded one i assume?



so I can not use the standard commands to check if I have the librtmp correctly....because something is wrong with my clock........correct?
When a new librtmp is available......just overwrite the one in storage/lib? (librtmp.so.0) or do the stuff all over again?

Good to hear that after all the hack is working!!!

Thanks for helping!!!!
find quote
Milhouse Offline
Team-XBMC Member
Posts: 3,552
Joined: Jan 2011
Reputation: 88
Post: #905
(2014-06-24 12:42)haakie Wrote:  ok...so everything was ok?

Yes.

(2014-06-24 12:42)haakie Wrote:  what does the above command do?......Original downloaded one i assume?
Yes.

(2014-06-24 12:42)haakie Wrote:  When a new librtmp is available......just overwrite the one in storage/lib? (librtmp.so.0) or do the stuff all over again?
Yes, just overwrite /storage/lib/librtmp.so.0 and reboot.

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
haakie Offline
Junior Member
Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #906
thanks again!!!

And I am correct as I can't check my librtmp (because clockstuff?)

I really thank you for your time.......thanks-thanks-thanks!!!
find quote
Milhouse Offline
Team-XBMC Member
Posts: 3,552
Joined: Jan 2011
Reputation: 88
Post: #907
(2014-06-24 12:48)haakie Wrote:  And I am correct as I can't check my librtmp (because clockstuff?)

You can't view the journal, because of the clock problem.

The best way to check if the hack has worked when the journal entries are not present is to run:
Code:
mount | grep /etc/profile

You should see something similar to the following:
Code:
tmpfs on /etc/profile.d type tmpfs (rw,relatime,size=1896k)
which would confim that the hack is working.

If you get no response then the hack hasn't worked (or isn't installed).

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
haakie Offline
Junior Member
Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #908
you are my hero!!

for clockproblem.......in openelec setting I have wait for network before starting xbmc?.........it is unchecked................maybe is this my problem?

what do you think?...should i check this....so wait for internet before starting xbmc?
find quote
Milhouse Offline
Team-XBMC Member
Posts: 3,552
Joined: Jan 2011
Reputation: 88
Post: #909
I don't know, maybe, try it. If it doesn't work, probably best to continue any further discussion in a new thread as it's now seriously OT. Smile

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
haakie Offline
Junior Member
Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #910
I did try.......and: YES-YES-YES...................clock seems fine
I can use "normal command" now
Thank a lot.........................Millhouse for president!!!

OpenELEC:~ # journalctl --no-pager | grep autostart.sh
Jun 24 13:18:37 OpenELEC autostart.sh[381]: Adding 3rd Party libraries to LD_LIBRARY_PATH!
Jun 24 13:18:37 OpenELEC autostart.sh[389]: Mounting RAM-based /var/tmp/libhack/3rdparty - requesting 1888k
Jun 24 13:18:37 OpenELEC autostart.sh[401]: Succesfully updated /etc/profile.d
find quote
Ottawa_ON Offline
Junior Member
Posts: 1
Joined: Jun 2014
Reputation: 0
Post: #911
Hello
I am new in this forum and would like to get some help on how to update librtmp on my NON rooted Amazon Fire TV (FTV). I have followed the wiki instruction (/data/data/org.xbmc.xbmc/lib/librtmp.so) but when i browser till "lib" i dont see anything in there. Is it because I havent done rooting the device yet?

Any help would be appreciated.

Thank you
find quote
shuvro Offline
Junior Member
Posts: 31
Joined: Nov 2013
Reputation: 0
Post: #912
Hi! @RedPenguin

I bought the Minix X8-H.
But i can't replace librtmp file .
Can u pls tall me how to do it .
(This post was last modified: 2014-07-12 02:35 by shuvro.)
find quote
shawonmq Offline
Senior Member
Posts: 212
Joined: Jun 2012
Reputation: 8
Post: #913
@RedPenguin
Is there any Streamfly patch for RK3088 chips based android XBMC? I tried your apk with RK chip devices...result is not good..any clue how I update my RK chip XBMC with streamfly?
find quote
Post Reply