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!