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
  #21  
Old 11-09-2012, 08:35 AM
CyKiller CyKiller is offline
Junior Member
 
Join Date: Nov 2012
Posts: 5
CyKiller is on a distinguished road
Default

Re: Rtmpdump build for Android


Quote:
Originally Posted by S74ck3r View Post
New android and windows binaries available updated to PolarSSL 1.2.0.
Any chance you can compile the librtmp.so for android please? Or relate on what lib files are needed for openssl, I get an error when compiling stating that the header file ssl.h is not in the hmac file. It is there I checked a million times and had no difference no matter what I tried.

Thanks.
Reply With Quote
  #22  
Old 11-13-2012, 04: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


no problem, new version uploaded.
Reply With Quote
  #23  
Old 11-14-2012, 09:09 AM
CyKiller CyKiller is offline
Junior Member
 
Join Date: Nov 2012
Posts: 5
CyKiller is on a distinguished road
Default

Re: Rtmpdump build for Android


Much appreciated, I downloaded and noticed it was compiled for linux. I was wondering if you can cross compile it for android using

$ make CROSS_COMPILE=arm-none-linux- INC= I/my/cross/includes

with the extension librtmp.so which can be used under android. A tutorial would also be great, I been trying to figure this out for days now. Thanks a lot for the updated file it was much appreciated!!
Reply With Quote
  #24  
Old 11-14-2012, 11:27 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


Have you actually tried the files?

They are built with the android ndk using CC=arm-linux-androideabi
Reply With Quote
  #25  
Old 11-14-2012, 08:27 PM
CyKiller CyKiller is offline
Junior Member
 
Join Date: Nov 2012
Posts: 5
CyKiller is on a distinguished road
Default

Re: Rtmpdump build for Android


Sorry for the soft explaination, it is for XBMC and the scripts read librtmp.so - I will give it a try but I am sure it will not recognize it. I will try it out and report back.
Reply With Quote
  #26  
Old 11-20-2012, 01:51 PM
flinki flinki is offline
Junior Member
 
Join Date: Sep 2012
Posts: 5
flinki is on a distinguished road
Default

Re: Rtmpdump build for Android


Hey maybe could someone compile flvstreamer for android:
http://download.savannah.gnu.org/rel...reamer/source/
Thanks in advance
Reply With Quote
  #27  
Old 11-21-2012, 03:07 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 haven't tried it out because I'm at work but this might be ok
https://github.com/downloads/S74ck3r....1c-android.7z

It's built from this svn://svn.sv.gnu.org/flvstreamer.

Last edited by S74ck3r : 11-21-2012 at 03:08 AM. Reason: spelling
Reply With Quote
  #28  
Old 11-22-2012, 12:42 PM
flinki flinki is offline
Junior Member
 
Join Date: Sep 2012
Posts: 5
flinki is on a distinguished road
Default

Re: Rtmpdump build for Android


Thanks !!

I have problems compiling it on my own... Maybe you can help me :
I created an standalone toolchain for android using androidNDK toolkit.
I crosscompiled polarssl using this command : make CC=arm-linux-androideabi-gcc APPS=

Now i have the polarssl library . I copied it to include path of the android standalone toolchain.
Then i modified the 2 makefiles of rtmpdump so that I use the arm-linux-androideabi-gcc compiler. But when i try to compile it somehow I get :


$ make all SHARED= SYS=android CRYPTO=POLARSSL LIBZ="-lz -static"
make[1]: Entering directory `/home/Florian/rtmpdump/librtmp'
/home/Florian/arm-linux-androideabi-4.6/arm-linux-androideabi-4.6/bin/arm-linux-
androideabi-gcc.exe -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_POLARSSL -O2
-c -o rtmp.o rtmp.c
In file included from rtmp.c:33:0:
rtmp_sys.h:64:30: fatal error: polarssl/version.h: No such file or directory
compilation terminated.
<builtin>: recipe for target `rtmp.o' failed
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/home/Florian/rtmpdump/librtmp'
Makefile:91: recipe for target `librtmp/librtmp.a' failed
make: *** [librtmp/librtmp.a] Error 2

Seems that the compiler can't find the polarssl library... I tried to figure out where I have to copy the libpolarssl.a file but up to now I didn't managed to...
Reply With Quote
  #29  
Old 11-22-2012, 02:30 PM
S74ck3r S74ck3r is offline
Junior Member
 
Join Date: Aug 2012
Posts: 27
S74ck3r is on a distinguished road
Default

Re: Rtmpdump build for Android


After you compile polarssl run make install to copy the library and headers to the right place.

For my setup the command looks like this -

make install DESTDIR=/c/tmp/android-toolchain/sysroot

Then when you build rtmpdump you need to include something like;

INC="-I/c/tmp/android-toolchain/sysroot/include"

I'm getting round to putting together a step by step, will post it here probably on the weekend.

(edit) oh and I didn't include LIBZ='-lz -static' when building for android.
Reply With Quote
  #30  
Old 11-22-2012, 07:28 PM
flinki flinki is offline
Junior Member
 
Join Date: Sep 2012
Posts: 5
flinki is on a distinguished road
Default

Re: Rtmpdump build for Android


Slowly moving foward... Finally found the place where the library has to be... :arm-linux-androideabi-4.6\arm-linux-androideabi-4.6\sysroot\usr\lib

Then i had another ERROR : it seemed , that the andoroid toolchian can't find the libz library. Although it's included in the android toolchain...

Finaly ! Don't know how and why but now it works.

Thanks for your help!
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 12:33 PM.


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