Re: controling a video recorder ?
Brought to you by:
aeb,
bencollins
From: Chateau T. <thi...@la...> - 2000-10-24 07:20:02
|
Your idea for a collection of 1394-related classes is very good. Actually, I try to write a C++ collection of class for Video. It is in very alpha way for the moment but I have developped an abstract class called VFrameGrabber and two child classes: one for ieee1394 DV Video Recorder and one for DV File. I also want to implement IEEE Camera using libdc and other devices (not only connected to 1394 because the target is to write tools for image processing). For the moment, I use libraw, libdc (modified because there are some variables called classes or private and I prefer remaning its). I also tried, yesterday, simpleavc.h from gscanbus which work fine but I will test SDPAVC. On my PIII 733 with 256M Ram, dv decoding (from libdv) for a Pal format takes 40 ms. (In the same time, an another thread for isochonous reception on the 1394 bus is working). I change the source of dv_decode in order to decode only a window into the image ; so, it takes less time. Do you think that other improvements may be done in order to reduce dv decoding time ? Dan Dennedy a écrit : > Timothy Shead (K-3D guy) wrote a C++ class that implements AVC (SDPAVC). He > has stopped maintaining it, but I retrieved a copy from CVS to hook it up to > Broadcast 2000. I suggest you consider using it. If it proves useful we can > setup a SourceForge project for it (actually, I'm thinking of a collection > of 1394-related classes). You can get to SDPAVC from the links section on > the linux1394 website. > > ----- Original Message ----- > From: "Andreas Micklei" <and...@iv...> > To: "Chateau Thierry" <thi...@la...> > Cc: "1394 user" <lin...@li...> > Sent: Monday, October 23, 2000 9:43 AM > Subject: Re: controling a video recorder ? > > > On Mon, Oct 23, 2000 at 11:31:57AM +0200, Chateau Thierry wrote: > > > I work on a gdk interface using both dvgrab and libdv sources in order > > > to make a grabbing and viewing utility. I am wondering if anyone has > > > ever tried to control a video recorder using libraw. > > > In fact, this control use the FCP (Function Control Protocol) and I did > > > not find any writing FCP command into raw1394.h. Is it true ? > > > I only saw function to listen for FCP_COMMAND and FCP_RESPONSE. > > > If nothing about FCP commands exist, I will work on it. > > > > No need to start from scratch. Have you tried gscanbus? When you connect a > VCR > > to your Linux box, gscanbus will display buttons for controlling it. > > Internally this is handled by simpleav.c and simpleavc.h. Feel free to > take it > > apart and build your own stuff on top of it. My functions may not be > flexible > > for all your needs, but at least you won't need to define all necessary > > constants for yourself. > > > > -- > > Andreas Micklei > > IVISTAR Kommunikationssysteme AG > > Ehrenbergstr. 19 / 10245 Berlin > > http://www.ivistar.de > > _______________________________________________ > > mailing list Lin...@li... > > http://lists.sourceforge.net/mailman/listinfo/linux1394-user > > -- ___________________________ Thierry CHATEAU, Lasmea, UMR 6602 du CNRS 24 Avenue des Landais, 63177 Aubiere, France tel : 04-73-40-72-56 http://chateauthierry.multimania.com "Tout ce qui n'est pas donne est perdu". (Hasari Pal, "La cite de la joie") ___________________________ |