hola! OXullo Intersecans wrote: > 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?
I'll put all my sys infos here. Basicly i'm using vloopack [1] from the svn trunk. I compiled it last week for Kernel 2.6.24-16 on Ubuntu 8.04/Hardy. It works really good with effectv,xawtv and pd. Setting up vloopback is quit easy.. 1. Define number of vloopback pipes modprobe vloopback pipes=4 2. Play files with patched mplayer [2] (writes to /dev/video1) mplayer_tv_hacking -vo v4lw:/dev/video0 /home/bitnik/test.mov 3. open it with effectv (pipe it further to /dev/video3) effectv -device /dev/video1 -vloopback /dev/video2 -size 640x480 4. Read it again. etc. etc mplayer tv:// -tv driver=v4l:device=/dev/video3:fps=25:width=640:height=480 -fs -display :0.1 Libavg ------- Compiled SVN trunk for python2.5 yesterday. Everything works fine except the segfault message at the termination of a avg script. But it doesn't really bother.. Cheers and thx for every help! -doma [1] http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice [2] http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-April/057097.html > >> 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 > _______________________________________________ libavg-users mailing list [email protected] https://mail.datenhain.de/mailman/listinfo/libavg-users
