Advertisement
Guest User

ffmpeg vs noname $10 webcam from tesco corps

a guest
May 23rd, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. root$
  2. Bus 003 Device 006: ID 093a:262a Pixart Imaging, Inc.
  3.  
  4. $ v4l2-ctl -d /dev/video1 --all
  5. Driver Info (not using libv4l2):
  6. Driver name : pac7302
  7. Card type : USB Camera (093a:262a)
  8. Bus info : usb-0000:00:10.1-2
  9. Driver version: 2.13.0
  10. Capabilities : 0x05000001
  11. Video Capture
  12. Read/Write
  13. Streaming
  14. Format Video Capture:
  15. Width/Height : 640/480
  16. Pixel Format : 'PJPG'
  17. Field : None
  18. Bytes per Line: 640
  19. Size Image : 115790
  20. Colorspace : JPEG (JFIF/ITU601)
  21. Video input : 0 (pac7302: ok)
  22. Streaming Parameters Video Capture:
  23. Frames per second: invalid (0/0)
  24. Read buffers : 2
  25.  
  26.  
  27. $ ffmpeg -f v4l2 -s 640x480 -r 30 -i /dev/video1 -vcodec libx264 test.mkv
  28. ffmpeg version N-40640-g5edd4fc Copyright (c) 2000-2012 the FFmpeg developers
  29. built on May 14 2012 02:03:22 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
  30. configuration: --enable-gpl --enable-libx264
  31. libavutil 51. 50.100 / 51. 50.100
  32. libavcodec 54. 21.101 / 54. 21.101
  33. libavformat 54. 4.100 / 54. 4.100
  34. libavdevice 53. 4.100 / 53. 4.100
  35. libavfilter 2. 72.105 / 2. 72.105
  36. libswscale 2. 1.100 / 2. 1.100
  37. libswresample 0. 11.100 / 0. 11.100
  38. libpostproc 52. 0.100 / 52. 0.100
  39. [video4linux2,v4l2 @ 0x2bd1300] Cannot find a proper format for codec_id 0, pix_fmt -1.
  40. /dev/video1: Input/output error
  41.  
  42.  
  43. $ ffmpeg -an -f v4l2 -vcodec mjpeg -i /dev/video1 ./asd.mjpeg
  44. ffmpeg version N-40640-g5edd4fc Copyright (c) 2000-2012 the FFmpeg developers
  45. built on May 14 2012 02:03:22 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
  46. configuration: --enable-gpl --enable-libx264
  47. libavutil 51. 50.100 / 51. 50.100
  48. libavcodec 54. 21.101 / 54. 21.101
  49. libavformat 54. 4.100 / 54. 4.100
  50. libavdevice 53. 4.100 / 53. 4.100
  51. libavfilter 2. 72.105 / 2. 72.105
  52. libswscale 2. 1.100 / 2. 1.100
  53. libswresample 0. 11.100 / 0. 11.100
  54. libpostproc 52. 0.100 / 52. 0.100
  55. [video4linux2,v4l2 @ 0x22de200] Cannot find a proper format for codec_id 8, pix_fmt -1.
  56. /dev/video1: Input/output error
  57. create a new version of this paste
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement