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
  #1  
Old 09-05-2012, 11:33 PM
plokijuh plokijuh is offline
Junior Member
 
Join Date: Sep 2012
Posts: 3
plokijuh is on a distinguished road
Default

rtmpdump url parsing error?


Hey all, pretty new to all this but I'm having issues getting rtmpdump working with the NPR flash streaming audio (specifically trying to get the first look for the xx's new album coexist).

So uh, I use the IP rerouting command:

Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
Run rtmpsuck and get this:

Code:
pageUrl: http://www.npr.org
Processing connect
app: ondemand?_fcs_vhost=cp42356.edgefcs.net&akmfv=1.7
flashVer: LNX 11,2,202,238
swfUrl: http://www.npr.org/player/v2/audioPlayer.swf
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
tcUrl: rtmp://165.254.148.45:1935/ondemand?_fcs_vhost=cp42356.edgefcs.net&akmfv=1.7
I then overwrite the IP redirect with:

Code:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
And try to feed the tcURL into rtmpdump and it with this:

Code:
rtmpdump -r "rtmp://165.254.148.45:1935/ondemand?_fcs_vhost=cp42356.edgefcs.net&akmfv=1.7"
And it gives me this:

Code:
ERROR: You must specify a playpath (--playpath) or url (-r "rtmp://host[:port]/playpath") containing a playpath
So, uh, what do I do? This is the url correct? Thanks for any and all help!
Reply With Quote
  #2  
Old 09-06-2012, 12:36 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: rtmpdump url parsing error?


http://pd.npr.org/anon.npr-mp3/npr/f...Ids =98679384
http://pd.npr.org/npr-mp4/npr/fl/201...Ids =98679384
Reply With Quote
  #3  
Old 09-06-2012, 01:27 AM
plokijuh plokijuh is offline
Junior Member
 
Join Date: Sep 2012
Posts: 3
plokijuh is on a distinguished road
Default

Re: rtmpdump url parsing error?


Thanks man, could I ask how you found the correct URLs?

I can find the play('mp3:anon.npr-mp3/npr/fl/2012/08/20120830_fl_xx10?orgId=1&topicId=1039&aggIds=98679 384&v1st=null&mt=1') through wireshark, which is sort of similar, but how did you know the correct directory was pd.npr.org? And how to strip various url arguments?
Reply With Quote
  #4  
Old 09-22-2012, 09:29 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmpdump url parsing error?


Quote:
Originally Posted by Forum rules v1.1
If you truly want definitive answers quickly and without
delay, please include link(s) to the web-page(s) with video(s)

stream-recorder.com/forum/announcement.php?f=4
Reply With Quote
  #5  
Old 09-23-2012, 12:12 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: rtmpdump url parsing error?


Quote:
Originally Posted by plokijuh View Post
I can find the play('mp3:anon.npr-mp3/npr/fl/2012/08/20120830_fl_xx10?orgId=1&topicId=1039&aggIds=98679 384&v1st=null&mt=1') through wireshark, which is sort of similar, but how did you know the correct directory was pd.npr.org? And how to strip various url arguments?
http://pd.npr.org/anon.npr-mp3/npr/f...v1st=null&mt=1
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:23 AM.


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