Quote:
Originally Posted by beerfoot
Thank 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)
match: play
###############################################exit
47 received, 0 dropped
after a few seconds of video stream read.
Do you have an idea?
|
a) in a first administrator terminal
Code:
iptables -t nat -A OUTPUT -p tcp --dport 1735 -j REDIRECT --to-port 1935
b) in a second administrator terminal
c)load your video (it does not start, it's normal)
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"
with in red some parameters that works just once and limited in time
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
i) in an user terminal paste the code and run
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"
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: presetname Custom
INFO: creationdate Mon May 11 20:00:06 2015
INFO: videodevice Conexant Polaris Video Capture
INFO: framerate 24.00
INFO: width 720.00
INFO: height 404.00
INFO: videocodecid avc1
INFO: videodatarate 480.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency 5.00
INFO: audiodevice Conexant Polaris Video Capture
INFO: audiosamplerate 44100.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 56.00
1377.777 kB / 23.07 sec