Changes between Version 5 and Version 6 of Capture/Webcam


Ignore:
Timestamp:
Sep 15, 2012, 11:45:58 AM (7 years ago)
Author:
burek
Comment:

no need for a single page for vfwcap, since a lot of people don't even know what it is and the page title is generic, so this method should be included in this page also

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Webcam

    v5 v6  
    77}}}
    88
    9 You can also possibly use the (now out dated) [[vfwcap]] device.
     9Or you can also possibly use the (now out dated) '''[http://ffmpeg.org/ffmpeg.html#vfwcap vfwcap]''' input device, like this:
     10
     11To list the supported capture devices, connected to the machine:
     12{{{
     13ffmpeg -y -f vfwcap -i list
     14}}}
     15
     16That will give us the list like this:
     17{{{
     18...
     19libavutil     50.36. 0 / 50.36. 0
     20libavcore      0.16. 1 /  0.16. 1
     21libavcodec    52.108. 0 / 52.108. 0
     22libavformat   52.93. 0 / 52.93. 0
     23libavdevice   52. 2. 3 / 52. 2. 3
     24libavfilter    1.74. 0 /  1.74. 0
     25libswscale     0.12. 0 /  0.12. 0
     26[vfwcap @ 01c6d150] Driver 0
     27[vfwcap @ 01c6d150]  Microsoft WDM Image Capture (Win32)
     28[vfwcap @ 01c6d150]  Version:  5.1.2600.5512
     29list: Input/output error
     30}}}
     31
     32So, we can try to grab something from our camera:
     33{{{
     34ffmpeg -y -f vfwcap -r 25 -i 0 out.mp4
     35}}}
     36
     37Where "'''-i 0'''" is the index (zero based) in the list of present capture devices ("'''Driver 0'''").
    1038
    1139== Linux ==