Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to use wireshark and RTMPDump to get a video for our site through brightcove player. I've gotten as far as I know the address but rtmpdump won't download.

So here's what I got out of wireshark:

1138    32.580781   192.168.9.6 173.223.52.87   RTMP    304 play2('mp4:Brightcove/Brightcove2/29906170001/2013/01/29906170001_2124696112001_PETE-TOWNSHEND---LES-PAUL-AWARD.mp4')
Transmission Control Protocol, Src Port: 54664 (54664), Dst Port: macromedia-fcs (1935), Seq: 4245, Ack: 485853, Len: 238
Real Time Messaging Protocol (AMF0 Command play2('mp4:Brightcove/Brightcove2/29906170001/2013/01/29906170001_2124696112001_PETE-TOWNSHEND---LES-PAUL-AWARD.mp4'))

So IP of the brightcove server is 173.223.52.87 and rtmp port is 1935, at least according to that. So it should work.

So I run rtmpdump like so:

rtmpdump -r "rtmp://173.223.52.87:1935/Brightcove/Brightcove2/29906170001/2013/01/29906170001_2124696112001_PETE-TOWNSHEND---LES-PAUL-AWARD.mp4" -v -z

And I get a connection error and it won't grab it:

DEBUG: Protocol : RTMP
DEBUG: Hostname : 173.223.52.87
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:29906170001/2013/01/29906170001_2124696112001_PETE-TOWNSHEND---LES-PAUL-AWARD
DEBUG: tcUrl    : rtmp://173.223.52.87:1935/Brightcove/Brightcove2
DEBUG: app      : Brightcove/Brightcove2
DEBUG: live     : yes
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 1995259541
DEBUG: HandShake: FMS Version   : 4.5.2.1
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=5, size=237
DEBUG2:   0000:  03 00 00 00 00 00 ed 14  00 00 00 00               ............      
DEBUG2:   0000:  02 00 07 63 6f 6e 6e 65  63 74 00 3f f0 00 00 00   ...connect.?....  
DEBUG2:   0010:  00 00 00 03 00 03 61 70  70 02 00 16 42 72 69 67   ......app...Brig  
DEBUG2:   0020:  68 74 63 6f 76 65 2f 42  72 69 67 68 74 63 6f 76   htcove/Brightcov  
DEBUG2:   0030:  65 32 00 08 66 6c 61 73  68 56 65 72 02 00 0e 4c   e2..flashVer...L  
DEBUG2:   0040:  4e 58 20 31 30 2c 30 2c  33 32 2c 31 38 00 05 74   NX 10,0,32,18..t  
DEBUG2:   0050:  63 55 72 6c 02 00 30 72  74 6d 70 3a 2f 2f 31 37   cUrl..0rtmp://17  
DEBUG2:   0060:  33 2e 32 32 33 2e 35 32  2e 38 37 3a 31 39 33 35   3.223.52.87:1935  
DEBUG2:   0070:  2f 42 72 69 67 68 74 63  6f 76 65 2f 42 72 69 67   /Brightcove/Brig  
DEBUG2:   0000:  c3                                                 .                 
DEBUG2:   0000:  68 74 63 6f 76 65 32 00  04 66 70 61 64 01 00 00   htcove2..fpad...  
DEBUG2:   0010:  0c 63 61 70 61 62 69 6c  69 74 69 65 73 00 40 2e   .capabilities.@.  
DEBUG2:   0020:  00 00 00 00 00 00 00 0b  61 75 64 69 6f 43 6f 64   ........audioCod  
DEBUG2:   0030:  65 63 73 00 40 a8 ee 00  00 00 00 00 00 0b 76 69   ecs.@.........vi  
DEBUG2:   0040:  64 65 6f 43 6f 64 65 63  73 00 40 6f 80 00 00 00   deoCodecs.@o....  
DEBUG2:   0050:  00 00 00 0d 76 69 64 65  6f 46 75 6e 63 74 69 6f   ....videoFunctio  
DEBUG2:   0060:  6e 00 3f f0 00 00 00 00  00 00 00 00 09            n.?..........     
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2:   0000:  03 00 00 00 00 00 78 14  00 00 00 00               ......x.....      
DEBUG2:   0000:  02 00 06 5f 65 72 72 6f  72 00 3f f0 00 00 00 00   ..._error.?.....  
DEBUG2:   0010:  00 00 05 03 00 05 6c 65  76 65 6c 02 00 05 65 72   ......level...er  
DEBUG2:   0020:  72 6f 72 00 04 63 6f 64  65 02 00 1e 4e 65 74 43   ror..code...NetC  
DEBUG2:   0030:  6f 6e 6e 65 63 74 69 6f  6e 2e 43 6f 6e 6e 65 63   onnection.Connec  
DEBUG2:   0040:  74 2e 52 65 6a 65 63 74  65 64 00 0b 64 65 73 63   t.Rejected..desc  
DEBUG2:   0050:  72 69 70 74 69 6f 6e 02  00 1b 5b 20 41 63 63 65   ription...[ Acce  
DEBUG2:   0060:  73 73 4d 61 6e 61 67 65  72 2e 52 65 6a 65 63 74   ssManager.Reject  
DEBUG2:   0070:  20 5d 20 3a 20 00 00 09                             ] : ...          
DEBUG: RTMP_ClientPacket, received: invoke 120 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:           no-name., STRING: _error>
DEBUG: Property: <Name:           no-name., NUMBER: 1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:           no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING: error>
DEBUG: Property: <Name:               code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name:        description, STRING: [ AccessManager.Reject ] : >
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2:   0000:  03 00 00 00 00 00 12 14  00 00 00 00               ............      
DEBUG2:   0000:  02 00 05 63 6c 6f 73 65  00 00 00 00 00 00 00 00   ...close........  
DEBUG2:   0010:  00 05                                              ..                
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:           no-name., STRING: close>
DEBUG: Property: <Name:           no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.