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

canaldosconcursos.com.br - problem downloading RTMPE flash video stream

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

Arcturus 10-26-2009 05:15 PM

canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Hi guys, this is my first post. This forum has helped me a lot until now...

I pay for an online course. In this course I can access the video lessons on their website. They don't allow me to download the videos to watch them later offline.

So, I was using the program "Flash Stream Hunter" to download the videos to my PC. It was working fine. It was working better than Jaksta or Orbit, the only other 2 programs that have worked for me. I have tried almost every program listed here on stream-recorder.com website.

But today, unfortunately it seems that they have changed the streaming technology. It's now an RTMPE. I think the older streams were RTMP.

Flash Stream Hunter doesn't work now. And Jaksta recognizes the file, but it doesn't record the file, here is the error:
Code:

Recording of
Download file: 686597ae-aa40-43d2-85e4-bbe000f94a4a.flv
Started at: 26/10/2009 17:56
Queued for downloading
Starting RTMPE download ...
Detecting file name ...
File name detection complete
Foi feita uma tentativa de acesso a um soquete de uma maneira que é proibida pelas permiss?es de acesso 76.76.24.57:1935
Detecting file name from tags ...
No title tag could be extracted
File name detection complete
Complete with errors. Double click to view

The bold text is translated to:
Code:

An attempt was made to access a socket in a way forbidden by its access permissions
So, I read everything here and tested GetFLV, it didn't work. It recognized the file URL but failed to download it.

Please, can anyone help me? I really need those files, my only option now is recording the screen. I was used to leave the Stream Hunter downloading and doing other things to watch the videos later in my cell phone while traveling from home to work for instance. I could never do this online.

Well, here is an example of the video URL I got from GetFLV:

rtmpe://76.76.24.57/canaldosconcursosdemos/institucional_canal_dos_concursos

It's available here in the free area of the website:

Code:

http://www.canaldosconcursos.com.br/cursos_online.php
This is another example available only when I am logged in to the website:
Code:

rtmpe://76.76.24.57/canaldosconcursosbacen_roberto_witte_ingles_aula03_video_01
There is another part of the site in the oldder version wich can still be recorded with Stream Hunter, Jaksta or Orbit, but not with GetFLV, it's a RTMP:

Code:

rtmp://76.76.24.57/canaldosconcursosdemos/almir_demo_administrativo
Available here:

Code:

http://www.canaldosconcursos.com.br/cursos_online_video_tela_aluno_demos.php?id_cursos=1093
I will be very grateful for any help. The only thing I haven't tested was rtmpdump because I can't find it for download anywhere.

Thank you and sorry for the english errors!

charliebrown 10-27-2009 06:04 PM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Hi Arcturus, I am also trying to download from the same site since yesterday. I have the rtmpdump, but it's not a friendly program. It's not that it is complicated, but the problem is that the RTMPE url is not clearly defined and there are too many combinations to test: the correct url to test, with or without swfhash and size, other minor parameters. So long I am without a solution. Maybe we can join efforts...

I downloaded the rtmpdump from bittorrent network. There are some versions. The best one, which comes with binaries for win, linux, etc, is the one found in this post.

I have already tried this URL you mentioned for the open video. I also tried many other combinations, trying to figure out the URL from the HTML source code. All tries failed.

In spite of the program gives us the URL you mentioned, I guess the following URL makes more sense:

Code:

rtmpe://76.76.24.57/canaldosconcursos/demos/institucional_canal_dos_concursos.flv
I also tried to analyze traffic with Wireshark, but it doesn't make our life easier to detect the RTMPE URL. I guess my next try will be tomorrow, making a script on a unix to try the many possibilities of use of rtmpdump command.

I have already tried the flasm. Decompressed the
Code:

http://www.canaldosconcursos.com.br/player.swf
and used the openssl to make the hash and used it with the size of the decompressed player as options to the rtmpdump command. This is another possibility to test...

Good luck for us...

Miyagisan 10-27-2009 07:28 PM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
I'm trying too but i am having no luck with it...
i am using the rtmpdump, but all i get is to connect and when the program starts downloading the server close the connection.
i still have to try sending the info about the player.swf


Code:

DEBUG: Property: <Name:                  no-name., NUMBER:      1.00>
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, sending play: demos/institucional_canal_dos_concursos.flv
DEBUG: sending ping. type: 0x0003
DEBUG: ReadN, RTMP socket closed by server
ERROR: ReadPacket, failed to read RTMP packet header
Closing connection... done!



Just tried sending the hash and the size of the swf... same result...
that's enough for today =P
If anyone want to try and find what i'm missing...

Code:

rtmpdump-WIN32-1.6.exe
-r "rtmpe://76.76.24.57/canaldosconcursos/demos/institucional_canal_dos_concursos.flv"
-y "demos/institucional_canal_dos_concursos.flv"
-a "canaldosconcursos"
-s "http://www.canaldosconcursos.com.br"
-p "http://www.canaldosconcursos.com.br/cursos_online.php"
-c 1935
-a canaldosconcursos
-o output.flv
--buffer 15000
-f "WIN 9,0,0"
-w "ffad47030990dbf0f7d0a2dad1c407e619fe0b9cc69bcade47cbb3e2e3bfd7c8"
-x 56505


va_costa 10-27-2009 08:00 PM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Hi Fellows...I'm trying to download these classes too (Orbit Downloader doesn't works anymore...:( )...and rtmpdump isn't friendly....I can't found the correct RMTPE URL.

Let's share some information in order to solve this issue!

Arcturus 10-27-2009 08:24 PM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Charlie and Myagisan, I have sent both of you private messages.

Well, I hope we all together find a solution. Better to know I am not alone... :)




Maybe some of the Forum's Experts could help us! Please, if you can, we all here in Brazil would be very grateful.

Stream Recorder 10-28-2009 01:04 AM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Quote:

Originally Posted by Miyagisan (Post 13830)
If anyone want to try and find what i'm missing...

Code:

rtmpdump-WIN32-1.6.exe -r "rtmpe://76.76.24.57/canaldosconcursos/demos/institucional_canal_dos_concursos.flv" -y "demos/institucional_canal_dos_concursos.flv" -a "canaldosconcursos" -s "http://www.canaldosconcursos.com.br" -p "http://www.canaldosconcursos.com.br/cursos_online.php" -c 1935 -a canaldosconcursos -o output.flv --buffer 15000 -f "WIN 9,0,0" -w "ffad47030990dbf0f7d0a2dad1c407e619fe0b9cc69bcade47cbb3e2e3bfd7c8" -x 56505

rtmpdump is too complex, but may be I can help a little bit

Quote:

Originally Posted by Stream Recorder (Post 11304)
from rtmpdump help
Code:

--help|-h              Prints this help screen.
--rtmp|-r url          URL (e.g. rtmp//hotname[:port]/path)
--host|-n hostname      Overrides the hostname in the rtmp url
--port|-c port          Overrides the port in the rtmp url
--protocol|-l          Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE)
--playpath|-y          Overrides the playpath parsed from rtmp url
--swfUrl|-s url        URL to player swf file
--tcUrl|-t url          URL to played stream (default: "rtmp://host[:port]/app")
--pageUrl|-p url        Web URL of played programme
--app|-a app            Name of player used
--swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
--swfsize|-x num        Size of the decompressed SWF file, required for SWFVerification
--auth|-u string        Authentication string to be appended to the connect string
--flashVer|-f string    Flash version string
--live|-v              Save a live stream, no --resume (seeking) of live strems possible
--flv|-o string        FLV output file name, if the file name is - print stream to stdout
--resume|-e            Resume a partial RTMP download
--timeout|-m num        Timeout connection num seconds
--buffer|-b            Buffer time in milliseconds, this option makes only sense in stdout mode
--skip|-k num          Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails

If you don't pass parameters for swfUrl, pageUrl, app or auth these properties will not be included in the connect packet.

You don't need to provide the url parameter (--rtmp|-r) when you use the host, playpath, tcURL parameters.

You didn't use the hostname (-host|-n), protocol (--protocol|-l), playpath (--playpath|-y), tcURL ( --tcUrl|-t url) parameters at all.

URL to player swf file (--swfUrl|-s url) should definitely be different.

betowells 10-28-2009 09:43 AM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Quote:

Originally Posted by Arcturus (Post 13832)
Charlie and Myagisan, I have sent both of you private messages.

Well, I hope we all together find a solution. Better to know I am not alone... :)




Maybe some of the Forum's Experts could help us! Please, if you can, we all here in Brazil would be very grateful.

Arcturus, I have the same problem. Please, send me a private message. I'm brasilian. Thanks.

charliebrown 10-28-2009 11:30 AM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Quote:

Originally Posted by Miyagisan (Post 13830)

Code:

rtmpdump-WIN32-1.6.exe
-r "rtmpe://76.76.24.57/canaldosconcursos/demos/institucional_canal_dos_concursos.flv"
-y "demos/institucional_canal_dos_concursos.flv"
-a "canaldosconcursos"
-s "http://www.canaldosconcursos.com.br"
-p "http://www.canaldosconcursos.com.br/cursos_online.php"
-c 1935
-a canaldosconcursos
-o output.flv
--buffer 15000
-f "WIN 9,0,0"
-w "ffad47030990dbf0f7d0a2dad1c407e619fe0b9cc69bcade47cbb3e2e3bfd7c8"
-x 56505


Hi, from what I understood, the -x must say the uncompressed size of the player, which is 113084, after uncompressing it with "flasm -x"

Also the hash must be the one generated with the uncompressed player. But I have tested all variations without success...

[ ]s.

facklen 10-28-2009 07:19 PM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Hi guys,

I've tried to download these videos too. So, I saw the messages with the same problem here. Well, I tried to use rtmpdump for the whole day. I saw that there are two swf files. Please, check the code and you will see this. Maybe the two swf files are used to complicate downloads.

Code:

        <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="335">
                <param name="movie" value="player.swf" />
                <param name="allowfullscreen" value="true" />
                <param name="allowscriptaccess" value="always" />
                <param name="flashvars" value="&file=demos/institucional_canal_dos_concursos.flv&backcolor=999999&streamer=rtmpe://76.76.24.57/canaldosconcursos&dock=true&image=preview.jpg&skin=controlpanel" />
                <object type="application/x-shockwave-flash" data="player.swf" width="390" height="300">
                        <param name="movie" value="player/player.swf" />
                        <param name="allowfullscreen" value="true" />

                        <param name="allowscriptaccess" value="always" />
                        <param name="flashvars" value="&file=demos/institucional_canal_dos_concursos.flv&backcolor=999999&streamer=rtmpe://76.76.24.57/canaldosconcursos&dock=true&image=preview.jpg&skin=controlpanel" />
                        <p><a href="http://get.adobe.com/flashplayer">Baixe o  Flash</a> para ver o player.</p>
                </object>
        </object>

I tried use rtmpdump with these files, but it doesn't work. I followed the procedure to get the parameters swfhash and swfsize and I encountered this:

Code:

swfUrl: www.canaldosconcursos.com.br/player.swf
swfhash: 41f569111c53af8b27f7d79f6e2341179dd1a3c7f072373677e88721f95cfb86
swfsize: 113084

Code:

swfUrl: www.canaldosconcursos.com.br/player/player.swf[/url]
swfhash: e79476bf3b2c1aaaff7d9359821992d2e1c6d1212b1e2897d10ae43a8ef99efd
swfsize: 111113

As an additional information, a saw a parameter token defined in swf files (both have the same value):
Token: OrRaRdRdR4362

All tests executed didn't have success. Maybe together we'll have more luck.

[ ]'s

getflv 10-29-2009 09:31 AM

Re: canaldosconcursos.com.br - problem downloading RTMPE flash video stream


 
Please try latest version of GetFLV and give us your feedback:)


All times are GMT -6. The time now is 11:31 PM.