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

realitatea.net: Help downloading RTMPE stream. New kind of protection?

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

grasii 07-06-2011 02:52 PM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Quote:

Originally Posted by KSV (Post 30688)
I have modded the rtmpdump to download specifically from this site. though i am not in favor of making site specific changes to librtmp code , i only did it for testing purposes.

test and provide feedback.

Code:

http://www.mediafire.com/?bz3hapxoz5988vl
PS: they have hired morons to encode their videos.

1. Can you explain what have you modded? I'm just curios in the insides of the code. I wanted to look at it and try a mod but I'm no expert into this. Also I couldn't find many resources about rtmpe protocol.

2. What made you think they hired morons to encode videos?

3. Thanks for your help. I didn't expected so much attention for my thread. You are quite dedicated. The modded version you provided works perfectly.

necro 07-07-2011 10:24 AM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Quote:

Originally Posted by KSV (Post 30735)
use RTMPexplorer with modded rtmpdump and it will automatically start downloading whatever you play in RtmpExplorer.

Hi, im AK-47 but with another account, i cant connect with the main account, i got block idk wth is with this forum -.-:mad: :mad: :mad: :mad:

I downloaded videos like that with explorer and works, not so good but i was able to download some videos, but the videos get broken, every movie get one part with freezing image, is this normal? why the videos get broke? my connection is to slow?, bug?

I want this videos without freezing image..., if anyone know some way to fix this freeezing, pls reply, thanks.

grasii 07-07-2011 04:24 PM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Necro, if you try the new modified rtmpdump http://www.mediafire.com/?bz3hapxoz5988vl you will be able to download those videos. I've just tried and it is working fine without interruption. So, download new rtmpdump and copy into RTMPexplorer folder. Start rtmpexplorer and go to that page. Start video you want to download. rtmpsuck will show you it is downloading the videos.

KSV 07-08-2011 12:04 AM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Quote:

Originally Posted by grasii (Post 30746)
1. Can you explain what have you modded? I'm just curios in the insides of the code. I wanted to look at it and try a mod but I'm no expert into this. Also I couldn't find many resources about rtmpe protocol.

in rtmp.c you can modify HandleInvoke function to handle new type of commands.

Patch:
Code:

else if (AVMATCH(&method, &av_VerifyClient))
    {
        RTMPPacket packet;
        char pbuf[256], *pend = pbuf + sizeof (pbuf);
        char *enc;
       
        packet.m_nChannel = 0x03; /* control channel (invoke) */
        packet.m_headerType = RTMP_PACKET_SIZE_MEDIUM;
        packet.m_packetType = RTMP_PACKET_TYPE_INVOKE;
        packet.m_nTimeStamp = 0;
        packet.m_nInfoField2 = 0;
        packet.m_hasAbsTimestamp = 0;
        packet.m_body = pbuf + RTMP_MAX_HEADER_SIZE;
       
        double VerificationNumber;
        VerificationNumber = AMFProp_GetNumber(AMF_GetProp(&obj, NULL, 3));

        enc = packet.m_body;
        enc = AMF_EncodeString(enc, pend, &av__result);
        enc = AMF_EncodeNumber(enc, pend, AMFProp_GetNumber(AMF_GetProp(&obj, NULL, 1)));
        *enc++ = AMF_NULL;
        enc = AMF_EncodeNumber(enc, pend, exp(atan(sqrt(VerificationNumber))) + 1);
        if (!enc)
            return FALSE;

        packet.m_nBodySize = enc - packet.m_body;
        RTMP_SendPacket(r, &packet, FALSE);
    }

Quote:

Originally Posted by grasii (Post 30746)
2. What made you think they hired morons to encode videos?

Quote:

Originally Posted by necro (Post 30762)
I downloaded videos like that with explorer and works, not so good but i was able to download some videos, but the videos get broken, every movie get one part with freezing image, is this normal? why the videos get broke? my connection is to slow?, bug?

I want this videos without freezing image..., if anyone know some way to fix this freeezing, pls reply, thanks.

Try to play the video on their website and it skip frames at same points as the downloaded video. so it's not downloader's problem. videos are broken on their server.

chap 07-23-2011 08:50 AM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
mucea
2 idea;)
Code:

RTMP Server v2.4 GIT-2011-07-21 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://fms27.mediadirect.ro:1935/live2/realitatea" -a "live2/reali
tatea?id=28875491" -f "WIN 10,3,181,34" -W "http://static1.mediadirect.ro/player
-preload/swf/realitatea_new_435/player.swf" -p "http://webtv.realitatea.net/live
" -C O:1 -C O:0 -y "realitatea_low" -o realitatea_low.flv

Closing connection... done!

ERROR: Handshake failed
Closing connection... done!

RTMPDump v2.4 GIT-2011-07-21 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: Handshake failed
Closing connection... done!

Starting download at: 0.000 kB
INFO: Metadata:
INFO:  framerate            25.00
INFO:  width                480.00
INFO:  height                384.00
INFO:  videocodecid          avc1
INFO:  videodatarate        640.00
INFO:  videokeyframe_frequency125.00
INFO:  audiocodecid          mp4a
INFO:  audiosamplerate      44100.00
INFO:  audiochannels        2.00
INFO:  audiodatarate        64.00
4476.339 kB / 61.79 sec


mucea 07-24-2011 04:41 AM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Quote:

Originally Posted by chap (Post 31174)
mucea
2 idea

Thanks. Just seen it. Both ideas. :D
Quote:

Originally Posted by KSV (Post 30779)
Try to play the video on their website and it skip frames at same points as the downloaded video. so it's not downloader's problem. videos are broken on their server.

Thanks for modding RTMPdump for the mediadirect.ro servers - awesome work.
However, there are still some freezes into the recorded shows - so I've asked a couple of friends living in Romania to see if they were able to play without flaws the streams on the websites using mediadirect as streamer. They claim that they could play the videos without freezes. Could this be an IP problem?
:mad:

KSV 07-24-2011 11:39 PM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
Quote:

Originally Posted by mucea (Post 31184)
Could this be an IP problem?

it's possible if they are streaming different files according to geo restrictions.

Quote:

Originally Posted by mucea (Post 31184)
They claim that they could play the videos without freezes.

ask them to download the video on their side and check for any discrepancies in file.

necro 09-13-2013 07:37 AM

Re: realitatea.net: Help downloading RTMPE stream. New kind of protection?


 
KSV can you reupload that version?

i try to download with regular rtmpdump from

http://www.tvrplus.ro/editie-in-caut...-pierdut-99581

but get intrerupts


All times are GMT -6. The time now is 07:52 AM.