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

Re: Help me download rtmp video


Quote:
Originally Posted by haivp3010 View Post
Hi can you guys please guide me to download this video?
http://hocmai.vn/mod/scorm/player.php?id=54349
Login: hi_cupid
Pass: a12345678
I've read through several threads on the forum but cannot work out how people find the exact playpath and token.
This is only one of the videos on this site that I need to download, so it would be best if someone could help me with the details, either through this thread or PM, so that I do not have to bother you all so much.
Any help would be appreciated!
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

Last edited by biezom : 06-05-2015 at 12:33 AM. Reason: other parts
Reply With Quote