-
pmark23
Trying to get a webcam working with Gem (the 00.SimpleVideo.pd patch for now), and nothing is being rendered. The camera works with other applications, just not with PD/GEM.
The terminal command-line shows the error "v4l: get capabilities: Invalid Argument" whenever the Driver or Device messages are sent to pix_video.
There's no error in PD except for "verbose ( 0):v41: stopped Transfer" when above messages are sent.
GEM appears to have v4l support. Using latest pd-extended and GEM. All libraries were updated.
When the patch first starts PD shows:
[pix_video]: video driver 0: video4linux v4l
[pix_video]: video driver 1: ieee1394 dv4l dvAfter searching for solutions this afternoon, I tried specifying pix_video messages "driver 0" "device /dev/video0" "colorspace yuv", and also sent "mode 0" to pix_texture.
I also tried LD_PRELOAD=/usr/lib/libv4l/v4lcompat.so pd but also made no difference.
Ideas?
-
pmark23
Trying to play video using pix_film and I'm getting "opening ... ... ... giving up! Unable to open file" errors.
Patch works under Windows, and it works if I change pix_film for pix_image and load a picture.
Error is exactly the same if I manually enter a wrong file name.
The video files play fine with mplayer -- so the codecs are there (and made several versions of the video in all the usual codecs).
Any ideas? I've been through all the forum posts I could find on this topic.
-
pmark23
Forgot to mention a couple things:
I don't think it's permission issues (PD/GEM not being able to open /dev/video0) because the permissions look okay and running PD as root doesn't help.
I also thought that perhaps the video is compressed and this has something to do with video not being rendered under PD on my system, but VLC states that it's an uncompressed video stream. But still...
-
pmark23
Here's the full error message:
GEM: Only using 8 color bits GEM: Direct Rendering enabled! GEM: GLEW version 1.5.1 GEM: Start rendering [pix_film]: opening /home/ccrma/mark/video/testvideo1.mov with format 1908 [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... [pix_film]: ... giving up! error: [pix_film]: unable to open file: /home/ccrma/mark/video/testvideo1.mov