Hi.

On Mon, May 24, 2010 at 3:24 AM, Mike Morris <[email protected]> wrote:
> Hi,
>
> I'd love to use cinelerra to do some training videos, with webcam as video
> source.
>
> This seems like it should be a FAQ, but I've googled quite a bit, and found
> very little (except "use ffmpeg")... finally found someone who claimed to
> have successfully used a USB source input to cinelerra. . .
>
> Here's what I've done:
>
> I can set up Recording successfully with Screen capture as source; this
> should prove that the output format settings are valid
>
> Switching the Settings to Video4Linux and specifying "/dev/video0" (known to
> be correct device name)
> I can go to record and click interactive record button:
>
> the position counter increments
> The audio meters in the "VIdeo In" window react to sound
> The Video In screen turns green
>
> But nothing gets recorded.
>
> The obvious problem is that the "record" light on the webcam never comes on.
> Probably the screen is green because there's no vid from the webcam, which
> isn't in "record" mode... how do I enable the silly thing before trying to
> capture? Or is that not really the problem?
>
> Another oddity: The record screen doesn't show the "source"... Most of the
> settings on the Record dialog get reflected on the batch item... but not
> "Source". Not matter what I do, the Source column on the active batch item
> is always "None". This is despite the fact that I manually enter
> "/dev/video0" into the "Source:" field above.
>
> Thanks in advance
>
> For the record, it's a "Creative VF0560 Live! Cam Optia AF".
>

I thik that your camera needs Video4linux2. If there is no selection
of Video4Linux2 in Preferences->Recording
you need to reconfigure and recompile cinelerra.

There is a bug in detection of Video4linux2. Attatched patch fixies
configure.in. After patching run ./autogen.sh and then
ordinary ./configure;make

I dont know why, but my cinelerra needs, that size of captured frime is 800x600.

Einar
diff --git a/configure.in b/configure.in
index 670ed9d..885a79a 100644
--- a/configure.in
+++ b/configure.in
@@ -35,8 +35,9 @@ dnl Check for Video4Linux2
 AH_TEMPLATE(HAVE_VIDEO4LINUX2, [Define to 1 if Video4Linux2 is available.])
 AC_CHECK_HEADER([linux/videodev2.h], 
 	[AC_CHECK_MEMBER(struct v4l2_buffer.index, [AC_DEFINE(HAVE_VIDEO4LINUX2)], [],
-		[#include <linux/videodev2.h>])],
-	[],[] )
+  		[#include <linux/time.h>
+#include <linux/videodev2.h>])],
+	[],[#include <linux/time.h>] )
 
 ############## SPECIAL DIRECTORIES
 AC_ARG_WITH(plugindir,

Reply via email to