The problem is I\'ve a slow internet connection, and the video doesn\'t buffer like in YouTube. Therefore I was wondering weather I can extract the url of the .flv file which is
rtmpdump
and rtmpsuck
worked well for me. The trick is finding the relevant options for rtmpdump
Detailed instructions can be found here: http://pclosmag.com/html/issues/201104/page19.html
It comes down to this:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
rtmpsuck
rtmpdump
iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
rtmpdump
with the relevant optionsNote that if it's a live stream you might need to give the --live
option to rtmpdump
.