Changes between Version 6 and Version 7 of Capture/Webcam


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

added examples from external tutorial, this should be updated with tested examples

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Webcam

    v6 v7  
    11
    22== Windows ==
     3
     4=== dshow ===
    35
    46For windows you should probably use the "dshow" input source, like this:
     
    68ffmpeg -f dshow -r 25 -s 640x480 -i video="USB2.0_Camera":audio="Microphone (USB Audio Device)" output.avi
    79}}}
     10
     11To list all available devices, you can type:
     12{{{
     13ffmpeg -f dshow -list_devices true -i dummy
     14}}}
     15
     16To list all the options that one device supports, you can type:
     17{{{
     18ffmpeg -f dshow -list_options true -i video=<video device>
     19}}}
     20
     21ffmpeg can also take dshow (DirectShow) as input by creating an avisynth file (.avs file) that itself gets input from a graphedit file, which graphedit file exposes a pin of your capture source or any filter really, ex ("yo.avs"):
     22
     23DirectShowSource("push2.GRF", fps=35, audio=False, framecount=1000000)
     24
     25Also this note that "The input string is in the format video=<video device name>:audio=<audio device name>. It is possible to have two separate inputs (like -f dshow -i audio=foo -f dshow -i video=bar) but my limited tests had shown a better synchronism when both were used in the same input."
     26
     27=== vfwcap ===
    828
    929Or you can also possibly use the (now out dated) '''[http://ffmpeg.org/ffmpeg.html#vfwcap vfwcap]''' input device, like this: