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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2010, 08:21 AM
Monte Monte is offline
Junior Member
 
Join Date: Apr 2010
Posts: 5
Monte is on a distinguished road
Default

teleru.com: failed to read RTMP packet header. any suggestions please?


Hi,

teleru.com is a video archive of Russian TV channels. It requires free registration, though some videos are available without registration in this section: "http://teleru.com/video?free=1"

I was able to find out --rtmp, --playpath and --swfUrl parameters, but can't download any videos. It seems this web-site uses some sophisticated authentication technique, maybe based on tickets limited in time.

Let me take a tennis program as an example, the address is:
"http://teleru.com/video/play?free=1&media=50477"

There is an XML URL which contains links to other URLs:
"http://teleru.com/video/xmlstruct?media=50477"

We need the last one: "http://bl.teleru.com/video/fileinfo/50477"
Once you visit it, you obtain these parameters for flash player:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<redirect>
    <tickettime sec="60"/>
    <newticket>http://bl.teleru.com/video/purchase/50477</newticket>
    <protocols>
<address protocol="rtmp">rtmp://st-0-4.teleru.com:1935</address>    </protocols>
    <tracks>
        <track bitrate="1000"><![CDATA[?check_ip=0.0.0.0&exp=1272023671&file=57%2F60%2F57605be6ebb3e841f0a6705c18b573df-hdp.mp4&host=&max_time=210&route=st-0-4.teleru.com&start=0&sign=0cd865ad9e1ced5bb117b693b4923cc7]]></track>
        <track bitrate="600"><![CDATA[?check_ip=0.0.0.0&exp=1272023671&file=57%2F60%2F57605be6ebb3e841f0a6705c18b573df-hd.mp4&host=&max_time=210&route=st-0-4.teleru.com&start=0&sign=9cf4e663c895bb80583f63a2044cd6de]]></track>
        <track bitrate="300"><![CDATA[?check_ip=0.0.0.0&exp=1272023671&file=57%2F60%2F57605be6ebb3e841f0a6705c18b573df-sd.mp4&host=&max_time=210&route=st-0-4.teleru.com&start=0&sign=d1013f3a9655e7cfd7e71fa7da51c136]]></track>
    </tracks>
    <events><event id="cdfd969b7b4274ee14fb75ef93b5a661" time="243"><![CDATA[http://bl.teleru.com/video/continue/50477/cdfd969b7b4274ee14fb75ef93b5a661]]></event></events>
</redirect>
(I have replaced my IP with 0.0.0.0).

Here we have the --rtmp parameter: rtmp://st-0-4.teleru.com:1935,
and the --playpath (for the best quality mp4): ?check_ip=0.0.0.0&exp=1272023671&file=57%2F60%2F57 605be6ebb3e841f0a6705c18b573df-hdp.mp4&host=&max_time=210&route=st-0-4.teleru.com&start=0&sign=0cd865ad9e1ced5bb117b693 b4923cc7
The --swfUrl is "http://teleru.com/10/player.swf"

So when I invoke
Code:
rtmpdump --rtmp rtmp://st-0-4.teleru.com:1935 --playpath "?check_ip=0.0.0.0&exp=1272023671&file=57%2F60%2F57605be6ebb3e841f0a6705c18b573df-hdp.mp4&host=&max_time=210&route=st-0-4.teleru.com&start=0&sign=0cd865ad9e1ced5bb117b693b4923cc7" --swfUrl http://teleru.com/10/player.swf --flv 57605be6ebb3e841f0a6705c18b573df-hdp.mp4 --debug
I get:
Code:
RTMPDump v2.2c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: No application or playpath in URL!
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Although rtmpdump complains about the playpath, I believe the playpath I supplied is correct, at least this is what I got using several rtmp downloaders in Windows (Orbit Downloader, Replay Media Catcher etc.). They were not able to download from this site either. I tried to use "sign" from the playpath and the "event" ID as --auth , but it did not make any difference.

I have not yet given up on finding out how to download from this web-site. If anyone have any suggestions please don't hesitate to share them.

Take notice of "newticket", "tickettime" and "event" parameters in "http://bl.teleru.com/video/fileinfo/50477". I don't know how to make use of them. Maybe some perl script, which is beyond my skills at the moment.

Thanks in advance.


The same discussion in Russian:
teleru.com - Как сохранить видео
Reply With Quote
 
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 02:02 PM.


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