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

FFmpeg trac at avcodec.org
Tue May 17 10:10:44 CEST 2016


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

 According to the documentation [1] it should be possible to add additional
 RTMP connection parameters using -rtmp_conn "NN:code:1.23 NS:flag:ok",
 Actually these parameters are not being added to RTMP connection parameter
 map (tested with Wireshark and red5 server)

 parameters goes to plain params array

 same time simple options like -rtmp_conn S:test_string works as expected

 issue was marked as important due to it's important for our project to be
 able to add custom properties to the connection parameter map

 [1] https://ffmpeg.org/ffmpeg-protocols.html#rtmp

 How to reproduce:
 {{{
 % ffmpeg -y -i /home/solomax/Downloads/Avengers2.mp4 -s 640x480 -an
 -vcodec flv -f flv -rtmp_conn NN:code:1.23
 rtmp://localhost:1935/openmeetings/5/666

 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
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list