Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 08-23-2012, 08:35 AM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Rtmpdump build for Android


So I've been struggling for a while to get Rtmpdump to build for Android on windows.

If anyone wants to try it I've uploaded the binaries here https://github.com/S74ck3r/rtmpdump/downloads

It's built from the latest code, again with no patches or additions. Don't know if it works properly as I haven't tested it yet but it does appear to load.

Shared library version not working.. will look at it later but don't bother downloading that one. --Update, rename the shared library to "librtmp." (without the quotes but with the fullstop at the end that's the important bit) and it will work.

I'm not responsible if it bricks your phone...

Richard

Last edited by S74ck3r : 08-23-2012 at 09:58 AM.
Reply With Quote
  #2  
Old 08-24-2012, 04:52 AM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Re: Rtmpdump build for Android


Mistake on shared library naming now fixed, new binaries uploaded (see first post for link).



Richard
Reply With Quote
  #3  
Old 09-09-2012, 02:49 PM
dextor dextor is offline
Junior Member
 
Join Date: Sep 2012
Posts: 4
dextor is on a distinguished road
Default

Re: Rtmpdump build for Android


hi richard,

i would like to know more about making rtmpdump work on android. i tried to run it via terminal emulator but it keeps telling me "permission denied" even with root access.

how did you manage to make it run? does it require root?

thanks
Reply With Quote
  #4  
Old 09-10-2012, 02:53 AM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Re: Rtmpdump build for Android


Hi dextor,

I copied the lib file to /system/lib and the application files to /system/xbin.

After that you to set the application files as executable, just use adb shell, remount the file system as r/w and chmod them using 755.

Alternatively get es file explorer (it's free), make sure it has root access and set the file system as writeable, find the file and view it's properties.
From there you can make it executable by ticking a checkbox.

hope that helps
Richard
Reply With Quote
  #5  
Old 09-10-2012, 04:18 AM
dextor dextor is offline
Junior Member
 
Join Date: Sep 2012
Posts: 4
dextor is on a distinguished road
Default

Re: Rtmpdump build for Android


thanks so much for your answer, that definitely helps me out.

i was wondering why rtmpdump needs root access though.. do you know the reason behind this?
Reply With Quote
  #6  
Old 09-10-2012, 04:57 AM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Re: Rtmpdump build for Android


I don't think it does, you just need root access to copy the files into the correct places.

It works find from a shell without requesting root access first.

Last edited by S74ck3r : 09-10-2012 at 05:00 AM. Reason: Tried it out without root.
Reply With Quote
  #7  
Old 09-10-2012, 07:15 AM
dextor dextor is offline
Junior Member
 
Join Date: Sep 2012
Posts: 4
dextor is on a distinguished road
Default

Re: Rtmpdump build for Android


yes, but the library must be placed mandatory into the system directory in order for rtmpdump to work, right?

i'm looking for a completely non-root solution: since i need to execute rtmpdump from an Android application, i don't care if the libraries are installed, my only need is to launch an instance of rtmpdump

EDIT: thanks for your time
Reply With Quote
  #8  
Old 09-10-2012, 07:37 AM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Re: Rtmpdump build for Android


ah sorry, I see what you mean now..

Try the other download from my github (https://github.com/downloads/S74ck3r...-rtmpdump.zip), it is a static build so doesn't need the library (just make sure the binaries are executable).

If you need any testers for your app I'd be interested.
Reply With Quote
  #9  
Old 09-10-2012, 11:28 AM
dextor dextor is offline
Junior Member
 
Join Date: Sep 2012
Posts: 4
dextor is on a distinguished road
Default

Re: Rtmpdump build for Android


that did the trick. i found out that executing from /sdcard/ is not possible if it is mounted just with r/ permissions. i copied your rtmpdump executable in /data/local/tmp and it totally works.

i love you, really once i integrate this solution on my application i will send a copy for you to test!
Reply With Quote
  #10  
Old 09-11-2012, 07:42 AM
andygr andygr is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
andygr is on a distinguished road
Default

Re: Rtmpdump build for Android


Works great. Thanks you. Does somebody figured out how to launch vlc in Android like...
rtmpdump blabla | vlc -
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:16 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons