Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.28 KB | None | 0 0
  1. uRMC:~# ffmpeg -v debug -f v4l2 -input_format mjpeg -r 10 -s 640x480 -i /dev/video0 -c:v copy -f ffm http://192.168.100.220:8090/feed1.ffm
  2. ffmpeg version 2.5.4 Copyright (c) 2000-2015 the FFmpeg developers
  3. built on Nov 24 2015 13:26:14 with gcc 4.8.4 (Buildroot 2015.05-git-00569-gc967551-dirty)
  4. configuration: --enable-cross-compile --cross-prefix=/home/user/dev/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi- --sysroot=/home/user/dev/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/user/dev/buildroot/output/host/usr/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --disable-x11grab --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-vdpau --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-memalign-hack --enable-hwaccels --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libdc1394 --disable-libfaac --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --enable-nonfree --enable-ffmpeg --disable-ffplay --disable-ffserver --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --disable-encoders --enable-encoder=ac3 --enable-encoder=zlib --enable-encoder=libvorbis --enable-encoder=pcm_u8 --enable-encoder=pcm_u16le --enable-encoder=libvo_aacenc --enable-encoder=mjpeg --disable-decoders --enable-decoder=png --enable-decoder=pcm_s16le --enable-decoder=mjpeg --disable-parsers --disable-bsfs --enable-indevs --disable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --enable-openssl --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis --disable-vaapi --disable-libopus --disable-libvpx --disable-libfreetype --disable-fontconfig --disable-libx264 --disable-yasm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-armv6 --disable-armv6t2 --disable-vfp --enable-mipsfpu --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-altivec --enable-pic --disable-asm --enable-libvo-aacenc --enable-version3 --enable-openssl --cpu=arm926ej-s
  5. libavutil 54. 15.100 / 54. 15.100
  6. libavcodec 56. 13.100 / 56. 13.100
  7. libavformat 56. 15.102 / 56. 15.102
  8. libavdevice 56. 3.100 / 56. 3.100
  9. libavfilter 5. 2.103 / 5. 2.103
  10. libswscale 3. 1.101 / 3. 1.101
  11. libswresample 1. 1.100 / 1. 1.100
  12. Splitting the commandline.
  13. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
  14. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
  15. Reading option '-input_format' ... matched as AVOption 'input_format' with argument 'mjpeg'.
  16. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '10'.
  17. Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '640x480'.
  18. Reading option '-i' ... matched as input file with argument '/dev/video0'.
  19. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
  20. Reading option '-f' ... matched as option 'f' (force format) with argument 'ffm'.
  21. Reading option 'http://192.168.100.220:8090/feed1.ffm' ... matched as output file.
  22. Finished splitting the commandline.
  23. Parsing a group of options: global .
  24. Applying option v (set logging level) with argument debug.
  25. Successfully parsed a group of options.
  26. Parsing a group of options: input file /dev/video0.
  27. Applying option f (force format) with argument v4l2.
  28. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 10.
  29. Applying option s (set frame size (WxH or abbreviation)) with argument 640x480.
  30. Successfully parsed a group of options.
  31. Opening an input file: /dev/video0.
  32. [video4linux2,v4l2 @ 0x5cfd0] fd:3 capabilities:84000001
  33. [video4linux2,v4l2 @ 0x5cfd0] Current input_channel: 0, input_name: Camera 1, input_std: 0
  34. [video4linux2,v4l2 @ 0x5cfd0] Setting time per frame to 1/10
  35. [mjpeg @ 0x5d860] marker=d8 avail_size_in_buf=64476
  36. [mjpeg @ 0x5d860] marker parser used 0 bytes (0 bits)
  37. [mjpeg @ 0x5d860] marker=db avail_size_in_buf=64474
  38. [mjpeg @ 0x5d860] index=0
  39. [mjpeg @ 0x5d860] qscale[0]: 2
  40. [mjpeg @ 0x5d860] index=1
  41. [mjpeg @ 0x5d860] qscale[1]: 4
  42. [mjpeg @ 0x5d860] marker parser used 132 bytes (1056 bits)
  43. [mjpeg @ 0x5d860] marker=c0 avail_size_in_buf=64340
  44. [mjpeg @ 0x5d860] sof0: picture: 640x480
  45. [mjpeg @ 0x5d860] component 0 2:1 id: 0 quant:0
  46. [mjpeg @ 0x5d860] component 1 1:1 id: 1 quant:1
  47. [mjpeg @ 0x5d860] component 2 1:1 id: 2 quant:1
  48. [mjpeg @ 0x5d860] pix fmt id 21111100
  49. [mjpeg @ 0x5d860] marker parser used 17 bytes (136 bits)
  50. [mjpeg @ 0x5d860] marker=dd avail_size_in_buf=64321
  51. [mjpeg @ 0x5d860] restart interval: 0
  52. [mjpeg @ 0x5d860] marker parser used 4 bytes (32 bits)
  53. [mjpeg @ 0x5d860] escaping removed 267 bytes
  54. [mjpeg @ 0x5d860] marker=da avail_size_in_buf=64315
  55. [mjpeg @ 0x5d860] component: 0
  56. [mjpeg @ 0x5d860] component: 1
  57. [mjpeg @ 0x5d860] component: 2
  58. [mjpeg @ 0x5d860] marker parser used 64047 bytes (512374 bits)
  59. [mjpeg @ 0x5d860] marker=d9 avail_size_in_buf=0
  60. [mjpeg @ 0x5d860] decode frame unused 0 bytes
  61. [video4linux2,v4l2 @ 0x5cfd0] All info found
  62. Input #0, video4linux2,v4l2, from '/dev/video0':
  63. Duration: N/A, start: 8374.452660, bitrate: N/A
  64. Stream #0:0, 1, 1/1000000: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown, center), 640x480, 1/1000000, -1 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
  65. Successfully opened the file.
  66. Parsing a group of options: output file http://192.168.100.220:8090/feed1.ffm.
  67. Applying option c:v (codec name) with argument copy.
  68. Applying option f (force format) with argument ffm.
  69. Successfully parsed a group of options.
  70. Opening an output file: http://192.168.100.220:8090/feed1.ffm.
  71. [http @ 0x5c9c0] request: GET /feed1.ffm HTTP/1.1
  72. User-Agent: Lavf/56.15.102
  73. Accept: */*
  74. Range: bytes=0-
  75. Connection: close
  76. Host: 192.168.100.220:8090
  77. Icy-MetaData: 1
  78.  
  79.  
  80. [http @ 0x5c9c0] header='HTTP/1.0 200 OK'
  81. [http @ 0x5c9c0] http_code=200
  82. [http @ 0x5c9c0] header='Pragma: no-cache'
  83. [http @ 0x5c9c0] header='Content-Type: application/x-octet-stream'
  84. [http @ 0x5c9c0] header=''
  85. [ffm @ 0x5ff10] Format ffm probed with size=2048 and score=101
  86. [NULL @ 0x632b0] Setting entry with key 'video_size' to value '640x480'
  87. [NULL @ 0x632b0] Setting entry with key 'b' to value '7000000'
  88. [NULL @ 0x632b0] Setting entry with key 'strict' to value '-1'
  89. [AVIOContext @ 0x61c80] Statistics: 4096 bytes read, 0 seeks
  90. [http @ 0x67710] request: POST /feed1.ffm HTTP/1.1
  91. Transfer-Encoding: chunked
  92. User-Agent: Lavf/56.15.102
  93. Accept: */*
  94. Connection: close
  95. Host: 192.168.100.220:8090
  96. Icy-MetaData: 1
  97.  
  98.  
  99. Successfully opened the file.
  100. detected 1 logical cores
  101. [graph 0 input from stream 0:0 @ 0x55110] Setting 'video_size' to value '640x480'
  102. [graph 0 input from stream 0:0 @ 0x55110] Setting 'pix_fmt' to value '13'
  103. [graph 0 input from stream 0:0 @ 0x55110] Setting 'time_base' to value '1/10'
  104. [graph 0 input from stream 0:0 @ 0x55110] Setting 'pixel_aspect' to value '0/1'
  105. [graph 0 input from stream 0:0 @ 0x55110] Setting 'sws_param' to value 'flags=2'
  106. [graph 0 input from stream 0:0 @ 0x55110] Setting 'frame_rate' to value '10/1'
  107. [graph 0 input from stream 0:0 @ 0x55110] w:640 h:480 pixfmt:yuvj422p tb:1/10 fr:10/1 sar:0/1 sws_param:flags=2
  108. [force CFR for input from stream 0:0 @ 0x5cc10] Setting 'expr' to value 'N'
  109. [scaler for output stream 0:0 @ 0x5ccd0] Setting 'w' to value '640'
  110. [scaler for output stream 0:0 @ 0x5ccd0] Setting 'h' to value '480'
  111. [scaler for output stream 0:0 @ 0x5ccd0] Setting 'flags' to value '0x4'
  112. [scaler for output stream 0:0 @ 0x5ccd0] w:640 h:480 flags:'0x4' interl:0
  113. [format @ 0x5cd70] compat: called with args=[yuvj420p|yuvj422p|yuv420p|yuv422p]
  114. [format @ 0x5cd70] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuv420p|yuv422p'
  115. [AVFilterGraph @ 0x5cac0] query_formats: 6 queried, 5 merged, 0 already done, 0 delayed
  116. [graph 0 input from stream 0:0 @ 0x55110] TB:0.100000 FRAME_RATE:10.000000 SAMPLE_RATE:nan
  117. [scaler for output stream 0:0 @ 0x5ccd0] w:640 h:480 fmt:yuvj422p sar:0/1 -> w:640 h:480 fmt:yuvj422p sar:0/1 flags:0x4
  118. [mjpeg @ 0x63f70] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
  119. [mjpeg @ 0x63f70] intra_quant_bias = 96 inter_quant_bias = 0
  120. Output #0, ffm, to 'http://192.168.100.220:8090/feed1.ffm':
  121. Metadata:
  122. creation_time : now
  123. encoder : Lavf56.15.102
  124. Stream #0:0, 0, 1/1000000: Video: mjpeg, yuvj422p(pc, center), 640x480, 1/10, q=2-31, 7000 kb/s, 10 fps, 1000k tbn, 10 tbc
  125. Metadata:
  126. encoder : Lavc56.13.100 mjpeg
  127. Stream mapping:
  128. Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
  129. Press [q] to stop, [?] for help
  130. [mjpeg @ 0x5ddc0] marker=d8 avail_size_in_buf=64476
  131. [mjpeg @ 0x5ddc0] marker parser used 0 bytes (0 bits)
  132. [mjpeg @ 0x5ddc0] marker=db avail_size_in_buf=64474
  133. [mjpeg @ 0x5ddc0] index=0
  134. [mjpeg @ 0x5ddc0] qscale[0]: 2
  135. [mjpeg @ 0x5ddc0] index=1
  136. [mjpeg @ 0x5ddc0] qscale[1]: 4
  137. [mjpeg @ 0x5ddc0] marker parser used 132 bytes (1056 bits)
  138. [mjpeg @ 0x5ddc0] marker=c0 avail_size_in_buf=64340
  139. [mjpeg @ 0x5ddc0] sof0: picture: 640x480
  140. [mjpeg @ 0x5ddc0] component 0 2:1 id: 0 quant:0
  141. [mjpeg @ 0x5ddc0] component 1 1:1 id: 1 quant:1
  142. [mjpeg @ 0x5ddc0] component 2 1:1 id: 2 quant:1
  143. [mjpeg @ 0x5ddc0] pix fmt id 21111100
  144. [mjpeg @ 0x5ddc0] marker parser used 17 bytes (136 bits)
  145. [mjpeg @ 0x5ddc0] marker=dd avail_size_in_buf=64321
  146. [mjpeg @ 0x5ddc0] restart interval: 0
  147. [mjpeg @ 0x5ddc0] marker parser used 4 bytes (32 bits)
  148. [mjpeg @ 0x5ddc0] escaping removed 267 bytes
  149. [mjpeg @ 0x5ddc0] marker=da avail_size_in_buf=64315
  150. [mjpeg @ 0x5ddc0] component: 0
  151. [mjpeg @ 0x5ddc0] component: 1
  152. [mjpeg @ 0x5ddc0] component: 2
  153. [mjpeg @ 0x5ddc0] marker parser used 64047 bytes (512374 bits)
  154. [mjpeg @ 0x5ddc0] marker=d9 avail_size_in_buf=0
  155. [mjpeg @ 0x5ddc0] decode frame unused 0 bytes
  156. [mjpeg @ 0x5ddc0] marker=d8 avail_size_in_buf=70693
  157. [mjpeg @ 0x5ddc0] marker parser used 0 bytes (0 bits)
  158. [mjpeg @ 0x5ddc0] marker=db avail_size_in_buf=70691
  159. [mjpeg @ 0x5ddc0] index=0
  160. [mjpeg @ 0x5ddc0] qscale[0]: 2
  161. [mjpeg @ 0x5ddc0] index=1
  162. [mjpeg @ 0x5ddc0] qscale[1]: 4
  163. [mjpeg @ 0x5ddc0] marker parser used 132 bytes (1056 bits)
  164. [mjpeg @ 0x5ddc0] marker=c0 avail_size_in_buf=70557
  165. [mjpeg @ 0x5ddc0] sof0: picture: 640x480
  166. [mjpeg @ 0x5ddc0] component 0 2:1 id: 0 quant:0
  167. [mjpeg @ 0x5ddc0] component 1 1:1 id: 1 quant:1
  168. [mjpeg @ 0x5ddc0] component 2 1:1 id: 2 quant:1
  169. [mjpeg @ 0x5ddc0] pix fmt id 21111100
  170. [mjpeg @ 0x5ddc0] marker parser used 17 bytes (136 bits)
  171. [mjpeg @ 0x5ddc0] marker=dd avail_size_in_buf=70538
  172. [mjpeg @ 0x5ddc0] restart interval: 0
  173. [mjpeg @ 0x5ddc0] marker parser used 4 bytes (32 bits)
  174. [mjpeg @ 0x5ddc0] escaping removed 249 bytes
  175. [mjpeg @ 0x5ddc0] marker=da avail_size_in_buf=70532
  176. [mjpeg @ 0x5ddc0] component: 0
  177. [mjpeg @ 0x5ddc0] component: 1
  178. [mjpeg @ 0x5ddc0] component: 2
  179. [mjpeg @ 0x5ddc0] marker parser used 70282 bytes (562253 bits)
  180. [mjpeg @ 0x5ddc0] marker=d9 avail_size_in_buf=0
  181. [mjpeg @ 0x5ddc0] decode frame unused 0 bytes
  182. [mjpeg @ 0x5ddc0] marker=d8 avail_size_in_buf=709050:00.20 bitrate=3932.2kbits/s
  183. [mjpeg @ 0x5ddc0] marker parser used 0 bytes (0 bits)
  184. [mjpeg @ 0x5ddc0] marker=db avail_size_in_buf=70903
  185. [mjpeg @ 0x5ddc0] index=0
  186. [mjpeg @ 0x5ddc0] qscale[0]: 2
  187. [mjpeg @ 0x5ddc0] index=1
  188. [mjpeg @ 0x5ddc0] qscale[1]: 4
  189. [mjpeg @ 0x5ddc0] marker parser used 132 bytes (1056 bits)
  190. [mjpeg @ 0x5ddc0] marker=c0 avail_size_in_buf=70769
  191. [mjpeg @ 0x5ddc0] sof0: picture: 640x480
  192. [mjpeg @ 0x5ddc0] component 0 2:1 id: 0 quant:0
  193. [mjpeg @ 0x5ddc0] component 1 1:1 id: 1 quant:1
  194. [mjpeg @ 0x5ddc0] component 2 1:1 id: 2 quant:1
  195. [mjpeg @ 0x5ddc0] pix fmt id 21111100
  196. [mjpeg @ 0x5ddc0] marker parser used 17 bytes (136 bits)
  197. [mjpeg @ 0x5ddc0] marker=dd avail_size_in_buf=70750
  198. [mjpeg @ 0x5ddc0] restart interval: 0
  199. [mjpeg @ 0x5ddc0] marker parser used 4 bytes (32 bits)
  200. [mjpeg @ 0x5ddc0] escaping removed 261 bytes
  201. [mjpeg @ 0x5ddc0] marker=da avail_size_in_buf=70744
  202. [mjpeg @ 0x5ddc0] component: 0
  203. [mjpeg @ 0x5ddc0] component: 1
  204. [mjpeg @ 0x5ddc0] component: 2
  205. [mjpeg @ 0x5ddc0] marker parser used 70482 bytes (563854 bits)
  206. [mjpeg @ 0x5ddc0] marker=d9 avail_size_in_buf=0
  207. [mjpeg @ 0x5ddc0] decode frame unused 0 bytes
  208. frame= 3 fps=1.4 q=1.9 Lsize= 176kB time=00:00:00.30 bitrate=4806.0kbits/s
  209. video:170kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.326415%
  210. Input file #0 (/dev/video0):
  211. Input stream #0:0 (video): 3 packets read (206080 bytes); 3 frames decoded;
  212. Total: 3 packets (206080 bytes) demuxed
  213. Output file #0 (http://192.168.100.220:8090/feed1.ffm):
  214. Output stream #0:0 (video): 3 frames encoded; 3 packets muxed (174422 bytes);
  215. Total: 3 packets (174422 bytes) muxed
  216. 3 frames successfully decoded, 0 decoding errors
  217. [AVIOContext @ 0x67780] Statistics: 0 seeks, 44 writeouts
  218. uRMC:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement