in reply to Windows Webcam access.
In a (soon to be released version of) App::VideoMixer, I use ffmpeg.exe to capture the video and output as a raw bytestream to stdout. The essential command line is:
my $pixel_format = 'rgb24'; my $file = 0; # device number 0, or .avi file, for reproducible te +sting my ($pid,$stream) = $self->spawn(sprintf qq{%s -f vfwcap -r 30 -i +%s -f rawvideo -pix_fmt %s - |}, $self->ffmpeg, $file, $pixel_format );
It works like a charm with ffmpeg v0.5 and saves me the hassle of downloading and compiling a lot of hard to compile libraries and their prerequisites.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Windows Webcam access.
by Steve_BZ (Chaplain) on Sep 01, 2009 at 11:22 UTC | |
by Corion (Patriarch) on Sep 01, 2009 at 11:55 UTC | |
|
Re^2: Windows Webcam access.
by Steve_BZ (Chaplain) on Sep 01, 2009 at 09:41 UTC | |
by Corion (Patriarch) on Sep 01, 2009 at 09:50 UTC | |
|
Re^2: Windows Webcam access.
by Steve_BZ (Chaplain) on Sep 01, 2009 at 17:55 UTC |