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

rtmpdump url parsing error?

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

plokijuh 09-05-2012 10:33 PM

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!

chap 09-05-2012 11:36 PM

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

plokijuh 09-06-2012 12:27 AM

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?

svnpenn 09-22-2012 08:29 PM

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

chap 09-22-2012 11:12 PM

Re: rtmpdump url parsing error?


 
Quote:

Originally Posted by plokijuh (Post 53842)
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


All times are GMT -6. The time now is 06:40 AM.