Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Rtmpdump build for Android

(http://stream-recorder.com/forum/showthread.php?t=13466)

aaes 09-17-2013 07:38 AM

Re: Rtmpdump build for Android


 
Hi Richard,

May you compile customized rtmpdump for android? http://stream-recorder.com/forum/cus...le-t16103.html :)

Yours sincerely

S74ck3r 09-18-2013 03:13 AM

Re: Rtmpdump build for Android


 
I probably won't have time to do this for a couple of days.

If you can't wait that long, or just want to be able to do it for yourself so you don't have to rely on others then follow the instructions here
(https://bitbucket.org/S74ck3r/rtmpdu...roid/downloads) for building rtmpdump for xbmc.

This should be all you need.

Found a spare 5 mins... try this https://bitbucket.org/S74ck3r/rtmpdu...2018-09-13.zip

I haven't tested it but it should work ok. It should work with xbmc.

Also there is a static build (won't work with xbmc) here https://bitbucket.org/S74ck3r/rtmpdu...2018-09-13.zip


Richard

elBradford 12-19-2013 10:34 PM

Re: Rtmpdump build for Android


 
Quote:

Originally Posted by danturner (Post 60376)
It's an flv stream, I believe. The native videoview won't ever play this format, while Vitamio will. The problem is, however, that the version of ffmpeg used to build Vitamio doesn't not support non-seekable streams (such as that given out by rtmpgw). This is why rtmpgw won't start streaming when sent an http GET request from Vitamio. The latest version of ffmpeg does support this, however, and hopefully a future build of Vitamio will include this too.

That's the reason for your (and my) pain.

Dan,

I'm still working on this. Yep! I found your stackoverflow questions in my search, and your conversation on the last question here (http://stackoverflow.com/questions/1...o-libffmpeg-so) makes it sound like you figured it out. How's it going for you?

I've kind of switched gears, trying to compile Vitamio's ffmpeg with librtmp support so that I don't need to run rtmpgw separately. Is that what you did? If so, any pointers? I can't get ffmpeg to compile properly.

Bradford

Elgero 01-31-2014 02:12 PM

Re: Rtmpdump build for Android


 
I need some help with creating a script that I can run with Android Terminal Emulator.

Yesterday I bought my first tablet and rooted it. I downloaded the Android version of rtmpdump with KSV's patches (static version) and copied it to "/system/bin/" and gave it R/W and execute permissions. I'm using it with Chaturbate and it works fine, but I'd like to use a script to make it easier to use, but having some problems with it. I need to enter the modelname for the webpage (-p) and I need the modelname + date/time for the filename (-o), but this doesn't work. I can get the date/time, but the 'model' variable is always empty. I also tried to pass the modelname as an argument, but it doesn't recognize $1.


Code:

#!/system/bin/sh

now=$(date +"_%Y-%m-%d_%H-%M-%S").flv

echo "Enter model name: "

read model

echo "Saving stream as: $model$now"

rtmpdump -r "rtmp://...." -p "http://chaturbate.com/$model/" -o "/storage/UsbDriveA/$model$now"

This is the result (removed rtmpdump line).

Code:

u0_a160@android:/ $ su
u0_a160@android:/ # cd sdcard
u0_a160@android:/sdcard # sh cb.sh
: not found
: not found
Enter model name:
: not found
milfy
: not found
Saving stream as: _2014-01-31_22-03-14.flv
cb.sh[12]: u0_a160@android:/: not found
cb.sh[13]: u0_a160@android:/: not found
cb.sh[14]: u0_a160@android:/sdcard: not found
cb.sh[17]: Enter: not found
u0_a160@android:/sdcard #


S74ck3r 02-27-2014 03:21 AM

Re: Rtmpdump build for Android


 
So I haven't been able to sort out building ffmpeg with librtmp for android but it looks like someone else has;

https://github.com/OnlyInAmerica/FFmpeg-Android

There's a script there, I haven't tried it but if it works then please thank the author.

ilje 05-02-2014 09:25 AM

Re: Rtmpdump build for Android


 
plz how to use rtmpsuck ?

snuky 10-02-2014 11:42 AM

Re: Rtmpdump build for Android


 
Hi, i get rtmpdump [1] syntax error '@4D4' unexpected on Andoid 4.4 and 4.0 with 2.3 build and https://bitbucket.org/S74ck3r/rtmpdump-android/ builds. Any idea?


All times are GMT -6. The time now is 12:53 AM.