[I sent one mail a while ago, but it seems to have been eaten on the
way]

I am progressing with my application, but now I have two issues that
more knowledgeable people probably know a lot more about than I do:

First, when I have been doing a streaming compressed capture, I can not
start the application again without unloading and reloading the drivers.
This does not happen for uncompressed streaming.

I have an app that first opens the card for uncompressed capture. I do
that for a while, then I close the card and open it again for compressed
capture. This works fine. I then dequeue all queues, and close the
device file and exit. But I can't restart the application later, as the
first open () on the device reports the device to be in use. This does
not occur if I skip the compressed capture part.


Second, I am trying to set a card up to capture with nonstandard
decimation. My parameters for zoran_params are:

input = 0
norm = VIDEO_MODE_PAL
decimation = 0

HorDcm = 4
VerDcm = 2
TmpDcm = 1

field_per_buff = 2

img_x = 0
img_y = 0

img_width = 704  // I used to have 720 until I realized the restriction
img_height = 576

quality = 80
odd_even = 0


When I try, the ioctl just gives an error about incorrect parameters.
Running the identical parameters, but with "decimation = 1" works fine
(but will of course give me a full-size image, which is not what I
want).

I sort of suspect I may need to set some JPEG-parameters manually, but
have no idea at all how to do that correctly. Any ideas?


-- 

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

Reply via email to