Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
Re: Rtmpdump build for AndroidQuote:
Thanks. |
#22
|
|||
|
|||
Re: Rtmpdump build for Androidno problem, new version uploaded.
|
#23
|
|||
|
|||
Re: Rtmpdump build for AndroidMuch 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!! |
#24
|
|||
|
|||
Re: Rtmpdump build for AndroidHave you actually tried the files?
They are built with the android ndk using CC=arm-linux-androideabi |
#25
|
|||
|
|||
Re: Rtmpdump build for AndroidSorry 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.
|
#26
|
|||
|
|||
Re: Rtmpdump build for AndroidHey maybe could someone compile flvstreamer for android:
http://download.savannah.gnu.org/rel...reamer/source/ Thanks in advance |
#27
|
|||
|
|||
Re: Rtmpdump build for AndroidI 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 |
#28
|
|||
|
|||
Re: Rtmpdump build for AndroidThanks !!
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... |
#29
|
|||
|
|||
Re: Rtmpdump build for AndroidAfter 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. |
#30
|
|||
|
|||
Re: Rtmpdump build for AndroidSlowly 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! |
Tags: android, rtmpdump |
Thread Tools | |
Display Modes | |
|
|