as for 1.: to be read out of dc1394_control.h
dc1394_dma_setup_capture() needs the frame-format to determine the size of
the capture buffer.
so if you change the format, you will have to dc1394_dma_release() first,
then change the format and then dc1394_dma_setup_capture() again.
as for 2.: don't know haven't bothered with video streams yet, but there
are compression librarys out there which might suit your needs. (libmpeg ?
as for btw: Coriander doesn't even compile on my machine :)
hope this helped,
so long and thanks for all the fish, Tim
--On Thursday, November 15, 2001 12:50:15 PM +0100 Salomon21@... wrote:
> I got some questions belonging libdc1394 and grabbing.
> 1. I wrote an app, that grabs frames from a dc-camera, shows it on screen
> and save to disk as ppm-file. is use dc1394_dma_setup_capture to setup the
> format. but most times, when i change the format, the old format is set.
> when i start the programm again it works. is it a bug from the library?
> 2.Is there an tool to grab a AVI or mpeg from a dc1394-device? Coriander
> only grabs single frames and dvgrab/kino does'nt support dc-compatible
> cameras. A how-to for saving avi from a dc-camera would be fine :-)
> Bye the way, coriander 0.18 hangs up when i want to start Video Overlay:
> No siutable Xv adaptor found, resorting to GDK
> Xlib: unexpected async reply (sequence 0xb32)!
> My System:
> Suse 7.0
> kernel 2.2.18 with ieee1394-126.96.36.19910228.gz patch
> Sony DFW-SX900
> GMX - Die Kommunikationsplattform im Internet.
> Mailing list for libdc1394-devel