Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 07-06-2011, 03:52 PM
grasii grasii is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
grasii is on a distinguished road
Default

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


Quote:
Originally Posted by KSV View Post
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.
Reply With Quote
  #12  
Old 07-07-2011, 11:24 AM
necro necro is offline
Junior Member
 
Join Date: Jul 2011
Posts: 11
necro is on a distinguished road
Default

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


Quote:
Originally Posted by KSV View Post
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 -.-

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.
Reply With Quote
  #13  
Old 07-07-2011, 05:24 PM
grasii grasii is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
grasii is on a distinguished road
Default

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.
Reply With Quote
  #14  
Old 07-08-2011, 01:04 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

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


Quote:
Originally Posted by grasii View Post
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 View Post
2. What made you think they hired morons to encode videos?
Quote:
Originally Posted by necro View Post
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.
Reply With Quote
  #15  
Old 07-23-2011, 09:50 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

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
Reply With Quote
  #16  
Old 07-24-2011, 05:41 AM
mucea mucea is offline
Junior Member
 
Join Date: Apr 2010
Posts: 29
mucea is on a distinguished road
Default

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


Quote:
Originally Posted by chap View Post
mucea
2 idea
Thanks. Just seen it. Both ideas.
Quote:
Originally Posted by KSV View Post
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?

Last edited by mucea : 07-24-2011 at 06:43 AM.
Reply With Quote
  #17  
Old 07-25-2011, 12:39 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

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


Quote:
Originally Posted by mucea View Post
Could this be an IP problem?
it's possible if they are streaming different files according to geo restrictions.

Quote:
Originally Posted by mucea View Post
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.
Reply With Quote
  #18  
Old 09-13-2013, 08:37 AM
necro necro is offline
Junior Member
 
Join Date: Jul 2011
Posts: 11
necro is on a distinguished road
Default

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
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons