View Single Post
  #10  
Old 06-05-2015, 04:10 AM
haivp3010 haivp3010 is offline
Junior Member
 
Join Date: May 2015
Posts: 10
haivp3010 is on a distinguished road
Default

Re: Help me download rtmp video


Quote:
Originally Posted by biezom View Post
hi
you can use rtmpdumphelper to find the code

Code:
rtmpdump -r "rtmp://stream1.hocmai.vn:1936/hocmaisrv2" -a "hocmaisrv2" -f "LNX 17,0,0,134" -W "http://hocmai.vn/flowplayer/flowplayer.swf" -p "http://hocmai.vn/mod/scorm/player.php?id=54349" -C S:7iP4hftUpAzMdAnaUlpWDs9Th1OeqtWo -C Z: -y "/2014-2015/Vat_li/LTDH_quoc_gia_hn/Thay-Do_Ngoc_Ha/04.BT_danh_gia_nang_luc_chung_dhqg_P1//01_360.mp4" -o "2015-06-05_07-39-10_01_360.flv"
in red your id session
in green quality you can change it to 720

after you add token and -v option

Code:
-T "9#pdi|NeqxT|>~mx"
Code:
rtmpdump -v -r "rtmp://stream1.hocmai.vn:1936/hocmaisrv2" -a "hocmaisrv2" -f "LNX 17,0,0,134" -W "http://hocmai.vn/flowplayer/flowplayer.swf" -p "http://hocmai.vn/mod/scorm/player.php?id=54349" -C S:SySlZdhBm98RyTX4kzJyRNqax7IS2aQL -C Z: -y "/2014-2015/Vat_li/LTDH_quoc_gia_hn/Thay-Do_Ngoc_Ha/04.BT_danh_gia_nang_luc_chung_dhqg_P1//01_720.mp4" -o "2015-06-05_07-55-08_01_720.flv" -T "9#pdi|NeqxT|>~mx"
so you can copy the code you just need change your id session in red


Code:
RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: trackinfo:
INFO:   language                eng
INFO:   timescale               25000.00
INFO:   length                  13338000.00
INFO: sampledescription:
INFO:   sampletype              avc1
INFO:   language                eng
INFO:   timescale               48000.00
INFO:   length                  25612288.00
INFO: sampledescription:
INFO:   sampletype              mp4a
INFO:   audiochannels           2.00
INFO:   audiosamplerate         48000.00
INFO:   videoframerate          25.00
INFO:   aacaot                  2.00
INFO:   avclevel                32.00
INFO:   avcprofile              77.00
INFO:   audiocodecid            mp4a
INFO:   videocodecid            avc1
INFO:   width                   1280.00
INFO:   height                  720.00
INFO:   frameWidth              1280.00
INFO:   frameHeight             720.00
INFO:   displayWidth            1280.00
INFO:   displayHeight           720.00
INFO:   framerate               25.00
INFO:   moovposition            32.00
INFO:   duration                533.59
79666.636 kB / 533.57 sec (99.9%)
Download complete
other parts change playpath 02_720.mp4 03_720.mp4 04_720.mp4 instead of 01_720.mp4
Thanks sir The session id is stored in cookie variable _utmh right? And as you say rtmpdumphelper can download the video, do I need an XP computer? (as I run it on windows 8.1 and there is nothing happening within the window of rtmpsrv or rtmpsuck every time)
Reply With Quote