Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
Re: Rtmpdump build for AndroidHowto compile Rtmpdump for Android
1) Get the Android ndk (http://developer.android.com/tools/sdk/ndk/index.html) and follow the instructions here (PATH_TO_NDK_INSTALL/../android-ndk-r7/docs/STANDALONE-TOOLCHAIN.html) to create a standalone android toolchain. 2) Download and install Mingw (http://sourceforge.net/projects/mingw/files/MinGW/). 3) Download PolarSSL source from (https://polarssl.org/download) and unzip it to your mingw/msys home directorys. For me this was C:\MinGW\msys\1.0\home\S74ck3r. Current builds are made with PolarSSL 1.2.0 If you're going to build with PolarSSL 1.2.0 you will need to download an additional header from (http://nuicode.com/projects/ccv-mult...e.h?format=raw) and copy it to your mingw/include folder because it's not included in Mingw. 4) Open Mingw shell, add the path to the standalone android toolchain binaries to the path. On my system I did this, but it will depend on where you installed the toolchain. 'export PATH=/c/tmp/android-toolchain/bin:$PATH' 5) CD to the unzipped PolarSSL directory and type; 'make CC=arm-linux-androideabi-gcc APPS=' 'make install DESTDIR=/c/tmp/android-toolchain/sysroot' (Obviously change the install destination directory if your toolchain is in a different location) 6) Get the Rtmpdump source. The following commands assume you have retrieved it from my repository (https://github.com/S74ck3r/rtmpdump.git). You can obviously get the source directly from the official repository. There is no difference in the actual code (i.e. no added patches or additional functionality) but I have added a target for android to the makefiles for convenience. 7) CD to the Rtmpdump source directory and type; -- Shared library version 'make SYS=android CROSS_COMPILE=arm-linux-androideabi- INC="-I/c/tmp/android-toolchain/sysroot/include" CRYPTO=POLARSSL' -- Static version 'make SYS=android CROSS_COMPILE=arm-linux-androideabi- INC="-I/c/tmp/android-toolchain/sysroot/include" CRYPTO=POLARSSL SHARED=' (Obviously change this if your toolchain is in a different location, make sure the include path is correct) 8) Done. |
#32
|
|||
|
|||
Re: Rtmpdump build for AndroidThank you so much, loaded up my ubunt virtual box session, and voila followed orders and all good with polarssl!! One major issue where I am completely lost, the librtmp.so.0 still maintains the .0 expression when I need it for librtmp.so, any tips on how to adjust the extension.
|
#33
|
|||
|
|||
Re: Rtmpdump build for AndroidMaybe you could try renaming the file yourself, or running the install
target from the makefile which installs the shared library and creates a link to it with just the .so extension. |
#34
|
|||
|
|||
Re: Rtmpdump build for AndroidIf i want watch "rtmpe" channels from android phone, or android TV Box, how i can do this, and make playlist of channel with names?
If this possible? Thanks! |
#35
|
|||
|
|||
Re: Rtmpdump build for AndroidSomebody please help!
|
#36
|
|||
|
|||
Re: Rtmpdump build for Androidhas someone the updated librtmp.so file for android?
|
#37
|
|||
|
|||
Re: Rtmpdump build for Android |
#38
|
|||
|
|||
Re: Rtmpdump build for AndroidS74ck3r, thanks for your support in this thread.
I successfully got the rtmpgw static binary to work in my Android project. When I confirmed that the gateway is running, I try to view the video stream on the appropriate port and my video player crashes. I know the streams work in VLC, however they don't work correctly in the default VideoView OR the Vitamio Player (which is based on ffmpeg). Do you have any insight into this problem? They are twitch.tv or justin.tv streams if that helps. Also, the streams in VLC say that the video codec is h264 and audio is usually mp3. |
#39
|
|||
|
|||
Re: Rtmpdump build for AndroidElBradford,
Are you saying that rtmpgw is successfully streaming out data with a http get request from inside your app, and simply not playing back in videoview? I have been trying to use vitamio as a streamer by including the rtmpgw info as part of the http get request from vitamio, with rtmpgw running on a different machine. All i am getting is 'range request not supported' errors in rtmpgw. Did you manage to circumvent this problem? Regards Dan |
#40
|
|||
|
|||
Re: Rtmpdump build for AndroidMoving downloads from github to bitbucket.
Current build is now here https://bitbucket.org/S74ck3r/rtmpdu...roid/downloads |
Tags: android, rtmpdump |
Thread Tools | |
Display Modes | |
|
|