CptSkripto has asked for the wisdom of the Perl Monks concerning the following question:
I obtain:#!/usr/bin/perl use strict; use Video::Capture::V4l; my $grab = new Video::Capture::V4l("/dev/video0") or die "Unable to op +en Video device: $!"; print "silent error:$!\n"; $grab->sync(0) or die "unable to sync: $!\n"; #
That suggests v4l cannot lock and sync the frame 0. I have tested, successfully, my video input via mplayer through the following command:silent error: Illegal seek unable to sync: Invalid argument
This suggests I have to find a way to pass the -tv and the tv://1 options through Video::Capture::V4l. Do you happen to know how to do this? Thank you again in advance, CptSkriptomplayer -tv device=/dev/video0:input=2:driver=v4l2:width=320:height=24 +0:norm=ntsc:adevice=/dev/dsp tv://1 -zoom -aspect 4:3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Video::Capture::V4l tv parameters.
by zentara (Cardinal) on Sep 04, 2008 at 18:34 UTC | |
by CptSkripto (Acolyte) on Sep 04, 2008 at 21:16 UTC | |
by zentara (Cardinal) on Sep 05, 2008 at 12:32 UTC | |
by Anonymous Monk on Sep 05, 2008 at 15:37 UTC | |
by zentara (Cardinal) on Sep 05, 2008 at 15:47 UTC | |
|
Re: Video::Capture::V4l tv parameters.
by shmem (Chancellor) on Sep 04, 2008 at 17:24 UTC | |
by CptSkripto (Acolyte) on Sep 04, 2008 at 18:27 UTC |