Hi Peter,
Thanks for the info, gstfakevideo only does V4l V1 by
the look of
things. However gstreamer supports V4L2 and that's what's
doing the
actual capturing.
As mmap is the only way to feed producer I guess I might
try
implementing a buffer area in gstfakevideo and first do a
normal read
into this buffer (when VIDIOCSYNC gets called) and allow
producer to
mmap it back out again, might not be too sluggish on a
modern machine
I'm afraid I have a lot of time pressure to get results on
this right
now so a quick fix is in order then a proper go at it for
V1.0
I still feel that writing a capture plugin would be the way
to go but
modifying gstfakevideo involves much less learning of new
stuff at this
stage.
I'll keep in touch with progress!
Cheers,
Robin.
-----Original Message-----
From: Peter Krenesky [mailto:peter osuosl.org]
Sent: 28 April 2008 16:41
To: Robin D. Bussell
Cc: helix-producer-dev helixcommunity.org
Subject: Re: [Helix-producer-dev] piping into linux
realproducer from
gstreamer pieline via gstfakevideo
Hi Robin,
The capture input plugin uses mmap only.
Do you know if gstfakevideo can emulate V4L version 2?
version 1 is
very outdated.
The older capture plugin only uses V4L version 1. If you
build
client_encodesvc_plugins_input_capture it will build a newer
version
that supports V4L version 2 except for changing channels on
tv tuner
cards. It also only uses mmap.
-Peter
_______________________________________________
Helix-producer-dev mailing list
Helix-producer-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listi
nfo/helix-producer-dev
|