PDA

View Full Version : Tricky stream from handball.ch: help needed to record RTMP stream with rtmpdump


Chrishi2010
12-31-2010, 03:20 AM
Hello everyone,

I'm trying to record a very tricky stream with rtmpdump under Windows 7. After various tries with different settings I think I need some help on this one.
The stream can be found here:
http://handball.ch/de/handball_schweiz/96_internettv.htm?id=101

My latest and most successful strategy so far was using this URL (which I found within the source code) to generate a "fresh" pair of keys:
http://hwcdn.net/x9q9d5i4/fms/itv/sport/handball/nationalmannschaft/s_hb_101031_schweiz-daenemark_m.mov.smil

Then I used the results as parameter for playpath and host, as for instance in this example:
rtmpdump -o video.flv --host "fms021.am4.hwcdn.net" --playpath "mp4:fms/itv/sport/handball/nationalmannschaft/s_hb_101031_schweiz-daenemark_m.mov?doppl=0db8aef940a503c1&dopsig=a445145a2da03963b9f7e000f97c58c8" --tcUrl "rtmp://fms021.am4.hwcdn.net/x9q9d5i4/_definst_" --app "x9q9d5i4/_definst_" --swfUrl "http://www.internettv.ch/swf/itvplayer.swf" --swfVfy "http://www.internettv.ch/swf/itvplayer.swf"

rtmpdump starts downloading the first 200k but then stops with "ERROR: failed to read rtmp packed body".

Has anyone of you some hints on how to record this stream properly?

Thanks in advance!


Best
Chrishi2010

Stream Recorder
12-31-2010, 10:32 AM
In Windows 7 you can download RTMP streams with GUI software like freeware StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm), CooJah + Blader (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm), shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm),...

And you can capture RTMP streams in real time while you watch them using freeware CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm) (without Blader), Orbit Grab Pro, shareware Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm) 4.

Related:
FAQ: How to record/download/capture/save Adobe Flash .FLV video RTMP stream from embedded player (http://all-streaming-media.com/faq/recording-media-stream/faq-record-download-capture-save-flash-flv-video-rtmp.htm)
How to record rtmp:// flash video .flv stream from embedded Adobe Flash Player

Stream Recorder
12-31-2010, 10:35 AM
As for rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm), you can try to use rtmpsuck, rtmpsrv to find all the parameters that are needed. For example:
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: x9q9d5i4/_definst_
flashVer: LNX 10,1,102,65
swfUrl: http://internettv.ch/swf/itvplayer.swf
tcUrl: rtmp://fms021.am4.hwcdn.net/x9q9d5i4/_definst_
pageUrl: http://internettv.ch/sport/handball/handball-em-qualifikation-schweiz-daenemark
Playpath: mp4:fms/itv/sport/handball/nationalmannschaft/s_hb_101031_schweiz-daenemark_m.mov?FLVPlaybackVersion=2.1&doppl=88b9cc47c5a7d98a&dopsig=46d283797a1b26ac6a0b9ad9df02dda7
Saving as: s_hb_101031_schweiz-daenemark_m.mov
But it is recommended to install Linux like Ubuntu for using rtmpsuck, rtmpsrv. You can use dual boot or install it onto a virtual machine like freeware VirtualBox. Although it is not recommended, but you can even install Ubuntu from Windows using wubi.

Chrishi2010
01-01-2011, 02:59 AM
Thank you very much for your helpful suggestions!

I unsuccessfully tried to use rtmpsuck myself - it only said "WARNING: Trying different position for client digest!"

With your parameters from rtmpsuck I was able to record the stream!

Stream Ripper
01-01-2011, 11:59 PM
Thank you very much for your helpful suggestions!

I unsuccessfully tried to use rtmpsuck myself - it only said "WARNING: Trying different position for client digest!"

With your parameters from rtmpsuck I was able to record the stream!

He's pretty helpful like that. :-) Glad you were able to get it working!! :D