[FFmpeg-trac] #5564(undetermined:new): It is impossible to create complex rtmp_conn parameter
FFmpeg
trac at avcodec.org
Tue May 17 13:05:27 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):
Not sure what is wrong with command ...
Maybe some redundant options were used
here is the updated command with "simple" connection parameter
{{{
ffmpeg -i /home/solomax/Downloads/Avengers2.mp4 -vcodec flv -f flv
-rtmp_conn S:code rtmp://localhost: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
[flv @ 0x3d8aee0] Using AVStream.codec to pass codec parameters to muxers
is deprecated, use AVStream.codecpar instead.
Last message repeated 1 times
Output #0, flv, to 'rtmp://localhost:1935/openmeetings/5/666':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.34.103
Stream #0:0(und): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p,
720x480 [SAR 1280:1071 DAR 640:357], q=2-31, 200 kb/s, 16 fps, 1k tbn
(default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.38.100 flv
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz,
stereo, fltp (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc57.38.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[flv @ 0x3d8aee0] Failed to update header with correct duration.ate=
512.2kbits/s speed=25.9x
[flv @ 0x3d8aee0] Failed to update header with correct filesize.
frame= 2451 fps=422 q=31.0 Lsize= 9276kB time=00:02:33.12 bitrate=
496.3kbits/s speed=26.4x
video:6753kB audio:2393kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 1.424466%
}}}
red5 server reports error in case "simple" parameter is being changed to
"complex" one: i.e. -rtmp_conn NN:code:1.23 instead of -rtmp_conn S:code
Wireshark also detects no additional parameters in connect params map
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5564#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list