[Libav-user] can't decode RTMP stream from FMS

Mike Versteeg mike at mikeversteeg.com
Wed Jul 24 10:50:04 CEST 2013


Same stream from Wowza server works fine, but when using Adobe FMS I
keep getting the same error (note it works fine in a flash player).

Here's the output of the latest git, anyone have an idea?

ffmpeg version N-54901-g55db06a Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 23 2013 18:01:29 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 19.100 / 55. 19.100
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.102 /  3. 81.102
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Parsing...
Parsed protocol: 0
Parsed host    : [removed for privacy reasons]
Parsed app     : vidlivestream/_definst_/stream
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer   : 03
HandShake: Server Uptime : 506058230
HandShake: FMS Version   : 4.5.5.1
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
Invoking connect
HandleServerBW: server BW = 1250000
HandleClientBW: client BW = 1250000 2
HandleChangeChunkSize, received: chunk size change to 1024
HandleCtrl, received ctrl. type: 6, len: 6
HandleCtrl, Ping 506058630
sending ctrl. type: 0x0007
RTMP_ClientPacket, received: invoke 242 bytes
(object begin)
Property: <Name:           no-name., STRING:    _result>
Property: <Name:           no-name., NUMBER:    1.00>
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:             fmsVer, STRING:    FMS/4,5,5,4013>
Property: <Name:       capabilities, NUMBER:    255.00>
Property: <Name:               mode, NUMBER:    1.00>
(object end)
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:              level, STRING:    status>
Property: <Name:               code, STRING:    NetConnection.Connect.Success>
Property: <Name:        description, STRING:    Connection succeeded.>
Property: <Name:     objectEncoding, NUMBER:    0.00>
Property: <Name:               data, ECMA_ARRAY>
(object begin)
Property: <Name:            version, STRING:    4,5,5,4013>
(object end)
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
sending ctrl. type: 0x0003
Invoking createStream
RTMP_ClientPacket, received: invoke 21 bytes
(object begin)
Property: <Name:           no-name., STRING:    onBWDone>
Property: <Name:           no-name., NUMBER:    0.00>
Property: NULL
(object end)
HandleInvoke, server invoking <onBWDone>
Invoking _checkbw
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name:           no-name., STRING:    _result>
Property: <Name:           no-name., NUMBER:    2.00>
Property: NULL
Property: <Name:           no-name., NUMBER:    1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
SendPlay, seekTime=0, stopTime=0, sending play: test
Invoking play
sending ctrl. type: 0x0003
RTMP_ClientPacket, received: invoke 16419 bytes
(object begin)
Property: <Name:           no-name., STRING:    _onbwcheck>
Property: <Name:           no-name., NUMBER:    2147483655.00>
Property: NULL
Property: <Name:           no-name., STRING:    z ]   ! , 3 \ - . ' H g 4 9 . {
j s 2 O < ? T = > K H 7 ~ + $ K Z #   ! v 1 < m N % h 9 n G t % J M p 1 f # t %
^ u ( I ^ ) < 5 : ? @ a V O < S n [ * y N y T e * 3 P 1 F ! 6 #   + ( w > W \ -
: = ` _ 6 q $ - 0 e x G . ' 4 [ * / 0 / & _ l ] @ k 8 )v>
Property: <Name:           no-name., NUMBER:    0.00>
(object end)
HandleInvoke, server invoking <_onbwcheck>
Invoking _result
HandleChangeChunkSize, received: chunk size change to 1024
RTMP_ClientPacket, received: invoke 142 bytes
(object begin)
Property: <Name:           no-name., STRING:    onStatus>
Property: <Name:           no-name., NUMBER:    105.00>
Property: NULL
Property: <Name:           no-name., OBJECT>
(object begin)
Property: <Name:              level, STRING:    error>
Property: <Name:               code, STRING:    NetStream.Play.Failed>
Property: <Name:        description, STRING:    Read access denied for stream te
st.>
Property: <Name:           clientid, STRING:    pAAnAAAA>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Play.Failed
Closing connection: NetStream.Play.Failed

Mike


More information about the Libav-user mailing list