Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root$
- Bus 003 Device 006: ID 093a:262a Pixart Imaging, Inc.
- $ v4l2-ctl -d /dev/video1 --all
- Driver Info (not using libv4l2):
- Driver name : pac7302
- Card type : USB Camera (093a:262a)
- Bus info : usb-0000:00:10.1-2
- Driver version: 2.13.0
- Capabilities : 0x05000001
- Video Capture
- Read/Write
- Streaming
- Format Video Capture:
- Width/Height : 640/480
- Pixel Format : 'PJPG'
- Field : None
- Bytes per Line: 640
- Size Image : 115790
- Colorspace : JPEG (JFIF/ITU601)
- Video input : 0 (pac7302: ok)
- Streaming Parameters Video Capture:
- Frames per second: invalid (0/0)
- Read buffers : 2
- $ ffmpeg -f v4l2 -s 640x480 -r 30 -i /dev/video1 -vcodec libx264 test.mkv
- ffmpeg version N-40640-g5edd4fc Copyright (c) 2000-2012 the FFmpeg developers
- built on May 14 2012 02:03:22 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
- configuration: --enable-gpl --enable-libx264
- libavutil 51. 50.100 / 51. 50.100
- libavcodec 54. 21.101 / 54. 21.101
- libavformat 54. 4.100 / 54. 4.100
- libavdevice 53. 4.100 / 53. 4.100
- libavfilter 2. 72.105 / 2. 72.105
- libswscale 2. 1.100 / 2. 1.100
- libswresample 0. 11.100 / 0. 11.100
- libpostproc 52. 0.100 / 52. 0.100
- [video4linux2,v4l2 @ 0x2bd1300] Cannot find a proper format for codec_id 0, pix_fmt -1.
- /dev/video1: Input/output error
- $ ffmpeg -an -f v4l2 -vcodec mjpeg -i /dev/video1 ./asd.mjpeg
- ffmpeg version N-40640-g5edd4fc Copyright (c) 2000-2012 the FFmpeg developers
- built on May 14 2012 02:03:22 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
- configuration: --enable-gpl --enable-libx264
- libavutil 51. 50.100 / 51. 50.100
- libavcodec 54. 21.101 / 54. 21.101
- libavformat 54. 4.100 / 54. 4.100
- libavdevice 53. 4.100 / 53. 4.100
- libavfilter 2. 72.105 / 2. 72.105
- libswscale 2. 1.100 / 2. 1.100
- libswresample 0. 11.100 / 0. 11.100
- libpostproc 52. 0.100 / 52. 0.100
- [video4linux2,v4l2 @ 0x22de200] Cannot find a proper format for codec_id 8, pix_fmt -1.
- /dev/video1: Input/output error
- create a new version of this paste
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement