PDA

View Full Version : www.rtc.be: rtmpdump error: failed to read RTMP packet header


chessfarrell
02-08-2011, 01:25 PM
Hi,

I'm having a problem similar to
teleru.com: failed to read RTMP packet header. any suggestions please?
with a Belgian website, but the thing is: I've been using rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) for a couple of days, so I'm definitively not an expert. Anyway, I'll tell you what I've tried...

The video I'm interested in is this one: _http://www.rtc.be/content/view/4358/166/

Here is the code I used to download it with rtmpdump:

./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/166597.mp4 --swfUrl http://www.rtc.be/player-rtc.swf

And here is what I get:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

I get the same error message for these queries:

./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/mp4:166597.mp4 --swfUrl http://www.rtc.be/player-rtc.swf
./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/mp4:166597.mp4 --playlist --swfUrl http://www.rtc.be/player-rtc.swf
./rtmpdump --rtmp rtmpe://media.rtc.be/vod/mp4:166597.mp4 --playlist --swfUrl http://www.rtc.be/player-rtc.swf

Here is part of the website source code that might be relevant:


flashvars.file = "166597.mp4";
flashvars.bufferlength = "3";
flashvars.streamer = "rtmpe://media.rtc.be/vod";

if(navigator.userAgent.match(/iPhone|iPod|iPad/i)){
gid('jwav-166597').innerHTML = QT_GenerateOBJECTText_XHTML('http://media.rtc.be/vod/mp4:166597.mp4/playlist.m3u8', '320', '212', '', 'AUTOPLAY', 'false', 'SCALE', 'Aspect');
}

swfobject.embedSWF("/player-rtc.swf", "jwav-166597", "100%", "100%", "9.0.115", "expressInstall.swf", flashvars, params, attributes);

Note that Jaksta (http://all-streaming-media.com/record-video-stream/Jaksta-Streaming-Media%20Recorder-and-Converter.htm) (and GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) and CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm)) fail to get a correct URL. So I really don't have a clue... If you have an idea, don't hesitate!

Thanks!

getflv
02-09-2011, 04:09 PM
Hi,

I'm having a problem similar to
teleru.com: failed to read RTMP packet header. any suggestions please?
with a Belgian website, but the thing is: I've been using rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) for a couple of days, so I'm definitively not an expert. Anyway, I'll tell you what I've tried...

The video I'm interested in is this one: _http://www.rtc.be/content/view/4358/166/

Here is the code I used to download it with rtmpdump:

./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/166597.mp4 --swfUrl http://www.rtc.be/player-rtc.swf

And here is what I get:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

I get the same error message for these queries:

./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/mp4:166597.mp4 --swfUrl http://www.rtc.be/player-rtc.swf
./rtmpdump --rtmp rtmpe://media.rtc.be:1935/vod/mp4:166597.mp4 --playlist --swfUrl http://www.rtc.be/player-rtc.swf
./rtmpdump --rtmp rtmpe://media.rtc.be/vod/mp4:166597.mp4 --playlist --swfUrl http://www.rtc.be/player-rtc.swf

Here is part of the website source code that might be relevant:


flashvars.file = "166597.mp4";
flashvars.bufferlength = "3";
flashvars.streamer = "rtmpe://media.rtc.be/vod";

if(navigator.userAgent.match(/iPhone|iPod|iPad/i)){
gid('jwav-166597').innerHTML = QT_GenerateOBJECTText_XHTML('http://media.rtc.be/vod/mp4:166597.mp4/playlist.m3u8', '320', '212', '', 'AUTOPLAY', 'false', 'SCALE', 'Aspect');
}

swfobject.embedSWF("/player-rtc.swf", "jwav-166597", "100%", "100%", "9.0.115", "expressInstall.swf", flashvars, params, attributes);

Note that Jaksta (http://all-streaming-media.com/record-video-stream/Jaksta-Streaming-Media%20Recorder-and-Converter.htm) (and GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) and CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm)) fail to get a correct URL. So I really don't have a clue... If you have an idea, don't hesitate!

Thanks!

Latest GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) can download rtc.be videos. Please check it and give us your feedback.

nullacht
02-15-2011, 08:01 AM
The video I'm interested in is this one: _http://www.rtc.be/content/view/4358/166/



And here is what I get:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header



http://www.rtc.be uses secureToken!

evt.info.secureToken, "o%p#i7Su@a"

RTMPDump:

rtmpdump -r "rtmpe://media.rtc.be:1935/vod/166597.mp4" -o 166597.flv -T "o%p#i7Su@a"

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: trackinfo:
INFO: timescale 25.00
INFO: length 3701.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: timescale 32000.00
INFO: length 4738048.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
INFO: audiochannels 2.00
INFO: audiosamplerate 32000.00
INFO: videoframerate 25.00
INFO: aacaot 2.00
INFO: avclevel 51.00
INFO: avcprofile 100.00
INFO: audiocodecid mp4a
INFO: videocodecid avc1
INFO: width 512.00
INFO: height 288.00
INFO: moovposition 40.00
INFO: duration 148.06
5362.057 kB / 148.03 sec (99.9%)
Download complete