Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Can't download video

(http://stream-recorder.com/forum/showthread.php?t=16681)

tme_power 10-23-2013 11:04 PM

Can't download video


 
Please help me download video use rtmpdump

peterpan 10-24-2013 01:43 AM

Re: Can't download video


 
Ok this one seems to work fine:

Code:

rtmpdump -r "rtmpe://112.197.2.11:1935/live" -a "live" -W "http://tv24.vn/getflash.ashx" -p "http://tv24.vn/TV24/11/30/vtv3-xem-truc-tuyen-mien-p
hi-toc-do-cao-cuc-hot-cuc-hay.html" -y "vtv3.stream" live  -v -o "vtv3.flv"

Code:

RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  audiochannels          1.00
INFO:  audiosamplerate        0.00
INFO:  audiocodecid            .mp3
INFO:  videocodecid            avc1
INFO:  width                  480.00
INFO:  height                  360.00
INFO:  frameWidth              480.00
INFO:  frameHeight            360.00
INFO:  displayWidth            480.00
INFO:  displayHeight          360.00
INFO:  framerate              25.00
INFO: trackinfo:
INFO:  timescale              0.00
INFO:  language                eng
INFO: sampledescription:
INFO:  type                    audio
INFO:  timescale              0.00
INFO:  language                eng
INFO: sampledescription:
INFO:  type                    video
INFO:  profile-level-id        42c01f
INFO:  sprop-parameter-sets    Z0LAH9kB4L/lwEQAAAMABAAAAwDKPGDJIA==,aMuMsg==
INFO:  description            {H264CodecConfigInfo: codec:H264, profile:Baseli
ne, level:3.1, frameSize:480x360, displaySize:480x360, frameRate:25.0, PAR:1:1,
crop: l:0 r:0 t:0 b:4}
INFO: rtpsessioninfo:
INFO:  connectiondata          IN IP4 0.0.0.0
INFO:  name                    WowzaMediaServer
INFO:  origin                  - 237892459 237892459 IN IP4 127.0.0.1
INFO:  timing                  0 0
INFO:  protocolversion        0
INFO: attributes:
INFO:  range                  npt=now-
2425.321 kB / 74.91 sec

But yours gives me an error! No idea why! It must be something silly I'm doing and/or missing...

"ERROR: RTMP_ReadPacket, failed to read RTMP packet header"

Code:

rtmpdump -r "rtmp://scache.fptplay.net.vn/live" -a "live" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" -y "vtv3HD_1000.stream" live -v -o "vtv3.flv"

Code:

RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Maybe someone can shed some light on it...

Quote:

Originally Posted by tme_power (Post 63722)
Please help me download video use rtmpdump


tme_power 10-24-2013 06:09 AM

Re: Can't download video


 
Quote:

Originally Posted by lesor (Post 63724)
Use rtmpdumphelper
Code:

rtmpdump -r "rtmp://scache.fptplay.net.vn/live" -a "live" -f "WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" --live -y "vtv3HD_1000.stream" -o "2013-10-24_12-31-39_vtv3HD_1000.stream.flv"
http://img543.imageshack.us/img543/4606/jrcc.jpg

before editing (rtmpe://ss.vivo.vn:11000/vivo)
For rtmpdumphelper it is necessary to add 11000 port

Eror:

lesor 10-24-2013 06:36 AM

Re: Can't download video


 
http://savepic.su/3640789.jpg

hasomaso 10-24-2013 08:42 AM

Re: Can't download video


 
you need secureToken for this stream
PM me

peterpan 10-24-2013 03:33 PM

Re: Can't download video


 
Guys,

Forgive my ignorance, but no one has posted a clear solution to this? http://play.fpt.vn/internetTV/vtv3

All I've been using to record streams so far is this: https://github.com/K-S-V/Scripts/releases rtmpdump-2.4.zip (rtmpdump command)

Some posts above have mentioned editing rtmpdumpheler, which I don't even have or see in KSV's rtmpdump folder (see above link). Others are posting images of file names: such as -o "2013-10-24_04-17-52_vtv3HD_1000.stream". I thought arguments to -o can be anything!!! I'm confused!!!!

Haso said you need a token!...so who's right here and what's the solution? :)

Can someone please state what the correct command is?

If the command I have

rtmpdump -r "rtmp://scache.fptplay.net.vn/live" -a "live" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" -y "vtv3HD_1000.stream" live -v -o "vtv3.flv"

is correct and only needs a -t xxxx, please state so....If some edits are necessary to some files, please state what edits are needed, to what file(s), and where is/are that/those file(s)? Note that I'm using KSV's latest rtmpdump-2.4.zip file 10/18/2013!!!

Thanks In Advance!

hasomaso 10-24-2013 03:59 PM

Re: Can't download video


 
that is the right parameter
you need token for this

here please

Code:

-T "#ed%h0#w@hey"
Code:

rtmpdump -v -r "rtmp://scache.fptplay.net.vn/live" -a "live" -f "WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" -T "#ed%%h0#w@hey" -y "vtv3HD_1000.stream" -o "output_file.flv"

peterpan 10-24-2013 04:19 PM

Re: Can't download video


 
Thanks Haso! That's straight and to the point!!!

Hummmmmm!!! unfortunately, I'm still getting the same error msg!

Code:

c:\rtmpdumpksv>rtmpdump -v -r "rtmp://scache.fptplay.net.vn/live" -a "live" -f "
WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "
http://play.fpt.vn/internetTV/vtv3" -T "#ed%%h0#w@hey" -y "vtv3HD_1000.stream" -
o "output_file.flv"
RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

c:\rtmpdumpksv>


Quote:

Originally Posted by hasomaso (Post 63730)
that is the right parameter
you need token for this

here please

Code:

-T "#ed%h0#w@hey"
Code:

rtmpdump -v -r "rtmp://scache.fptplay.net.vn/live" -a "live" -f "WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" -T "#ed%%h0#w@hey" -y "vtv3HD_1000.stream" -o "output_file.flv"


hasomaso 10-24-2013 04:28 PM

Re: Can't download video


 
works very fine

with new and old release



peterpan 10-24-2013 06:17 PM

Re: Can't download video


 
Oh so it's not working with my simple rtmpdump command! (form KSV's latest release) instead it's working with rtmpdumphelper comand.... Do you a link to a copy of rtmpdumphelper, I can get? Thanks Man!

hasomaso 10-24-2013 06:31 PM

Re: Can't download video


 
Quote:

Originally Posted by peterpan (Post 63733)
Oh so it's not working with my simple rtmpdump command! (form KSV's latest release) instead it's working with rtmpdumphelper comand.... Do you a link to a copy of rtmpdumphelper, I can get? Thanks Man!




RTMPDumpHelper v.1.21


copy [rtmpdump] [rtmpsrv] [rtmpsuck] in RTMPDumpHelper folder

peterpan 10-24-2013 07:18 PM

Re: Can't download video


 
Ok I got the file thank you! But inside there is only 4 files! I don't see rtmpdump file in there!

So what do I do with these 4 files? Do I add them to KSV's rtmpdump-2.4 folder? coz I did that and didn't work!!!

I even unzipped the 4 files into a new folder and added all the files in rtmpdump-2.4 into the new folder and still when I run the command:

Code:

c:\RTMPDumpHelperv1.2.1>rtmpdump -v -r "rtmp://scache.fptplay.net.vn/live" -a "l
ive" -f "WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.
swf" -p "http://play.fpt.vn/internetTV/vtv3" -T "#ed%%h0#w@hey" -y "vtv3HD_1000.
stream" -o "output_file.flv"

I get...


RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

c:\RTMPDumpHelperv1.2.1>

What am I doing wrong!


THX

peterpan 10-25-2013 01:33 AM

Re: Can't download video


 
@lesor,

Ok same thing...there are two folders in the zip file you've sent me...what do I do with them?

1. keep the files in separate folders and put them in my C:\?

2. copy the the .swf file into the rtmpdumhelper folder and put them in my C:\?

3. put the two folders in one new folder and put it in my C:\?

UPDATE: I've tried 1, 2 & 3 above, and NONE of them seemed to work?!

Someone mentioned to edit something, what should I edit exactly....some of the file are displayed in different characters! Russian I guess, so I don't know what to edit exactly!!!

Can you please elaborate?

THX

peterpan 10-25-2013 02:35 AM

Re: Can't download video


 
Thank you to all! I've used lesor method and it captured the stream automatically!!! w/o using the rtmpdump command line!!

BTW, I would still like to know/learn how to get it to work with the rtmpdump command like Haso and others got it to work! So I'm open to any and all of your suggestions ;)

Cheers! & once again Thank you LESOR and everyone else who was trying to help ;)

tme_power 11-04-2013 10:01 PM

Re: Can't download video


 
Fpt video fixed and now not download, please fix code dum. Thank

chap 11-04-2013 11:38 PM

Re: Can't download video


 
Code:

rtmpdump -r "rtmp://scache.fptplay.net.vn/live" -a "live?k=c2VydmVyX3RpbWU9MTM4MzYzNTM0NSZoYXNoX3ZhbHVlPTY3YTZmNzcyZTdjZTJhMmZhODdkMjdkNjUyOTE2YjVmJnZhbGlkX21pbnV0ZXM9MTQ0MA==" -f "WIN 11,8,800,168" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/htv3" --live -y "htv3_1000.stream" -o "2013-11-05_08-36-36_htv3_1000.stream.flv" -T "#ed%h0#w@hey"

anon069 11-05-2013 05:51 AM

Re: Can't download video


 
Maybe the code's changed now so this isn't helpful, but Peterpan your solution was very simple. You didn't have to change programs or anything.

You copied the token wrong.

If you look at haso's post, he has the token as:

Quote:

-T "#ed%h0#w@hey"
If you look at every subsequent attempt of yours to download, you have it as:

Quote:

-T "#ed%%h0#w@hey"
Use the right token without that extra percent sign I bet you have no problems.

peterpan 11-06-2013 01:34 AM

Re: Can't download video


 
Thanks anon! You're right! however told that if I'm creating a .bat file, (which I was doing, but I may have failed to mention), then every instance of '%' should become '%%' Thank You Again!

peterpan 11-06-2013 01:52 AM

Re: Can't download video


 
For some reason, I can longer download swf file form this site? Any luck anyone? THX
http://play.fpt.vn/internetTV/vtv3

I tried wget http://play.fpt.vn/static/mediaplayer/flowplayer.swf

but I keep getting:


c:\wget>wget http://play.fpt.vn/static/mediaplayer/flowplayer.swf
--2013-11-06 00:46:35-- http://play.fpt.vn/static/mediaplayer/flowplayer.swf
Resolving play.fpt.vn (play.fpt.vn)... 42.117.9.56
Connecting to play.fpt.vn (play.fpt.vn)|42.117.9.56|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

etc....

Thanks!

hasomaso 11-06-2013 06:32 AM

Re: Can't download video


 
@peterpan

right parameter with wget is that with --referer

Code:

wget --referer=http://play.fpt.vn/internetTV/vtv3 live http://play.fpt.vn/static/mediaplayer/flowplayer.swf

and that is the Code for rtmpdump with secureToken


Code:

rtmpdump -v -r "rtmp://scache.fptplay.net.vn/live" -a "live?k=c2VydmVyX3RpbWU9MTM4Mzc0NTkxMCZoYXNoX3ZhbHVlPTUxN2E4NjRmZGIzYTA5MTRlZGM0ZDlmMzNjZjAxODNiJnZhbGlkX21pbnV0ZXM9MTQ0MA==" -f "WIN 11,9,900,117" -W "http://play.fpt.vn/static/mediaplayer/flowplayer.swf" -p "http://play.fpt.vn/internetTV/vtv3" -T "#ed%%h0#w@hey" -y "vtv3HD_2500.stream" -o "output.flv"

peterpan 11-06-2013 10:33 AM

Re: Can't download video


 
Thanks Hasomaso!


All times are GMT -6. The time now is 04:46 PM.