[rtmpdump] rtmpdump segmentation fault error

pnixte at gmail.com pnixte at gmail.com
Wed Nov 3 22:31:19 CET 2010


Sorry...

rtmpdump --rtmp "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4" -o filename.flv

works for me in windows.


I also tried something close to what you want and works flawlessly too:

rtmpdump --rtmp "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4" | mplayer -



On 11/1/10, Tuomas Lähteenmäki <lahtis at gmail.com> wrote:
> im try a pipe to rtmbdump for mplayer, but rtmdump crash to segmentation
> fault error.
>  Im tested this 2.3 trunk version and Ubuntu 2.3-2 version.
> (Ubuntu 10.04 LTS)
>
> Video settings are:
> http://www.nelonen.fi/utils/video_config/?q=video_episode/263328&site=www.ruutu.fi
>
> im try make a this...
>  mkfifo ff
>  ./rtmpdump --rtmp "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4" -o ff
>  mplayer ff
>
> Degub log:
> ./rtmpdump --debug --rtmp
> "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4" -o ff
> RTMPDump v2.3
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> DEBUG: Parsing...
> DEBUG: Parsed protocol: 0
> DEBUG: Parsed host    : streamh1.nelonen.fi
> DEBUG: Parsed app     : hot
> DEBUG: Protocol : RTMP
> DEBUG: Hostname : streamh1.nelonen.fi
> DEBUG: Port     : 1935
> DEBUG: Playpath : mp4:263328.mp4
> DEBUG: tcUrl    : rtmp://streamh1.nelonen.fi:1935/hot
> DEBUG: app      : hot
> 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 : 96850052
> DEBUG: HandShake: FMS Version   : 3.0.1.1
> DEBUG: HandShake: Handshaking finished....
> DEBUG: RTMP_Connect1, handshaked
> DEBUG2: RTMP_SendPacket: fd=4, size=205
> DEBUG2:   0000:  03 00 00 00 00 00 cd 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 03 68 6f 74 00
> ......app...hot.
> DEBUG2:   0020:  08 66 6c 61 73 68 56 65  72 02 00 0e 4c 4e 58 20
> .flashVer...LNX
> DEBUG2:   0030:  31 30 2c 30 2c 33 32 2c  31 38 00 05 74 63 55 72
> 10,0,32,18..tcUr
> DEBUG2:   0040:  6c 02 00 23 72 74 6d 70  3a 2f 2f 73 74 72 65 61
> l..#rtmp://strea
> DEBUG2:   0050:  6d 68 31 2e 6e 65 6c 6f  6e 65 6e 2e 66 69 3a 31
> mh1.nelonen.fi:1
> DEBUG2:   0060:  39 33 35 2f 68 6f 74 00  04 66 70 61 64 01 00 00
> 935/hot..fpad...
> DEBUG2:   0070:  0c 63 61 70 61 62 69 6c  69 74 69 65 73 00 40 2e
> .capabilities. at .
> DEBUG2:   0000:  c3                                                 .
>
> DEBUG2:   0000:  00 00 00 00 00 00 00 0b  61 75 64 69 6f 43 6f 64
> ........audioCod
> DEBUG2:   0010:  65 63 73 00 40 a8 ee 00  00 00 00 00 00 0b 76 69
> ecs. at .........vi
> DEBUG2:   0020:  64 65 6f 43 6f 64 65 63  73 00 40 6f 80 00 00 00
> deoCodecs. at o....
> DEBUG2:   0030:  00 00 00 0d 76 69 64 65  6f 46 75 6e 63 74 69 6f
> ....videoFunctio
> DEBUG2:   0040:  6e 00 3f f0 00 00 00 00  00 00 00 00 09
> n.?..........
> DEBUG: Invoking connect
> INFO: Connected...
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00
> ............
> DEBUG2:   0000:  00 26 25 a0                                        .&%.
>
> DEBUG: HandleServerBW: server BW = 2500000
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00
> ............
> DEBUG2:   0000:  00 26 25 a0 02
> .&%..
> DEBUG: HandleClientBW: client BW = 2500000 2
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 06 04  00 00 00 00
> ............
> DEBUG2:   0000:  00 00 00 00 00 00
> ......
> DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
> DEBUG: HandleCtrl, Stream Begin 0
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 04 01  00 00 00 00
> ............
> DEBUG2:   0000:  00 00 10 00                                        ....
>
> DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  03 00 00 00 00 01 03 14  00 00 00 00
> ............
> DEBUG2:   0000:  02 00 07 5f 72 65 73 75  6c 74 00 3f f0 00 00 00
> ..._result.?....
> DEBUG2:   0010:  00 00 00 03 00 06 66 6d  73 56 65 72 02 00 0d 46
> ......fmsVer...F
> DEBUG2:   0020:  4d 53 2f 33 2c 35 2c 32  2c 36 35 34 00 0c 63 61
> MS/3,5,2,654..ca
> DEBUG2:   0030:  70 61 62 69 6c 69 74 69  65 73 00 40 3f 00 00 00
> pabilities.@?...
> DEBUG2:   0040:  00 00 00 00 04 6d 6f 64  65 00 3f f0 00 00 00 00
> .....mode.?.....
> DEBUG2:   0050:  00 00 00 00 09 03 00 05  6c 65 76 65 6c 02 00 06
> ........level...
> DEBUG2:   0060:  73 74 61 74 75 73 00 04  63 6f 64 65 02 00 1d 4e
> status..code...N
> DEBUG2:   0070:  65 74 43 6f 6e 6e 65 63  74 69 6f 6e 2e 43 6f 6e
> etConnection.Con
> DEBUG2:   0080:  6e 65 63 74 2e 53 75 63  63 65 73 73 00 0b 64 65
> nect.Success..de
> DEBUG2:   0090:  73 63 72 69 70 74 69 6f  6e 02 00 15 43 6f 6e 6e
> scription...Conn
> DEBUG2:   00a0:  65 63 74 69 6f 6e 20 73  75 63 63 65 65 64 65 64
> ection succeeded
> DEBUG2:   00b0:  2e 00 04 64 61 74 61 08  00 00 00 00 00 07 76 65
> ...data.......ve
> DEBUG2:   00c0:  72 73 69 6f 6e 02 00 09  33 2c 35 2c 32 2c 36 35
> rsion...3,5,2,65
> DEBUG2:   00d0:  34 00 00 09 00 08 63 6c  69 65 6e 74 69 64 00 41
> 4.....clientid.A
> DEBUG2:   00e0:  c1 e4 24 27 00 00 00 00  0e 6f 62 6a 65 63 74 45
> ..$'.....objectE
> DEBUG2:   00f0:  6e 63 6f 64 69 6e 67 00  00 00 00 00 00 00 00 00
> ncoding.........
> DEBUG2:   0100:  00 00 09                                           ...
>
> DEBUG: RTMP_ClientPacket, received: invoke 259 bytes
> DEBUG: (object begin)
> DEBUG: Property: <Name:           no-name., STRING:	_result>
> DEBUG: Property: <Name:           no-name., NUMBER:	1.00>
> DEBUG: Property: <Name:           no-name., OBJECT>
> DEBUG: (object begin)
> DEBUG: Property: <Name:             fmsVer, STRING:	FMS/3,5,2,654>
> DEBUG: Property: <Name:       capabilities, NUMBER:	31.00>
> DEBUG: Property: <Name:               mode, NUMBER:	1.00>
> DEBUG: (object end)
> DEBUG: Property: <Name:           no-name., OBJECT>
> 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:               data, OBJECT>
> DEBUG: (object begin)
> DEBUG: Property: <Name:            version, STRING:	3,5,2,654>
> DEBUG: (object end)
> DEBUG: Property: <Name:           clientid, NUMBER:	600328270.00>
> DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
> DEBUG: (object end)
> DEBUG: (object end)
> DEBUG: HandleInvoke, server invoking <_result>
> segmentation fault
>
> also i have tested this
>
> rtmpdump --rtmp "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4" -o
> filename.flv
> RTMPDump v2.3
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> Connecting ...
> INFO: Connected...
> segmentation fault
>
> rtmpdump --debug --rtmp "rtmp://streamh1.nelonen.fi/hot/mp4:263328.mp4"
> -o filename.flv
> RTMPDump v2.3
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> DEBUG: Parsing...
> DEBUG: Parsed protocol: 0
> DEBUG: Parsed host    : streamh1.nelonen.fi
> DEBUG: Parsed app     : hot
> DEBUG: Protocol : RTMP
> DEBUG: Hostname : streamh1.nelonen.fi
> DEBUG: Port     : 1935
> DEBUG: Playpath : mp4:263328.mp4
> DEBUG: tcUrl    : rtmp://streamh1.nelonen.fi:1935/hot
> DEBUG: app      : hot
> 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 : 96850052
> DEBUG: HandShake: FMS Version   : 3.0.1.1
> DEBUG: HandShake: Handshaking finished....
> DEBUG: RTMP_Connect1, handshaked
> DEBUG2: RTMP_SendPacket: fd=4, size=205
> DEBUG2:   0000:  03 00 00 00 00 00 cd 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 03 68 6f 74 00
> ......app...hot.
> DEBUG2:   0020:  08 66 6c 61 73 68 56 65  72 02 00 0e 4c 4e 58 20
> .flashVer...LNX
> DEBUG2:   0030:  31 30 2c 30 2c 33 32 2c  31 38 00 05 74 63 55 72
> 10,0,32,18..tcUr
> DEBUG2:   0040:  6c 02 00 23 72 74 6d 70  3a 2f 2f 73 74 72 65 61
> l..#rtmp://strea
> DEBUG2:   0050:  6d 68 31 2e 6e 65 6c 6f  6e 65 6e 2e 66 69 3a 31
> mh1.nelonen.fi:1
> DEBUG2:   0060:  39 33 35 2f 68 6f 74 00  04 66 70 61 64 01 00 00
> 935/hot..fpad...
> DEBUG2:   0070:  0c 63 61 70 61 62 69 6c  69 74 69 65 73 00 40 2e
> .capabilities. at .
> DEBUG2:   0000:  c3                                                 .
>
> DEBUG2:   0000:  00 00 00 00 00 00 00 0b  61 75 64 69 6f 43 6f 64
> ........audioCod
> DEBUG2:   0010:  65 63 73 00 40 a8 ee 00  00 00 00 00 00 0b 76 69
> ecs. at .........vi
> DEBUG2:   0020:  64 65 6f 43 6f 64 65 63  73 00 40 6f 80 00 00 00
> deoCodecs. at o....
> DEBUG2:   0030:  00 00 00 0d 76 69 64 65  6f 46 75 6e 63 74 69 6f
> ....videoFunctio
> DEBUG2:   0040:  6e 00 3f f0 00 00 00 00  00 00 00 00 09
> n.?..........
> DEBUG: Invoking connect
> INFO: Connected...
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00
> ............
> DEBUG2:   0000:  00 26 25 a0                                        .&%.
>
> DEBUG: HandleServerBW: server BW = 2500000
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00
> ............
> DEBUG2:   0000:  00 26 25 a0 02
> .&%..
> DEBUG: HandleClientBW: client BW = 2500000 2
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 06 04  00 00 00 00
> ............
> DEBUG2:   0000:  00 00 00 00 00 00
> ......
> DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
> DEBUG: HandleCtrl, Stream Begin 0
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  02 00 00 00 00 00 04 01  00 00 00 00
> ............
> DEBUG2:   0000:  00 00 10 00                                        ....
>
> DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
> DEBUG2: RTMP_ReadPacket: fd=4
> DEBUG2:   0000:  03 00 00 00 00 01 03 14  00 00 00 00
> ............
> DEBUG2:   0000:  02 00 07 5f 72 65 73 75  6c 74 00 3f f0 00 00 00
> ..._result.?....
> DEBUG2:   0010:  00 00 00 03 00 06 66 6d  73 56 65 72 02 00 0d 46
> ......fmsVer...F
> DEBUG2:   0020:  4d 53 2f 33 2c 35 2c 32  2c 36 35 34 00 0c 63 61
> MS/3,5,2,654..ca
> DEBUG2:   0030:  70 61 62 69 6c 69 74 69  65 73 00 40 3f 00 00 00
> pabilities.@?...
> DEBUG2:   0040:  00 00 00 00 04 6d 6f 64  65 00 3f f0 00 00 00 00
> .....mode.?.....
> DEBUG2:   0050:  00 00 00 00 09 03 00 05  6c 65 76 65 6c 02 00 06
> ........level...
> DEBUG2:   0060:  73 74 61 74 75 73 00 04  63 6f 64 65 02 00 1d 4e
> status..code...N
> DEBUG2:   0070:  65 74 43 6f 6e 6e 65 63  74 69 6f 6e 2e 43 6f 6e
> etConnection.Con
> DEBUG2:   0080:  6e 65 63 74 2e 53 75 63  63 65 73 73 00 0b 64 65
> nect.Success..de
> DEBUG2:   0090:  73 63 72 69 70 74 69 6f  6e 02 00 15 43 6f 6e 6e
> scription...Conn
> DEBUG2:   00a0:  65 63 74 69 6f 6e 20 73  75 63 63 65 65 64 65 64
> ection succeeded
> DEBUG2:   00b0:  2e 00 04 64 61 74 61 08  00 00 00 00 00 07 76 65
> ...data.......ve
> DEBUG2:   00c0:  72 73 69 6f 6e 02 00 09  33 2c 35 2c 32 2c 36 35
> rsion...3,5,2,65
> DEBUG2:   00d0:  34 00 00 09 00 08 63 6c  69 65 6e 74 69 64 00 41
> 4.....clientid.A
> DEBUG2:   00e0:  ab 3e 48 72 00 00 00 00  0e 6f 62 6a 65 63 74 45
> .>Hr.....objectE
> DEBUG2:   00f0:  6e 63 6f 64 69 6e 67 00  00 00 00 00 00 00 00 00
> ncoding.........
> DEBUG2:   0100:  00 00 09                                           ...
>
> DEBUG: RTMP_ClientPacket, received: invoke 259 bytes
> DEBUG: (object begin)
> DEBUG: Property: <Name:           no-name., STRING:	_result>
> DEBUG: Property: <Name:           no-name., NUMBER:	1.00>
> DEBUG: Property: <Name:           no-name., OBJECT>
> DEBUG: (object begin)
> DEBUG: Property: <Name:             fmsVer, STRING:	FMS/3,5,2,654>
> DEBUG: Property: <Name:       capabilities, NUMBER:	31.00>
> DEBUG: Property: <Name:               mode, NUMBER:	1.00>
> DEBUG: (object end)
> DEBUG: Property: <Name:           no-name., OBJECT>
> 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:               data, OBJECT>
> DEBUG: (object begin)
> DEBUG: Property: <Name:            version, STRING:	3,5,2,654>
> DEBUG: (object end)
> DEBUG: Property: <Name:           clientid, NUMBER:	228533305.00>
> DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
> DEBUG: (object end)
> DEBUG: (object end)
> DEBUG: HandleInvoke, server invoking <_result>
> segmentation fault
> _______________________________________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>


More information about the rtmpdump mailing list