[rtmpdump] Inputting the correct options for a RTMP stream

Jonathan Cruise jonathan at heycruises.com
Sat Nov 28 16:42:48 CET 2015


Hey guys,

I think I've put together a command with options that's close to what I
need in order to begin getting a RTMP stream, but verbose logging tells me
that I'm not there yet.

Might someone be able to take a look at the Wireshark extracts that I have
along with verbose_logging.txt and help guide me in the right direction?

If I can provide any additional information, please feel free to let me
know.

Thank you much,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20151128/3e209353/attachment-0001.html>
-------------- next part --------------
>rtmpdump --conn "S:connect N:1 O:1 NS:app:live?ovpfv=2.1.6 NS:capabilities:239 NS:audioCodecs:3575 NS:videoCodecs:252 NS:videoFunction:1 NS:objectEncoding:3" --flashVer "WIN 19,0,0,245" --swfUrl "http://cdn-solutions.interactiveone.com/vip/sw.f/lsap_v7.2.swf" --tcUrl "rtmp://cp72151.live.edgefcs.net:1935/live?ovpfv=2.1.6" --pageUrl "http://kysdc.com/wp-admin/admin-ajax.php?action=ione_listen_live" --flv "temp.flv" --rtmp "rtmp://cp72151.live.edgefcs.net:1935/live/WKYS-FM@10604" --app "WKYS-FM at 10604" --verbose

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp72151.live.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath : WKYS-FM at 10604
DEBUG: tcUrl    : rtmp://cp72151.live.edgefcs.net:1935/live?ovpfv=2.1.6
DEBUG: swfUrl   : http://cdn-solutions.interactiveone.com/vip/sw.f/lsap_v7.2.swf
DEBUG: pageUrl  : http://kysdc.com/wp-admin/admin-ajax.php?action=ione_listen_live
DEBUG: app      : WKYS-FM at 10604
DEBUG: flashVer : WIN 19,0,0,245
DEBUG: live     : no
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 : 600372470
DEBUG: HandShake: FMS Version   : 5.0.7.1
WARNING: HandShake: client signature does not match!
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 1250000
DEBUG: HandleClientBW: client BW = 1250000 2
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/5,0,7,7055>
DEBUG: Property: <Name:       capabilities, NUMBER:     127.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Success>
DEBUG: Property: <Name:        description, STRING:     Connection succeeded.>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: Property: <Name:               data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     5,0,7,7055>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: HandleCtrl, received ctrl. type: 6, len: 6
DEBUG: HandleCtrl, Ping 600353901
DEBUG: sending ctrl. type: 0x0007
DEBUG: RTMP_ClientPacket, received: invoke 25 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWCheck>
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10060 (Unknown error)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 12780746
DEBUG: Closing connection.
-------------- next part --------------
Frame 2525: 554 bytes on wire (4432 bits), 554 bytes captured (4432 bits) on interface 0
    Interface id: 0 (\Device\NPF_{AC7650F2-C5E2-4E28-B883-A6D7574558C2})
    Encapsulation type: Ethernet (1)
    Arrival Time: Nov 27, 2015 16:02:22.046132000 Eastern Standard Time
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1448658142.046132000 seconds
    [Time delta from previous captured frame: 0.000025000 seconds]
    [Time delta from previous displayed frame: 0.000025000 seconds]
    [Time since reference or first frame: 15.310966000 seconds]
    Frame Number: 2525
    Frame Length: 554 bytes (4432 bits)
    Capture Length: 554 bytes (4432 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ip:tcp:rtmpt]
    [Coloring Rule Name: TCP]
    [Coloring Rule String: tcp]
Ethernet II, Src: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11), Dst: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
    Destination: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
        Address: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Source: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11)
        Address: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.1.12, Dst: 23.0.163.205
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
        0000 00.. = Differentiated Services Codepoint: Default (0)
        .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
    Total Length: 540
    Identification: 0x06fe (1790)
    Flags: 0x02 (Don't Fragment)
        0... .... = Reserved bit: Not set
        .1.. .... = Don't fragment: Set
        ..0. .... = More fragments: Not set
    Fragment offset: 0
    Time to live: 128
    Protocol: TCP (6)
    Header checksum: 0x755c [validation disabled]
        [Good: False]
        [Bad: False]
    Source: 192.168.1.12
    Destination: 23.0.163.205
    [Source GeoIP: Unknown]
    [Destination GeoIP: Unknown]
Transmission Control Protocol, Src Port: 52512 (52512), Dst Port: 1935 (1935), Seq: 2998, Ack: 3074, Len: 500
    Source Port: 52512
    Destination Port: 1935
    [Stream index: 55]
    [TCP Segment Len: 500]
    Sequence number: 2998    (relative sequence number)
    [Next sequence number: 3498    (relative sequence number)]
    Acknowledgment number: 3074    (relative ack number)
    Header Length: 20 bytes
    Flags: 0x018 (PSH, ACK)
        000. .... .... = Reserved: Not set
        ...0 .... .... = Nonce: Not set
        .... 0... .... = Congestion Window Reduced (CWR): Not set
        .... .0.. .... = ECN-Echo: Not set
        .... ..0. .... = Urgent: Not set
        .... ...1 .... = Acknowledgment: Set
        .... .... 1... = Push: Set
        .... .... .0.. = Reset: Not set
        .... .... ..0. = Syn: Not set
        .... .... ...0 = Fin: Not set
        [TCP Flags: *******AP***]
    Window size value: 256
    [Calculated window size: 65536]
    [Window size scaling factor: 256]
    Checksum: 0x1928 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
    Urgent pointer: 0
    [SEQ/ACK analysis]
        [iRTT: 0.014212000 seconds]
        [Bytes in flight: 1960]
Real Time Messaging Protocol (Handshake C2)
    Handshake C2
        Handshake data: 40bb8144a2779de6166d04aecfa7346ea7e6e91c30c1b56c...
Real Time Messaging Protocol (AMF0 Command connect('live?ovpfv=2.1.6'))
    Response to this call in frame: 2527
    RTMP Header
        00.. .... = Format: 0
        ..00 0011 = Chunk Stream ID: 3
        Timestamp: 0
        Body size: 409
        Type ID: AMF0 Command (0x14)
        Stream ID: 0
    RTMP Body
        String 'connect'
            AMF0 type: String (0x02)
            String length: 7
            String: connect
        Number 1
            AMF0 type: Number (0x00)
            Number: 1
        Object (11 items)
            AMF0 type: Object (0x03)
            Property 'app' String 'live?ovpfv=2.1.6'
                Name: app
                    String length: 3
                    String: app
                String 'live?ovpfv=2.1.6'
                    AMF0 type: String (0x02)
                    String length: 16
                    String: live?ovpfv=2.1.6
            Property 'flashVer' String 'WIN 19,0,0,245'
                Name: flashVer
                    String length: 8
                    String: flashVer
                String 'WIN 19,0,0,245'
                    AMF0 type: String (0x02)
                    String length: 14
                    String: WIN 19,0,0,245
            Property 'swfUrl' String 'http://cdn-solutions.interactiveone.com/vip/swf/lsap_v7.2.swf'
                Name: swfUrl
                    String length: 6
                    String: swfUrl
                String 'http://cdn-solutions.interactiveone.com/vip/swf/lsap_v7.2.swf'
                    AMF0 type: String (0x02)
                    String length: 61
                    String: http://cdn-solutions.interactiveone.com/vip/swf/lsap_v7.2.swf
            Property 'tcUrl' String 'rtmp://cp72151.live.edgefcs.net:1935/live?ovpfv=2.1.6'
                Name: tcUrl
                    String length: 5
                    String: tcUrl
                String 'rtmp://cp72151.live.edgefcs.net:1935/live?ovpfv=2.1.6'
                    AMF0 type: String (0x02)
                    String length: 53
                    String: rtmp://cp72151.live.edgefcs.net:1935/live?ovpfv=2.1.6
            Property 'fpad' Boolean false
                Name: fpad
                    String length: 4
                    String: fpad
                Boolean false
                    AMF0 type: Boolean (0x01)
                    Boolean: False
            Property 'capabilities' Number 239
                Name: capabilities
                    String length: 12
                    String: capabilities
                Number 239
                    AMF0 type: Number (0x00)
                    Number: 239
            Property 'audioCodecs' Number 3575
                Name: audioCodecs
                    String length: 11
                    String: audioCodecs
                Number 3575
                    AMF0 type: Number (0x00)
                    Number: 3575
            Property 'videoCodecs' Number 252
                Name: videoCodecs
                    String length: 11
                    String: videoCodecs
                Number 252
                    AMF0 type: Number (0x00)
                    Number: 252
            Property 'videoFunction' Number 1
                Name: videoFunction
                    String length: 13
                    String: videoFunction
                Number 1
                    AMF0 type: Number (0x00)
                    Number: 1
            Property 'pageUrl' String 'http://kysdc.com/wp-admin/admin-ajax.php?action=ione_listen_live'
                Name: pageUrl
                    String length: 7
                    String: pageUrl
                String 'http://kysdc.com/wp-admin/admin-ajax.php?action=ione_listen_live'
                    AMF0 type: String (0x02)
                    String length: 64
                    String: http://kysdc.com/wp-admin/admin-ajax.php?action=ione_listen_live
            Property 'objectEncoding' Number 3
                Name: objectEncoding
                    String length: 14
                    String: objectEncoding
                Number 3
                    AMF0 type: Number (0x00)
                    Number: 3
            End Of Object Marker
-------------- next part --------------
Frame 2537: 120 bytes on wire (960 bits), 120 bytes captured (960 bits) on interface 0
    Interface id: 0 (\Device\NPF_{AC7650F2-C5E2-4E28-B883-A6D7574558C2})
    Encapsulation type: Ethernet (1)
    Arrival Time: Nov 27, 2015 16:02:22.126724000 Eastern Standard Time
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1448658142.126724000 seconds
    [Time delta from previous captured frame: 0.025798000 seconds]
    [Time delta from previous displayed frame: 0.025798000 seconds]
    [Time since reference or first frame: 15.391558000 seconds]
    Frame Number: 2537
    Frame Length: 120 bytes (960 bits)
    Capture Length: 120 bytes (960 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ip:tcp:rtmpt]
    [Coloring Rule Name: TCP]
    [Coloring Rule String: tcp]
Ethernet II, Src: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11), Dst: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
    Destination: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
        Address: Actionte_2e:46:5a (f8:e4:fb:2e:46:5a)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Source: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11)
        Address: HonHaiPr_7c:12:11 (c0:f8:da:7c:12:11)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.1.12, Dst: 23.0.163.205
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
        0000 00.. = Differentiated Services Codepoint: Default (0)
        .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
    Total Length: 106
    Identification: 0x0704 (1796)
    Flags: 0x02 (Don't Fragment)
        0... .... = Reserved bit: Not set
        .1.. .... = Don't fragment: Set
        ..0. .... = More fragments: Not set
    Fragment offset: 0
    Time to live: 128
    Protocol: TCP (6)
    Header checksum: 0x7708 [validation disabled]
        [Good: False]
        [Bad: False]
    Source: 192.168.1.12
    Destination: 23.0.163.205
    [Source GeoIP: Unknown]
    [Destination GeoIP: Unknown]
Transmission Control Protocol, Src Port: 52512 (52512), Dst Port: 1935 (1935), Seq: 3581, Ack: 3455, Len: 66
    Source Port: 52512
    Destination Port: 1935
    [Stream index: 55]
    [TCP Segment Len: 66]
    Sequence number: 3581    (relative sequence number)
    [Next sequence number: 3647    (relative sequence number)]
    Acknowledgment number: 3455    (relative ack number)
    Header Length: 20 bytes
    Flags: 0x018 (PSH, ACK)
        000. .... .... = Reserved: Not set
        ...0 .... .... = Nonce: Not set
        .... 0... .... = Congestion Window Reduced (CWR): Not set
        .... .0.. .... = ECN-Echo: Not set
        .... ..0. .... = Urgent: Not set
        .... ...1 .... = Acknowledgment: Set
        .... .... 1... = Push: Set
        .... .... .0.. = Reset: Not set
        .... .... ..0. = Syn: Not set
        .... .... ...0 = Fin: Not set
        [TCP Flags: *******AP***]
    Window size value: 255
    [Calculated window size: 65280]
    [Window size scaling factor: 256]
    Checksum: 0xe777 [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
    Urgent pointer: 0
    [SEQ/ACK analysis]
        [iRTT: 0.014212000 seconds]
        [Bytes in flight: 66]
Real Time Messaging Protocol (AMF3 Command play('WKYS-FM at 10604'))
    RTMP Header
        00.. .... = Format: 0
        ..00 1000 = Chunk Stream ID: 8
        Timestamp: 222
        Body size: 43
        Type ID: AMF3 Command (0x11)
        Stream ID: 1
    RTMP Body
        String 'play'
            AMF0 type: String (0x02)
            String length: 4
            String: play
        Number 0
            AMF0 type: Number (0x00)
            Number: 0
        Null
            AMF0 type: Null (0x05)
        String 'WKYS-FM at 10604'
            AMF0 type: String (0x02)
            String length: 13
            String: WKYS-FM at 10604
        Number -1000
            AMF0 type: Number (0x00)
            Number: -1000
Real Time Messaging Protocol (User Control Message Set Buffer Length 1,7000ms)
    RTMP Header
        11.. .... = Format: 3
        ..00 0010 = Chunk Stream ID: 2
        Timestamp: 16757305 (calculated)
    RTMP Body
        Event type: Set Buffer Length (3)


More information about the rtmpdump mailing list