Hello, Sandeep Neema wrote:
<ramiro <at> lisha.ufsc.br> writes:
Hello,
First attempt for VFW capture support in Windows. For testing purposes only!
Enable it with: ./configure --enable-memalign-hack --enable-vfw-cap
It prints lots of (somewhat useless) debug messages. Image is upside down =). I just have to find the right PIX_FMT and width/height... I'm way too tired to look at that now.
Note: Run this FFmpeg from Windows' command prompts (cmd or command)! *Not MSys!*. This patch includes the patch I sent to ffmpeg-devel for interactive support for Windows. You must kill it with 'q' or Ctrl+C, or else the capture device won't be released, and you'll have to reboot Windows to get it back. MSys doesn't capture 'q' nor Ctrl+C, so it's doomed to make you loose control of the device.
Ramiro Polla Attachment (vfw_cap.4.patch): application/octet-stream, 12 KiB
_______________________________________________ ffmpeg-user mailing list ffmpeg-user <at> mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Hello Ramiro, Sorry for the naive questions - however, could you please send some instructions on how to apply the patch to the ffmpeg source tree that I downloaded today with SVN. I was getting errors when I applied the patch like this in the ffmpeg directory: patch -p1 < vfw-cap.4.patch Also, do you have a newer version of the patch?
Yes. I just sent a new e-mail to the list. It does not need --enable-vfw-cap anymore. It patches ok with current SVN. http://article.gmane.org/gmane.comp.video.ffmpeg.user/6822 Ramiro Polla