#### #### SCRIPT #### ffmpeg \ -loglevel debug \ -f lavfi -i smptebars \ -codec:v libx264 \ -codec:a libfaac \ -f flv \ http://192.168.1.117:8090/feed1.ffm2 #### #### OUTPUT #### root@5ddd5bb87799:/tmp# ffmpeg version git-2014-06-16-389d453 Copyright (c) 2000-2014 the FFmpeg developers built on Jun 16 2014 19:03:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree libavutil 52. 89.100 / 52. 89.100 libavcodec 55. 67.100 / 55. 67.100 libavformat 55. 43.100 / 55. 43.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 8.100 / 4. 8.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 Splitting the commandline. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'. Reading option '-i' ... matched as input file with argument 'smptebars'. Reading option '-codec:v' ... matched as option 'codec' (codec name) with argument 'libx264'. Reading option '-codec:a' ... matched as option 'codec' (codec name) with argument 'libfaac'. Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'. Reading option 'http://192.168.1.117:8090/feed1.ffm2' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input file smptebars. Applying option f (force format) with argument lavfi. Successfully parsed a group of options. Opening an input file: smptebars. detected 4 logical cores [Parsed_smptebars_0 @ 0x3b605e0] size:320x240 rate:25/1 duration:-1.000000 sar:1/1 [AVFilterGraph @ 0x3b60320] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed [lavfi @ 0x3b60c20] All info found Input #0, lavfi, from 'smptebars': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0, 1, 1/25: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 1/25, 25 tbr, 25 tbn, 25 tbc Successfully opened the file. Parsing a group of options: output file http://192.168.1.117:8090/feed1.ffm2. Applying option codec:v (codec name) with argument libx264. Applying option codec:a (codec name) with argument libfaac. Applying option f (force format) with argument flv. Successfully parsed a group of options. Opening an output file: http://192.168.1.117:8090/feed1.ffm2. [http @ 0x3ba2800] request: POST /feed1.ffm2 HTTP/1.1 Transfer-Encoding: chunked User-Agent: Lavf/55.43.100 Accept: */* Connection: close Host: 192.168.1.117:8090 Successfully opened the file. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'video_size' to value '320x240' [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x3b57d80] w:320 h:240 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2 [format @ 0x3b60860] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16] [format @ 0x3b60860] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16' [AVFilterGraph @ 0x3b4fe00] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed [libx264 @ 0x3b9f6c0] using mv_range_thread = 24 [libx264 @ 0x3b9f6c0] using SAR=1/1 [libx264 @ 0x3b9f6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x3b9f6c0] profile High, level 1.3 [libx264 @ 0x3b9f6c0] 264 - core 142 r2 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, flv, to 'http://192.168.1.117:8090/feed1.ffm2': Metadata: encoder : Lavf55.43.100 Stream #0:0, 0, 1/1000: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 1/25, q=-1--1, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc55.67.100 libx264 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x3b9f6c0] frame= 0 QP=10.76 NAL=3 Slice:I Poc:0 I:300 P:0 SKIP:0 size=714 bytes [libx264 @ 0x3b9f6c0] frame= 1 QP=11.33 NAL=2 Slice:P Poc:8 I:0 P:14 SKIP:286 size=37 bytes [libx264 @ 0x3b9f6c0] frame= 2 QP=12.00 NAL=2 Slice:B Poc:4 I:0 P:0 SKIP:300 size=14 bytes root@5ddd5bb87799:/tmp#