View Single Post
  #1  
Old 12-20-2014, 06:06 PM
claudiogc claudiogc is offline
Junior Member
 
Join Date: Dec 2014
Posts: 7
claudiogc is on a distinguished road
Default

Rtmpdump not recording video streaming: How to fix it?


Hi!

I'm using Debian Wheezy 64bit and i'm trying to capture/record some streaming videos from internet using "rtmpdump", but is not working!

I'm getting the following error message when i enter with the "rtmpdump" command(see the entire command bellow).
Quote:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
When i put "-V" in the end of "rtmpdump" command i get:
Quote:
...
...
DEBUG: RTMP_ClientPacket, received: invoke 125 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection failed.>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
My question is: What is that means? What i'm doing wrong and how can i fix it?

The entire error code i'll put in pastebin, he is too big and i thin it will pollute this post.
http://pastebin.com/gFuVes6t

Bellow, exactly what i'm trying to do in the command terminal:
1. iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner ! --uid-owner root -j REDIRECT
2. rtmpsuck

When i enter "rtmpsuck" and open the video using Firefox, i get this:
Quote:
RTMP Proxy Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: cameraprive_main/5433
flashVer: LNX 11,2,202,425
swfUrl: https://assets.cameraprive.com/chat/...swf?1419084533
tcUrl: rtmp://dolphin.cameraprive.com.br/cameraprive_main/5433
pageUrl: http://cameraprive.com/br/room/amandinha-show
Playpath: cam1
Saving as: cam1
INFO: Metadata:
INFO: height 240.00
INFO: width 320.00
Playpath: cam1
Saving as: cam101
3. iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner ! --uid-owner root -j REDIRECT
4. rtmpdump -r rtmp://dolphin.cameraprive.com.br/cameraprive_main/5433 -a cameraprive_main/5433 -y cam1 -W https://assets.cameraprive.com/chat/...swf?1419084533 -f "LNX 11,2,202,425" -o test.flv

I already read these two tutorials that someone suggested and i don't unerstand what i'm doing wrong! rtmpdump: Not working properly, how to fix it?
http://pclosmag.com/html/issues/201104/page19.html
http://stream-recorder.com/forum/use...als-t8911.html

Has that "https from ""swfUrl: https://..." something to do with this error, or maybe "ViewerApp.swf?1419084533" from "swfUrl"?
Reply With Quote