View Single Post
  #2  
Old 05-12-2015, 07:18 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Catch and forward streams TUTORIAL => $50 reward


hi
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
with wlan0 is interface connected maybe eth0.....

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
  NX 17,0,0,134..swfUrl..9http://www.janjuaplayer.com/resources/scripts/eplay
  er.swf...tcUrl...rtmp://5.63.150.84/live..fpad....capabilities.@m........au
  dioCodecs.@.........videoCodecs.@o........videoFunction.?..........pageUrl.
  .8http://www.janjuaplayer.com/embedplayer/Dmaxg3/3/500/380..objectEncoding.
  @.............OK                                                          
##############################################################################################
 [AP]
  ......q.........play............SDmaxg3?id=37815&pk=408c1ca8856f67aed24ad4d
  966227ee07b26f67a8d6807c8e45c78ec55cdc9e6..

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
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            Tue May 12 17:25:41 2015
INFO:   videodevice             ManyCam Video Source
INFO:   framerate               25.00
INFO:   width                   320.00
INFO:   height                  240.00
INFO:   videocodecid            avc1
INFO:   videodatarate           250.00
INFO:   avclevel                31.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 5.00
INFO:   audiodevice             Mic estermo (IDT High Definitio
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO:   audioinputvolume        100.00
INFO:   audiocodecid            .mp3
INFO:   audiodatarate           96.00
28052.433 kB / 684.28 sec

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

Last edited by biezom : 05-13-2015 at 12:19 AM.
Reply With Quote