PDA

View Full Version : RTMPT Stream


idod89
12-26-2014, 02:13 PM
Hi guys! I try to download but it stop at around 400 - 500 kB.

C:\rtmpdump-2.4>rtmpdump -r rtmpt://song.gmember.com/media/song/1306378802 -o so
ng1.flv
RTMPDump v2.4 GIT-2012-11-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 264.88
INFO: audiodatarate 62.50
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 2.00
INFO: filesize 2281489.00
439.823 kB / 59.51 sec (22.4%)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
440.043 kB / 59.56 sec (22.4%)
Download may be incomplete (downloaded about 22.40%), try resuming

Can you guys help me pls.
Here is the link:http://www.gmember.com/flash/jedakrAkraM.swf?songid=1306378802

DefectedToRussia
12-26-2014, 04:16 PM
Hi guys! I try to download but it stop at around 400 - 500 kB.



Can you guys help me pls.
Here is the link:http://http://www.gmember.com/flash/jedakrAkraM.swf?songid=1306378802

Holy shit! I almost figured it out! Hold on buddy I think you might need an extra parameter or two, plus I think your rtmpt url is wrong. RTMPT is RTMP over http right?

I did a wireshark capture I'm analysing it now! :)
http://i.imgur.com/ivpHrgo.png

idod89
12-26-2014, 04:30 PM
i dont know much about this. but here is the other link: http://music.gmember.com/%E0%B9%80%E0%B8%AB%E0%B8%99%E0%B8%B7%E0%B9%88%E0%B 8%AD%E0%B8%A2%E0%B9%84%E0%B8%AB%E0%B8%A1%E0%B8%AB% E0%B8%B1%E0%B8%A7%E0%B9%83%E0%B8%88-(Feat.%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%99-%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%A7%E0%B8%B2%E0%B 8%99)-Retrospect/Song-1306378802

Last 1,5 year it works well with only this command "rtmpdump -r rtmpt://song.gmember.com/media/song/1306378802 -o so
ng1.flv"

troller12
12-26-2014, 04:31 PM
Hi,

just add some buffer value then you get downloaded slow but complete without errors inside.
rtmpdump -r "rtmpt://song.gmember.com/media/song//1306378802" -b 4000 -o "music.mp3"
Format : Flash Video
File size : 2.18 MiB
Duration : 4mn 24s
Overall bit rate mode : Constant
Overall bit rate : 68.9 Kbps

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 2
Codec ID/Hint : MP3
Duration : 4mn 24s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.02 MiB (93%)
greetz

DefectedToRussia
12-26-2014, 04:39 PM
There's a wierd HTTP Post to this url: http://119.46.113.122/send/2036466599/0

and when browsing to it it says bad request, only rtmpt supported... hmmm? It may be a clue

Hi,

just add some buffer value then you get downloaded slow but complete without errors inside.
rtmpdump -r "rtmpt://song.gmember.com/media/song//1306378802" -b 4000 -o "music.mp3"
Format : Flash Video
File size : 2.18 MiB
Duration : 4mn 24s
Overall bit rate mode : Constant
Overall bit rate : 68.9 Kbps

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 2
Codec ID/Hint : MP3
Duration : 4mn 24s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.02 MiB (93%)
greetz

That doesn't work: Something about "AMF3 Object Encapsulated In AMF Stream Does Not Start With AMF3_OBJECT" is the problem it seems... Perhaps we need an extra "-C " style parameter.

See here: http://imgur.com/lbIbhal.png

idod89
12-26-2014, 04:57 PM
Hi,

just add some buffer value then you get downloaded slow but complete without errors inside.
rtmpdump -r "rtmpt://song.gmember.com/media/song//1306378802" -b 4000 -o "music.mp3"
Format : Flash Video
File size : 2.18 MiB
Duration : 4mn 24s
Overall bit rate mode : Constant
Overall bit rate : 68.9 Kbps

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 2
Codec ID/Hint : MP3
Duration : 4mn 24s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.02 MiB (93%)
greetz

Wow thank you so much guys its work. I tried over 10 hours for load this :X but now its work fine.

troller12
12-26-2014, 05:03 PM
Nice to hear it idod89. :)

@ DefectedToRussia

So it depends on the rtmpdump version you do use so I have tons of versions and lost almost the overview. :) So you can use this version for exsample...

rtmpdump-20110925-git-6230845-win32.zip

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 264.88
INFO: audiodatarate 62.50
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 2.00
INFO: filesize 2281489.00
114.878 kB / 13.61 sec (5.1%)
...or other mods too etc so just check them out.

greetz

DefectedToRussia
12-26-2014, 05:07 PM
Okay I know what was going on, I was using KSV's latest patched version...

Using the latest regular rtmpdump does in fact work, but I think the file size is really that small idod89!

The entire file that I've gotten is only 406KB... I guess that's because it's only 62.5K audio stream. It is the entire song though, so...

Oh well at least you've got your file now :)