title: Why does recoding video with FFMPEG on Windows always give an error?
body: <p>I downloaded ffmpeg from <a href="http://ramiro.arrozcru.org/ffmpeg-vfwcap-noflip.7z">http://ramiro.arrozcru.org/ffmpeg-vfwcap-noflip.7z</a><br>
  and run it with the command line: <code>ffmpeg -r 25 -f vfwcap -i 0 output.avi</code></p>
  
  <p>but always get the error:</p>
  
  <blockquote>
    <p>ffmpeg -r 25 -f vfwcap -i 0 output.avi<br>
    FFmpeg version SVN-r22915, Copyright (c) 2000-2010 the FFmpeg developers<br>
      built on Apr 20 2010 00:09:08 with gcc 4.4.2<br>
      configuration: --enable-memalign-hack --cross-prefix=i686-mingw32- --cc=ccach<br>
    -i686-mingw32-gcc --arch=i686 --target-os=mingw32 --enable-gpl --enable-libx264<br>
    --enable-pthreads<br>
      libavutil     50.14. 0 / 50.14. 0<br>
      libavcodec    52.66. 0 / 52.66. 0<br>
      libavformat   52.61. 0 / 52.61. 0<br>
      libavdevice   52. 2. 0 / 52. 2. 0<br>
      libswscale     0.10. 0 /  0.10. 0<br>
    [vfwcap @ 012eba60]Could not connect to device.<br>
    0: Error number -19 occurred  </p>
  </blockquote>
  
  <p>Why doesn't this work?</p>