On Fri, 2008-10-24 at 02:18 -0500, Carl Karsten wrote:
> no segfault.

One step closer to the end :)

> ++ transcode -x v4l,null -V rgb24 -i /dev/video0 -f 3 -g 1600x1200 -y raw,null
[...]
> [import_v4l.so] critical: error quering capabilities (VIDIOCGCAP): No medium 
> found
> [import_v4l.so] critical: error grab init
> [transcode] critical: video import module error: OPEN failed
> [transcode] critical: failed to open input source

Looks like the device driver claims there is no device attached :\
Transcode cannot do anything in that case, looks an
hardware/kernel/driver problem.

> ++ transcode -x v4l,null -V rgb24 -i /dev/video1 -f 3 -g 1600x1200 -y raw,null
[...]
> [import_v4l.so] critical: error setting picture parameters (VIDIOCSPICT):
> Invalid argument
> [import_v4l.so] critical: error grab init
> [transcode] critical: video import module error: OPEN failed
> [transcode] critical: failed to open input source

The device doesn't support the pixel format we've asked for. See below.

> ++ transcode -x v4l2,null -V rgb24 -i /dev/video1 -f 3 -g 1600x1200 -y 
> raw,null
[...]
> [import_v4l2.so] warning: bad pixel format conversion: RGB24 [packed] -> RGB
> [packed] (no conversion
> [import_v4l2.so] warning: bad pixel format conversion: BGR24 [packed] -> RGB
> [packed]
> [import_v4l2.so] warning: bad pixel format conversion: RGB32 [packed] -> RGB
> [packed]
> [import_v4l2.so] warning: bad pixel format conversion: BGR32 [packed] -> RGB
> [packed]
> [import_v4l2.so] warning: bad pixel format conversion: 8-bit grayscale -> RGB
> [packed]
> [import_v4l2.so] critical: no usable pixel format supported by card
> [transcode] critical: video import module error: OPEN failed
> [transcode] critical: failed to open input source

the same as above, maybe the error cause is now clearer.
I'll brew something to make the vivi device work (it could be useful for
testing) with import_v4l (import_v4l2 maybe will follow later).

You can be interested in the nice `v4l-info' utility part of `v4l-conf' 
package which can query all the properties of a v4l v1/v2 device.

Bests,

-- 
Francesco Romani // Ikitt
http://fromani.exit1.org  ::: transcode homepage
http://tcforge.berlios.de ::: transcode experimental forge

Reply via email to