Answer for How to: Speex in RTMP stream and HLS
Written by dan-daemon on . Posted in
And I did same under debug mode:
evo-avconv -loglevel debug -i rtmp://x.x.x.x/live/mystream -b:v 100k -s 320x240 -c:v libx264 -b:a 8k -ac 1 -ar 8k -c:a libfaac streamNam
avconv version v9-1482-gee16a0c, Copyright (c) 2000-2013 the Libav developers
built on Jun 17 2013 04:12:21 with gcc 4.4.6 (GCC) 20110731 (Red Hat 4.4.6-3)
configuration: --extra-cflags=-I/tmp/workspace/libav_unix/label/CentOS_6.2_64bit/builders/libav/tmp/out/include --extra-ldflags=-L/tmp/workspace/libav_unix/label/CentOS_6.2_64bit/builders/libav/tmp/out/lib --extra-libs='"-ldl"' --enable-gpl --enable-nonfree --disable-outdevs --disable-indevs --enable-libx264 --enable-libfaac --prefix=/tmp/workspace/libav_unix/label/CentOS_6.2_64bit/builders/libav/tmp/out
libavutil 52. 13. 0 / 52. 13. 0
libavcodec 55. 9. 0 / 55. 9. 0
libavformat 55. 1. 0 / 55. 1. 0
libavdevice 54. 0. 0 / 54. 0. 0
libavfilter 3. 10. 0 / 3. 10. 0
libavresample 1. 1. 0 / 1. 1. 0
libswscale 2. 1. 2 / 2. 1. 2
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'rtmp://x.x.x.x/live/mystream'.
Reading option '-b:v' ... matched as AVOption 'b:v' with argument '100k'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '320x240'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-b:a' ... matched as AVOption 'b:a' with argument '8k'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '1'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '8k'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libfaac'.
Reading option 'streamName=s' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set libav* logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file rtmp://x.x.x.x/live/mystream.
Successfully parsed a group of options.
Opening an input file: rtmp://x.x.x.x/live/mystream.
[rtmp @ 0x1b2dec0] Handshaking...
[rtmp @ 0x1b2dec0] Type answer 3
[rtmp @ 0x1b2dec0] Server version 0.0.0.0
[rtmp @ 0x1b2dec0] Proto = rtmp, path = /live/mystream, app = live, fname = mystream
[rtmp @ 0x1b2dec0] Server bandwidth = 1048576
[rtmp @ 0x1b2dec0] Client bandwidth = 2500000
[rtmp @ 0x1b2dec0] Creating stream...
[rtmp @ 0x1b2dec0] Sending play command for 'mystream'
[rtmp @ 0x1b2dec0] Server error: call to function _checkbw failed
[flv @ 0x1b2d980] Probed with size=2048 and score=100
[flv @ 0x1b2d980] skipping flv packet: type 18, size 209, flags 0
[h264 @ 0x1b2ec40] Frame num gap 14 12
[flv @ 0x1b2d980] max_analyze_duration reached
[flv @ 0x1b2d980] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://x.x.x.x/live/mystream':
Metadata:
Server : EvoStream Media Server (www.evostream.com)
avclevel : 21
avcprofile : 66
bandwidth : 0
videoframerate : 10
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0, 48, 1/1000: Video: h264 (Baseline), yuv420p, 480x360 [PAR 1:1 DAR 4:3], 1/20, 9.17 fps, 1k tbn, 20 tbc
Stream #0.1, 52, 1/1000: Audio: [0][0][0][0] / 0x0000, 16000 Hz, mono
Successfully opened the file.
Parsing a group of options: output file streamName=s.
Applying option s (set frame size (WxH or abbreviation)) with argument 320x240.
Applying option c:v (codec name) with argument libx264.
Applying option ac (set number of audio channels) with argument 1.
Applying option ar (set audio sampling rate (in Hz)) with argument 8k.
Applying option c:a (codec name) with argument libfaac.
Successfully parsed a group of options.
Opening an output file: streamName=s.
Unable to find a suitable output format for 'streamName=s'
[rtmp @ 0x1b2dec0] Deleting stream...