Guest User

Untitled

a guest
Apr 20th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  1. ffmpeg -loglevel debug -f video4linux2 -i /dev/video0 http://wuhtzu.dk:8090/webcam.ffm -pix_fmt yuvj422p
  2. ffmpeg version N-62569-gf57ac37 Copyright (c) 2000-2014 the FFmpeg developers
  3. built on Apr 20 2014 02:07:21 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  4. configuration: --prefix=/mnt/storeage --enable-libv4l2
  5. libavutil 52. 77.100 / 52. 77.100
  6. libavcodec 55. 58.105 / 55. 58.105
  7. libavformat 55. 37.101 / 55. 37.101
  8. libavdevice 55. 13.100 / 55. 13.100
  9. libavfilter 4. 4.100 / 4. 4.100
  10. libswscale 2. 6.100 / 2. 6.100
  11. libswresample 0. 18.100 / 0. 18.100
  12. Splitting the commandline.
  13. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
  14. Reading option '-f' ... matched as option 'f' (force format) with argument 'video4linux2'.
  15. Reading option '-i' ... matched as input file with argument '/dev/video0'.
  16. Reading option 'http://wuhtzu.dk:8090/webcam.ffm' ... matched as output file.
  17. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuvj422p'.
  18. Trailing options were found on the commandline.
  19. Finished splitting the commandline.
  20. Parsing a group of options: global .
  21. Applying option loglevel (set logging level) with argument debug.
  22. Successfully parsed a group of options.
  23. Parsing a group of options: input file /dev/video0.
  24. Applying option f (force format) with argument video4linux2.
  25. Successfully parsed a group of options.
  26. Opening an input file: /dev/video0.
  27. [video4linux2,v4l2 @ 0x264ac20] fd:3 capabilities:4000001
  28. [video4linux2,v4l2 @ 0x264ac20] Current input_channel: 0, input_name: Camera 1, input_std: 0
  29. [video4linux2,v4l2 @ 0x264ac20] Querying the device for the current frame size
  30. [video4linux2,v4l2 @ 0x264ac20] Setting frame size to 320x240
  31. [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuv420p
  32. Last message repeated 1 times
  33. [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuv422p
  34. [video4linux2,v4l2 @ 0x264ac20] Trying to set codec:rawvideo pix_fmt:yuyv422
  35. [video4linux2,v4l2 @ 0x264ac20] All info found
  36. Input #0, video4linux2,v4l2, from '/dev/video0':
  37. Duration: N/A, start: 152574.909382, bitrate: 36864 kb/s
  38. Stream #0:0, 1, 1/1000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 1/1000000, 36864 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
  39. Successfully opened the file.
  40. Parsing a group of options: output file http://wuhtzu.dk:8090/webcam.ffm.
  41. Successfully parsed a group of options.
  42. Opening an output file: http://wuhtzu.dk:8090/webcam.ffm.
  43. [http @ 0x264bc40] request: GET /webcam.ffm HTTP/1.1
  44. User-Agent: Lavf/55.37.101
  45. Accept: */*
  46. Range: bytes=0-
  47. Connection: close
  48. Host: wuhtzu.dk:8090
  49.  
  50.  
  51. [http @ 0x264bc40] header='HTTP/1.0 200 OK'
  52. [http @ 0x264bc40] http_code=200
  53. [http @ 0x264bc40] header='Pragma: no-cache'
  54. [http @ 0x264bc40] header='Content-Type: '
  55. [http @ 0x264bc40] header=''
  56. [ffm @ 0x264d660] Format ffm probed with size=2048 and score=101
  57. Incompatible pixel format '(null)' for codec 'mjpeg', auto-selecting format '(null)'
  58. [AVIOContext @ 0x26583c0] Statistics: 4096 bytes read, 0 seeks
  59. [http @ 0x26517e0] request: POST /webcam.ffm HTTP/1.1
  60. Transfer-Encoding: chunked
  61. User-Agent: Lavf/55.37.101
  62. Accept: */*
  63. Connection: close
  64. Host: wuhtzu.dk:8090
  65.  
  66.  
  67. Successfully opened the file.
  68. detected 4 logical cores
  69. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'video_size' to value '320x240'
  70. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'pix_fmt' to value '1'
  71. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'time_base' to value '1/1000000'
  72. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'pixel_aspect' to value '0/1'
  73. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'sws_param' to value 'flags=2'
  74. [graph 0 input from stream 0:0 @ 0x26397e0] Setting 'frame_rate' to value '30/1'
  75. [graph 0 input from stream 0:0 @ 0x26397e0] w:320 h:240 pixfmt:yuyv422 tb:1/1000000 fr:30/1 sar:0/1 sws_param:flags=2
  76. [scaler for output stream 0:0 @ 0x2639c00] Setting 'w' to value '0'
  77. [scaler for output stream 0:0 @ 0x2639c00] Setting 'h' to value '15'
  78. [scaler for output stream 0:0 @ 0x2639c00] Setting 'flags' to value '0x4'
  79. [scaler for output stream 0:0 @ 0x2639c00] w:0 h:15 flags:'0x4' interl:0
  80. Incompatible pixel format '(null)' for codec 'mjpeg', auto-selecting format '(null)'
  81. [AVFilterGraph @ 0x2642040] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
  82. [scaler for output stream 0:0 @ 0x2639c00] w:320 h:240 fmt:yuyv422 sar:0/1 -> w:320 h:15 fmt:yuyv422 sar:0/1 flags:0x4
  83. [mjpeg @ 0x2652060] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
  84. [mjpeg @ 0x2652060] Specified pixel format yuyv422 is invalid or not supported
  85. Output #0, ffm, to 'http://wuhtzu.dk:8090/webcam.ffm':
  86. Metadata:
  87. creation_time : now
  88. Stream #0:0, 0, 1/1000000: Video: mjpeg ([0][0][0][5] / 0x5000000), yuyv422, 320x15, 1/30, q=0-0, 20000 kb/s, 1000k tbn, 30 tbc
  89. Stream mapping:
  90. Stream #0:0 -> #0:0 (rawvideo -> mjpeg)
  91. Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  92. [AVIOContext @ 0x2651860] Statistics: 0 seeks, 0 writeouts
Advertisement
Add Comment
Please, Sign In to add comment