Recording TV LifestreamHey everyone,
I am new to this recording Stuff, but I spent quite some time working and learning Linux Stuff (wich is now my main OS). I recently found a site where I can watch eurosport (or eurosport 2) online: http://cricfree.sx/euro-sports-2-live-stream So, there is an iframe where the actual stream is embedded, wich is always nice (less code -> less errors): http://cricfree.sx/update/euro2.php First approach was with wireshark but that didn't work out at all (can go into detail, but that might get pretty much text and boring). So I read the rtmpdump-docs and some posts here in the forum and tried this next: # Stream is not started, no other tabs open in chrome # Code:
$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT Code:
RTMP Server v2.4 So I removed the iptables rule: Code:
$ sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT tried the command that rtmpsrv gave me (plus the -V switch because it didn't work last time): Code:
$ rtmpdump -r "rtmp://31.220.2.148/redirect/" -a "redirect/" -f "LNX 17,0,0,188" -W "http://p.jwpcdn.com/6/12/jwplayer.flash.swf" -p "http://yotv.co/embedo.php?live=eu2&vw=620&vh=490" -y "eu2" -o eu2.flv -V So, I tried rtmpsrv, rtmpdump, time for rtmpsuck i guess ... Created a user called "proxy" as suggested in the rtmpdump docs, and changed the iptable rule to Code:
$ iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner proxy -j REDIRECT Code:
RTMP Proxy Server v2.4 Code:
$ iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner proxy -j REDIRECT If you need any more information, let me know. And Thanks in advance! |
Re: Recording TV Lifestreamhi
first need token Code:
rtmpdump -r "rtmp://31.220.2.148/redirect/" -a "redirect/" -f "LNX 19,0,0,207" -W "http://p.jwpcdn.com/6/12/jwplayer.flash.swf" -p "http://yotv.co/embedo.php?live=eu2&vw=620&vh=490" -y "eu2" -o "2016-01-16_05-40-59_eu2.flv" -T "%Zrey(nKa@#Z" second if it doesn't work with the version installed by the official repository you need compile the last patched KSV's version read first post Code:
http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html |
Re: Recording TV LifestreamOkay, first of all: Thanks for your reply!
Where did you get that Token from? I thought the Token was this: Code:
DEBUG: Property: <Name: secureToken, STRING: 17f1764c24537b99899ee23d86372705deb7eefd85e91feb8a29f6a072f4c43a3b84d26d> Code:
$ rtmpdump -r "rtmp://31.220.2.148/redirect/" -a "redirect/" -f "LNX 17,0,0,188" -W "http://p.jwpcdn.com/6/12/jwplayer.flash.swf" -p "http://yotv.co/embedo.php?live=eu2&vw=620&vh=490" -y "eu2" -o "2016-01-16_11-12-10_eu2.flv" -T "%Zrey(nKa@#Z" -V |
Re: Recording TV Lifestreamfind the token is the last step
before if you have the error Code:
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused) i think you forgot the step Code:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT i think you need compile your own version with KSV patch because the rtmpdump from the official repository of your distribution is too old |
Re: Recording TV LifestreamOh yes, I actually did! :o
Thanks, worked now!The first frames I actually captured :D Could you teach me how to get that Token? I'd really want to learn that. Want to try some more stream-captures, maybe from other sites, and I guess that would be pretty handy. Thanks in advance! btw: that stream sometimes switches from "rtmp://31.220.2.148/redirect/" to "rtmp://31.220.2.148/live/" and I think it also switches IPs sometimes, ist that a problem? edit: Quote:
|
Re: Recording TV LifestreamQuote:
did you use a version compiled? your old version of rtmpdump does not support the redirect in blue is different because i add this option when i compiled with version compiled Code:
rtmpdump -r "rtmp://31.220.2.148/redirect/" -a "redirect/" -f "LNX 19,0,0,207" -W "http://p.jwpcdn.com/6/12/jwplayer.flash.swf" -p "http://yotv.co/embedo.php?live=eu2&vw=620&vh=490" -y "eu2" -o "2016-01-16_05-40-59_eu2.flv" -T "%Zrey(nKa@#Z" Edit "did you use a version compiled?" sorry you have already said yes twice |
Re: Recording TV LifestreamQuote:
for this site you can download the source of the pageUrl with livestreamer Code:
livestreamer --http-header "Referer=http://cricfree.sx" "httpstream://http://yotv.co/embedo.php?live=eu2&vw=620&vh=490" best -o eu2.txt Code:
<body oncontextmenu="return false" style="margin: 0px; padding: 0px; background: #3c3c3c" > |
Re: Recording TV LifestreamAh, there it is, I see! Thank you very much, you helped me a lot!
I'm all set for some more stream-recording for now, thanks again :) |
All times are GMT -6. The time now is 07:13 PM. |