Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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> 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 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 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 - Как сохранить видео |
Tags: rtmpdump, russian, tele ru, teleru, teleru com, telerucom, www teleru com |
Thread Tools | |
Display Modes | |
|
|