I am charging (well, limping) ahead somewhat fitfully with my capture
application. I now have two issues that are probably quite easy to
answer for people knowing more than me.
First, when I have been doing streaming capture of jpeg-compressed
streams, I can't rerun the app again without unloading, then loading the
driver - the open () call complains about the device being in use. This
does not happen for uncompressed capture.
At exit, I dequeue all buffers and close the device file; I'm at a loss
as to what more I should be doing.
Second, I try to capture a stream with odd decimation (4 horizontally,
and 2 vertically). Unfortunately, the ioctl for setting it complains
about invalid parameters. The parametrers I use are:
decimation = 0;
HorDcm = 4
VerDcm = 2
TmpDcm = 1
field_per_buff = 2
img_x = 0
img_y = 0
img_width = 720
img_height = 576
I have a sinking feeling that I may need to manually set all those
jpeg-parameters somehow. I have no idea of how to correctly calculate
those, however.
--
Trust the Computer. The Computer is your friend.
Tel. +46-046 222 8588 Dr. Janne Mor�n (mr)
Home: +46-046 211 4973 Dept. of Cognitive Science
Fax: +46-046 222 9758 Kungshuset, Lund
S-222 22 Lund, Sweden
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users