PDA

View Full Version : www.rtp.pt: Rtmpdump: problems with stream redirection?


Tintagel
03-23-2011, 07:44 AM
Hello

I'm having trouble with an rtmp stream.
I got all the parameters using rtmpsrv, but rtmpdump gives me this error, i think it might be due to some kind of redirection:

>rtmpdump -r "rtmp://h2a.rtp.pt/redirectvod" -a "redirectvod" -f "WIN 10,2,152,26" -W "http://www.rtp.pt/script/jw101111/player.swf" -p "http://www.rtp.pt/multimediahtml/progVideo.php?tvprog=26006" -y "mp4:nas2.share/h264/512x384/proscontras/prosecontras_1_20110321.mp4" -o prosecontras_1_20110321.flv -z

DEBUG: RTMP_ClientPacket, received: invoke 234 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: _error>
DEBUG: Property: <Name: no-name., NUMBER: 1.00>
DEBUG: Property: <Name: no-name., OBJECT>
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection failed: Application rejected connection.>
DEBUG: Property: <Name: ex, OBJECT>
DEBUG: Property: <Name: redirect, STRING: rtmp://195.245.168.31:1935/fastplay>
DEBUG: Property: <Name: code, NUMBER: 302.00>
DEBUG: Property: <Name: clientid, NUMBER: 1763657927.00>
ERROR: rtmp server sent error

Full debug here: http://pastebin.com/RK1qUdL5

Help, anyone?

Thanks

Stream Recorder
03-23-2011, 09:02 AM
I didn't have any problem download RTMP stream from _http://www.rtp.pt/multimediahtml/progVideo.php?tvprog=26006 with Replay Media Catcher (http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm) 4.

http://img851.imageshack.us/img851/918/rtppt.png

You can also download RTMP streams with freeware CooJah + Blader (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm), Orbit Downloader (http://all-streaming-media.com/record-video-stream/Download-manager-Orbit-Downloader-Record-HTTP-MMS-RTSP-RTMP-media-streams-Freeware.htm), StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm),...

And you can try to capture RTMP streams in real time while you listen to them using freeware CooJah (http://all-streaming-media.com/record-video-stream/Blader-freeware-RTMP-downloader.htm) (without Blader), Orbit Grab Pro.

If you use Linux, try rtmpsrv or rtmpsuck.

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

nullacht
03-23-2011, 09:32 AM
rtmpdump -r "rtmp://195.245.168.26/fastplay" -y "mp4:nas2.share/h264/512x384/proscontras/prosecontras_1_20110321.mp4" -o prosecontras_1_20110321.flv

Tintagel
03-23-2011, 09:43 AM
Thank you, nullacht!

Maybe in a future version rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) can handle redirection.

BR