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
  #41  
Old 01-30-2013, 10:02 AM
danturner danturner is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
danturner is on a distinguished road
Default

Re: Rtmpdump build for Android


Hi S74ck3r,

Have you managed to succesfully cross-compile librtmp with the librtmp.a archive included? I see you've managed to compile the librtmp.so.0 file, it seems. I'm trying to add librtmp support to ffmpeg for Android, and need a cross-compiled librtmp in order to do this.
Reply With Quote
  #42  
Old 01-30-2013, 10:03 AM
danturner danturner is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
danturner is on a distinguished road
Default

Re: Rtmpdump build for Android


Thanks for all your hard work, by the way....
Reply With Quote
  #43  
Old 01-31-2013, 02:59 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


All the hard work has been done by people much cleverer than me.

I just wanted to find out a bit about how the android ndk worked and thought I'd share.

Anyway, I've put up an archive of all the build artefacts at the bitbucket link above (local.7z). Hopefully it contains the files that you need.
Reply With Quote
  #44  
Old 01-31-2013, 05:43 AM
danturner danturner is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
danturner is on a distinguished road
Default

Re: Rtmpdump build for Android


Exactly what I was after! Thanks so much! Now to see if it works.....
Reply With Quote
  #45  
Old 02-22-2013, 04:10 PM
elBradford elBradford is offline
Junior Member
 
Join Date: Jan 2013
Posts: 4
elBradford is on a distinguished road
Default

Re: Rtmpdump build for Android


Quote:
Originally Posted by danturner View Post
ElBradford,

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
Dan,

Sorry for the long delay. I don't have email notifications turned on apparently.

Yes, I got it running properly. I confirmed through adb shell and saw the process. I even saw the logs as it started converting the stream. What you might be experiencing is a problem with ports. Check out "ephemeral ports" or something like that. You need a good port # otherwise it won't have the proper permissions. If you can get a root adb shell then you can troubleshoot as root.

Have you had any further luck since you last posted?

Bradford
Reply With Quote
  #46  
Old 02-22-2013, 04:33 PM
thebearnecessities thebearnecessities is offline
Junior Member
 
Join Date: Feb 2013
Posts: 1
thebearnecessities is on a distinguished road
Default

Re: Rtmpdump build for Android


I'm trying to get rtmpdump working on android.

The reason is because I am using xbmc media centre and would like to use xbmc media centre to access a UK based video on demand service called 4OD (its channel 4's on demand service).

I know nothing about RTMPDUMP or what it does but i know that I need it in order to use 4OD no xbmc.

Is anyone able to point me in the right direction of how to get it working on android? have other people been using it successfully?

the addon simply wants to know where the rtmpdump.exe file is (on the windows version) but on android i don't know what to point it towards since i presume the exe file is no use on android.

i have been looking at your downloads page https://bitbucket.org/S74ck3r/rtmpdu...roid/downloads but i don't know which one is for me and where to put the files on my android box etc.

any help much appreciated.

also how come i cant subscribe to the thread? i click on thread tools and get taken t the main forum page. is it because i dont have enough posts maybe?

Last edited by thebearnecessities : 02-22-2013 at 06:19 PM.
Reply With Quote
  #47  
Old 02-28-2013, 03:03 PM
danturner danturner is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
danturner is on a distinguished road
Default

Re: Rtmpdump build for Android


Quote:
Originally Posted by elBradford View Post
Dan,

Sorry for the long delay. I don't have email notifications turned on apparently.

Yes, I got it running properly. I confirmed through adb shell and saw the process. I even saw the logs as it started converting the stream. What you might be experiencing is a problem with ports. Check out "ephemeral ports" or something like that. You need a good port # otherwise it won't have the proper permissions. If you can get a root adb shell then you can troubleshoot as root.

Have you had any further luck since you last posted?

Bradford
Kinda.... I thought my issue was that Vitamio uses an older version of ffmpeg, that doesn't support non-seekable http streams. When i corrected this in ffmpeg and tested it in Linux it seemed to work, but the recompiliation for Android never worked properly.

Are you using Vitamio in your app? I assume you are because videoview won't support flash streams. May i be so forthright as to ask for a brief overview of your exact process? This has been causing me quite a bit of grief recently.

Thanks,

Dan
Reply With Quote
  #48  
Old 03-06-2013, 11:21 AM
elBradford elBradford is offline
Junior Member
 
Join Date: Jan 2013
Posts: 4
elBradford is on a distinguished road
Default

Re: Rtmpdump build for Android


Quote:
Originally Posted by danturner View Post
Kinda.... I thought my issue was that Vitamio uses an older version of ffmpeg, that doesn't support non-seekable http streams. When i corrected this in ffmpeg and tested it in Linux it seemed to work, but the recompiliation for Android never worked properly.

Are you using Vitamio in your app? I assume you are because videoview won't support flash streams. May i be so forthright as to ask for a brief overview of your exact process? This has been causing me quite a bit of grief recently.

Thanks,

Dan
I used both Vitamio and the native videoview, neither of them worked.

I got rtmpgw running by doing something like this: https://code.google.com/p/market-ena.../ShellCommands

I tested it by getting a root adb shell to make sure I could run it, then when I ran it in my app I made sure to use a ephemeral port so it could run without root permissions.

I think the issue is that rtmpgw creates a http stream, but what is the format of that stream? Is it a flv stream? I don't really understand how rtmpgw changes the rtmp stream, and what its output is besides it being a http stream.
Reply With Quote
  #49  
Old 03-07-2013, 09:50 AM
danturner danturner is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
danturner is on a distinguished road
Default

Re: Rtmpdump build for Android


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.
Reply With Quote
  #50  
Old 03-13-2013, 12:24 PM
ivied ivied is offline
Junior Member
 
Join Date: Mar 2013
Posts: 1
ivied is on a distinguished road
Default

Re: Rtmpdump build for Android


Quote:
Originally Posted by S74ck3r View Post
Howto 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.

..


8) Done.
Hello! thx for this instructions!
Sorry for my epic noobish question. i'm complete all instruction(it was really hard for me, near 8 hours for that) and cross compile files(on my PC). And so what i must doo for run this files on my android device How this program work? Give me direction for the study, realy thx for answer!
And one more question. Now I make an application for android, where I have to get rtmp stream from online flash player (player passed html code). I need read this stream for display in the my application as html code. will rtpmdump help me for that? or maybe you know a more efficient implementation?
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:30 PM.


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