Catch and forward streams TUTORIAL => $50 rewardHi,
I've spent days trying to find a simple tutorial on how to catch rtmp streams, with fresh and updated contents/tools. I couldn't find a recent step by step tutorial for newbies with a great summary. I'm trying another method right here, stream-recorder and its great community are my last hope to get a relevant tutorial :) I offer a $50 Amazon gift card for anyone providing a small tutorial with the following: 1. how to identify the rtmp stream address/port/parameters from mips.tv, ucaster.eu? ex: regarder(.)me/splus/streamer.php?id=sebastien2 a. which tools do you use? Wireshark, other b. the good rtmpdump command to catch the stream c. how to redirect the rtmp stream to my own rtmp server (forward) 2. how to catch a stream from a TV channel? a. the best tools for catching the raw stream on Linux b. how to forward the caught stream to my own rtmp server 3. what kind of server / hosting would you advise to broadcast the rtmp streams to ~100K visitors during 2-3 hours ? I have good skills in Linux admin but I'm a newbie to stream recording :cool: Why do I offer a gift card? Because I've been reading hundreds of pages and I still can't find a relevant "for dummies" tutorial. People spending their time helping writing such contents deserve to be rewarded. Feel free to send a message before you start, I will tell you if anyone else has already started writing the tutorial. Of course, the tutorial can be written down here as a post answer available for everybody if admins wish to :) Thanks, Tom |
Re: Catch and forward streams TUTORIAL => $50 rewardhi
you can use ngrep with libap (it works too on windows) this example is for janjua.tv (your example doesn't work when i wrote this post) it works like mips.tv ..... 1) in administrator terminal Code:
ngrep play -d wlan0 >janjua.txt 2) load the page http://www.cloud-tivu.net/Blog/dmax-...eaming-estero/ 3) when the video start stop ngrep with Ctrl +C 4) read janjua.txt with gedit you have something like this Code:
.connect.?..........app...live..flashVer...L 5)you have all that you want to use rtmpdump Code:
rtmpdump -r "rtmp://37.130.227.172/live" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/Dmaxg3/3/500/380" -y "Dmaxg3?id=37815&pk=408c1ca8856f67aed24ad4d966227ee07b26f67a8d6807c8e45c78ec55cdc9e6" -C S:OK -o Dmaxg3.flv Code:
rtmpdump -r "rtmp://37.130.227.172/live" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf" -p "http://www.janjuaplayer.com/embedplayer/Dmaxg3/3/500/380" -y "Dmaxg3?id=37815&pk=408c1ca8856f67aed24ad4d966227ee07b26f67a8d6807c8e45c78ec55cdc9e6" -C S:OK -o Dmaxg3.flv on linux i use livestreamer youtube-dl rtmpdump ngrep gdb(read flash memory to find token) virtualbox(simulate mobile device) ..... for the other question i don't know I have not answered all your questions, but that does not matter, because I do not want your offerings ;) |
Re: Catch and forward streams TUTORIAL => $50 rewardThank you Biezom, you rock :)
I've tried your method with ngrep on stream stream365(.)in/live13.html with the right network interface wlan0 and I only get : Code:
interface: wlan0 (192.168.1.0/255.255.255.0) Do you have an idea? |
Re: Catch and forward streams TUTORIAL => $50 rewardQuote:
Code:
iptables -t nat -A OUTPUT -p tcp --dport 1735 -j REDIRECT --to-port 1935 Code:
rtmpsrv d) rtmpsrv generate a code like Code:
rtmpdump -r "rtmp://185.39.9.98:1735/vod/" -a "vod/?token=play@143151868008681" -f "LNX 17,0,0,134" -W "http://www.businessapp1.pw/jwplayer5/addplayer/jwplayer.flash.swf" -p "http://www.playerapp1.pw/embed.php?c=118&width=650&height=380&autostart=true&tk1=DVXSZPhLw6S6iik6YBniuUcvM8mwyo%2FdmiLozOmED1imvUQ%2Fh22vNgJii1WfiybLGDoCp9KhoRvqShA3CwBfMA%3D%3D&tk2=xwn75qSiqwltiyrMQTj%2B0VmqgiqdVc2I0eNzmVnWDPQ%3D&tk3=wNEx02lQXP%2B2SrlJ0XXZvW5sZIdytARwwjFpnA3%2F%2BB4%3D" -y "stream22" -o "2015-05-13_02-05-03_stream22.flv" so when you have this code, for the rest you have to act quickly e) copy the code f) close your video g) stop rtmpsrv (CTRL +C) h ) in the first administrator terminal Code:
iptables -t nat -D OUTPUT -p tcp --dport 1735 -j REDIRECT --to-port 1935 Code:
rtmpdump -r "rtmp://185.39.9.98:1735/vod/" -a "vod/?token=play@143151868008681" -f "LNX 17,0,0,134" -W "http://www.businessapp1.pw/jwplayer5/addplayer/jwplayer.flash.swf" -p "http://www.playerapp1.pw/embed.php?c=118&width=650&height=380&autostart=true&tk1=DVXSZPhLw6S6iik6YBniuUcvM8mwyo%2FdmiLozOmED1imvUQ%2Fh22vNgJii1WfiybLGDoCp9KhoRvqShA3CwBfMA%3D%3D&tk2=xwn75qSiqwltiyrMQTj%2B0VmqgiqdVc2I0eNzmVnWDPQ%3D&tk3=wNEx02lQXP%2B2SrlJ0XXZvW5sZIdytARwwjFpnA3%2F%2BB4%3D" -y "stream22" -o "2015-05-13_02-05-03_stream22.flv" |
Re: Catch and forward streams TUTORIAL => $50 rewardIt works perfectly. You are AWESOME biezom, your post is clear and in the target. THANK YOU :) ;)
|
Re: Catch and forward streams TUTORIAL => $50 rewardI've been trying the same method, working for another stream, but unsuccessful for getting the rtmpdump command of regarder(.)me/splus/streamer.php?id=remi1
Could anyone briefly explain why this rtmp stream can't be caught the same way? Thanks++ |
Re: Catch and forward streams TUTORIAL => $50 rewardQuote:
step a) Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT Code:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT |
Re: Catch and forward streams TUTORIAL => $50 rewardOK I'm going to review my "iptable book" to understand those port redirects :D
|
Re: Catch and forward streams TUTORIAL => $50 rewardHi Biezom, would you help me again for 5 minutes?
Now I can get the streams using rtmpdump - I learnt thanks to you - , what's the easiest way to push the caught stream to another rtmp server? Does ffmpeg do the trick? Thank you |
Re: Catch and forward streams TUTORIAL => $50 rewardQuote:
sorry for this i don't know |
All times are GMT -6. The time now is 12:55 AM. |