On 10/lug/08, at 22:59, #! /usr/bin/doma wrote:

> hi all!

Hi there!

> So, i'm trying to figure out how the camera object works. Has anybody
> yet successfully opend a vloopback device with libavg?

libavg's V4L2 implementation has been surely tested with Bt8x8 PCI  
boards and a bunch of webcams, but I personally have no reports about  
vloopback.
What version are you using?

> Every try with different pixelformats ends with a "IDIOC_QUERYCAP  
> error".

Capabilities query is done at every device initialization.
This error is probably due to an unsupported reporting interface on  
the video loopback device.
How do you set up the loopback?

> Has anyone got a clue? A normal /dev/video0 bttv capture card works
> great here.
>
> thx,
> -doma
>
> ps: Attached - TestCamera output and output of "v4l-info /dev/video1"
>
>
>
> python TestCamera.py
> [08-07-10 22:48:44.901] LOGGER: Logging started
> --------  test  --------
> [08-07-10 22:48:44.901] MEMORY: Player::LoadFile(camera.avg)
> [08-07-10 22:48:44.902] CONFIG: V4LCamera() device=/dev/video1 ch=1
> w=640 h=480 pf=YUV420
> [08-07-10 22:48:44.902] CONFIG: Display bpp: 24
> [08-07-10 22:48:44.902] CONFIG: Requested OpenGL configuration:
> [08-07-10 22:48:44.902] CONFIG:   POW2 textures: false
> [08-07-10 22:48:44.902] CONFIG:   Fragment shader YCbCr texture  
> support.
> [08-07-10 22:48:44.903] CONFIG:   Use pixel buffers: true
> [08-07-10 22:48:44.903] CONFIG:   Multisample samples: 1
> [08-07-10 22:48:44.903] CONFIG:   Auto vsync
> [08-07-10 22:48:45.038] CONFIG: Vertical Refresh Rate: 75.0247
> [08-07-10 22:48:45.127] CONFIG: OpenGL configuration:
> [08-07-10 22:48:45.127] CONFIG:   OpenGL version: 2.1.2 NVIDIA 169.12
> [08-07-10 22:48:45.127] CONFIG:   OpenGL vendor: NVIDIA Corporation
> [08-07-10 22:48:45.128] CONFIG:   OpenGL renderer: GeForce 8400 GS/ 
> PCI/SSE2
> [08-07-10 22:48:45.128] CONFIG:   Using fragment shader YCbCr texture
> support.
> [08-07-10 22:48:45.128] CONFIG:   Using NVidia texture rectangle  
> extension.
> [08-07-10 22:48:45.128] CONFIG:   Not using multisampling.
> [08-07-10 22:48:45.128] CONFIG:   Using pixel buffer objects.
> [08-07-10 22:48:45.128] CONFIG:   Max. texture size is 8192
> [08-07-10 22:48:45.129] ERROR: VIDIOC_QUERYCAP error
> Segmentation fault
>

Segmentation fault. Are you using Ubuntu 8.04?
Give us some more hints about your setup!

bye

--
OXullo Intersecans

0 2 L > Outside Standing Level
http://www.02L.net





_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to