hi all!
first of all, I would like to thank everybody envolved in this beautiful
project. ;)
Basically, I would like to use libavg to add some news overlay feature
into a small diy tv station. In the sense of having something like an
RSS feed on the video overlay or to announce the next film/reportage.
some generative internet noise triggerd by midi...
So, i'm trying to figure out how the camera object works. Has anybody
yet successfully opend a vloopback device with libavg?
Every try with different pixelformats ends with a "IDIOC_QUERYCAP error".
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
$ v4l-info /dev/video1
### video4linux device info [/dev/video1] ###
general info
VIDIOCGCAP
name : "Video loopback 0 output"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 20
minheight : 20
channels
VIDIOCGCHAN(0)
channel : 0
name : "Composite1"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
VIDIOCGTUNER
tuner : 0
name : "Format"
rangelow : 0
rangehigh : 0
flags : 0x0 []
mode : AUTO
signal : 0
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 32768
hue : 32768
colour : 32768
contrast : 32768
whiteness : 32768
depth : 32768
palette : YUV420P
buffer
VIDIOCGFBUF
base : (nil)
height : 0
width : 0
depth : 0
bytesperline : 0
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users