Guest User

ffmpeg skips streaming

a guest
Nov 26th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.46 KB | None | 0 0
  1.  
  2. ####
  3. #### SCRIPT
  4. ####
  5.  
  6. ffmpeg \
  7. -loglevel debug \
  8. -f lavfi -i smptebars \
  9. -codec:v libx264 \
  10. -codec:a libfaac \
  11. -f flv \
  12. http://192.168.1.117:8090/feed1.ffm2
  13.  
  14.  
  15.  
  16. ####
  17. #### OUTPUT
  18. ####
  19.  
  20. root@5ddd5bb87799:/tmp# ffmpeg version git-2014-06-16-389d453 Copyright (c) 2000-2014 the FFmpeg developers
  21. built on Jun 16 2014 19:03:15 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  22. 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
  23. libavutil 52. 89.100 / 52. 89.100
  24. libavcodec 55. 67.100 / 55. 67.100
  25. libavformat 55. 43.100 / 55. 43.100
  26. libavdevice 55. 13.101 / 55. 13.101
  27. libavfilter 4. 8.100 / 4. 8.100
  28. libswscale 2. 6.100 / 2. 6.100
  29. libswresample 0. 19.100 / 0. 19.100
  30. libpostproc 52. 3.100 / 52. 3.100
  31. Splitting the commandline.
  32. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
  33. Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
  34. Reading option '-i' ... matched as input file with argument 'smptebars'.
  35. Reading option '-codec:v' ... matched as option 'codec' (codec name) with argument 'libx264'.
  36. Reading option '-codec:a' ... matched as option 'codec' (codec name) with argument 'libfaac'.
  37. Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
  38. Reading option 'http://192.168.1.117:8090/feed1.ffm2' ... matched as output file.
  39. Finished splitting the commandline.
  40. Parsing a group of options: global .
  41. Applying option loglevel (set logging level) with argument debug.
  42. Successfully parsed a group of options.
  43. Parsing a group of options: input file smptebars.
  44. Applying option f (force format) with argument lavfi.
  45. Successfully parsed a group of options.
  46. Opening an input file: smptebars.
  47. detected 4 logical cores
  48. [Parsed_smptebars_0 @ 0x3b605e0] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
  49. [AVFilterGraph @ 0x3b60320] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
  50. [lavfi @ 0x3b60c20] All info found
  51. Input #0, lavfi, from 'smptebars':
  52. Duration: N/A, start: 0.000000, bitrate: N/A
  53. 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
  54. Successfully opened the file.
  55. Parsing a group of options: output file http://192.168.1.117:8090/feed1.ffm2.
  56. Applying option codec:v (codec name) with argument libx264.
  57. Applying option codec:a (codec name) with argument libfaac.
  58. Applying option f (force format) with argument flv.
  59. Successfully parsed a group of options.
  60. Opening an output file: http://192.168.1.117:8090/feed1.ffm2.
  61. [http @ 0x3ba2800] request: POST /feed1.ffm2 HTTP/1.1
  62. Transfer-Encoding: chunked
  63. User-Agent: Lavf/55.43.100
  64. Accept: */*
  65. Connection: close
  66. Host: 192.168.1.117:8090
  67.  
  68.  
  69. Successfully opened the file.
  70. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'video_size' to value '320x240'
  71. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'pix_fmt' to value '0'
  72. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'time_base' to value '1/25'
  73. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'pixel_aspect' to value '1/1'
  74. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'sws_param' to value 'flags=2'
  75. [graph 0 input from stream 0:0 @ 0x3b57d80] Setting 'frame_rate' to value '25/1'
  76. [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
  77. [format @ 0x3b60860] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16]
  78. [format @ 0x3b60860] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16'
  79. [AVFilterGraph @ 0x3b4fe00] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
  80. [libx264 @ 0x3b9f6c0] using mv_range_thread = 24
  81. [libx264 @ 0x3b9f6c0] using SAR=1/1
  82. [libx264 @ 0x3b9f6c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
  83. [libx264 @ 0x3b9f6c0] profile High, level 1.3
  84. [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
  85. Output #0, flv, to 'http://192.168.1.117:8090/feed1.ffm2':
  86. Metadata:
  87. encoder : Lavf55.43.100
  88. 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
  89. Metadata:
  90. encoder : Lavc55.67.100 libx264
  91. Stream mapping:
  92. Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  93. Press [q] to stop, [?] for help
  94. [libx264 @ 0x3b9f6c0] frame= 0 QP=10.76 NAL=3 Slice:I Poc:0 I:300 P:0 SKIP:0 size=714 bytes
  95. [libx264 @ 0x3b9f6c0] frame= 1 QP=11.33 NAL=2 Slice:P Poc:8 I:0 P:14 SKIP:286 size=37 bytes
  96. [libx264 @ 0x3b9f6c0] frame= 2 QP=12.00 NAL=2 Slice:B Poc:4 I:0 P:0 SKIP:300 size=14 bytes
  97. root@5ddd5bb87799:/tmp#
Add Comment
Please, Sign In to add comment