[FFmpeg-trac] #5564(undetermined:new): It is impossible to create complex rtmp_conn parameter

FFmpeg trac at avcodec.org
Tue May 17 17:29:35 CEST 2016


#5564: It is impossible to create complex rtmp_conn parameter
-------------------------------------+-------------------------------------
             Reporter:  solomax      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  rtmp         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by solomax):

 sorry, I thought it is trivial to change one parameter with another ..
 {{{
 ffmpeg -i /home/solomax/Downloads/Avengers2.mp4 -vcodec flv -f flv
 -rtmp_conn NN:code:1.23 rtmp://192.168.15.177:1935/openmeetings/5/666
 }}}
 output
 {{{
 ffmpeg version N-79632-g3ce1988 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2) 20160413
   configuration: --prefix=/home/solomax/ffmpeg_build --pkg-config-
 flags=--static --extra-cflags=-I/home/solomax/ffmpeg_build/include
 --extra-ldflags=-L/home/solomax/ffmpeg_build/lib
 --bindir=/home/solomax/bin --enable-gpl --enable-libass --enable-libfdk-
 aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-
 libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libx265 --enable-nonfree
   libavutil      55. 22.101 / 55. 22.101
   libavcodec     57. 38.100 / 57. 38.100
   libavformat    57. 34.103 / 57. 34.103
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 44.100 /  6. 44.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/home/solomax/Downloads/Avengers2.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf56.15.102
   Duration: 00:02:33.19, start: 0.000000, bitrate: 729 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 720x480 [SAR 1280:1071 DAR 640:357], 597 kb/s, 16 fps, 16 tbr, 16384 tbn
 (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 128 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 rtmp://192.168.15.177:1935/openmeetings/5/666: Input/output error

 }}}

 here is Wireshark decoded message:
 {{{
 Frame 16: 260 bytes on wire (2080 bits), 260 bytes captured (2080 bits) on
 interface 0
 Linux cooked capture
 Internet Protocol Version 4, Src: 10.8.72.21, Dst: 192.168.15.177
 Transmission Control Protocol, Src Port: 48870 (48870), Dst Port: 1935
 (1935), Seq: 3074, Ack: 3074, Len: 192
 Real Time Messaging Protocol (AMF0 Command connect('openmeetings/5'))
     RTMP Header
     RTMP Body
         String 'connect'
         Number 1
         Object (4 items)
             AMF0 type: Object (0x03)
             Property 'app' String 'openmeetings/5'
             Property 'type' String 'nonprivate'
             Property 'flashVer' String 'FMLE/3.0 (compatible;
 Lavf57.34.103)'
             Property 'tcUrl' String
 'rtmp://192.168.15.177:1935/openmeetings/5'
             End Of Object Marker
         Number 1.59544376928632e-287
             AMF0 type: Number (0x00)
             Number: 1.59544376928632e-287
         Unknown
             AMF0 type: Unknown (0xae)
 }}}
 as you can see "NN:code:1.23" is not being treated as "named parameter of
 number type with name 'code' and value 1.23", but being written in weird
 form as parameter without a name

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5564#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list