Troubles with video in GEM-Vista
Hi everyone! It´s me again with more newb troubles
After resolve my troubles with GEM, all was fine. The video and pix_texture work fine.
Recently, I started to take video with my cell phone and save it in .3gp file format. When I tried to convert the files, I have to download the necesary códecs to convert in .avi and work it with GEM. And the result was:
(see the image attached)
I try many ways to fix this (saving the file with many parameters), but it´s dificult because I unknown the real trouble here.
This image was saved without compresion (uncompressed). When I work with an AVI compressed file, the video appears completly, but "dissolves it" when I try to manipulate the frame.
The same video was played in Windows Media Player and work fine.
Can you help me? I work with Windows Vista and Pd 0.41-4 (non extended); GEM 0.90. The video from the picture above was AVI uncompressed.
Thank you for your time. Nice day
Audio Help
you need to be more specific with some details here...
are you trying to play the video included in the video files? if so i'm not sure what approach you'd take, it seems all the [pix_***] objects related to video are just that, only video... maybe rip the audio off the video and use the same lookup control on the array with the audio that you use to read through the video, so they stay in sync...
you can never include too much info when looking for help, your post is a bit vague to respond to in detail... i don't know pdp much at all but maybe there's an alternative there (and i know there's objects like pix2pdp and vice versa if i'm not mistaken, so you can mix pdp and GEM where you'd need to)...
also always make sure to patch to a DAC~, check the test audio and midi screen in your menu, etc... on multiple occasions i'd pull my hair out wondering why something wouldn't work only to realize the instance of Pd i was running didn't have 'control' of the soundcard and therefore wouldn't output any audio.
Seeking Sompatible Video Capture Card - Composite Video on Linux
hi all.
for a project we're working on at the moment, we've been looking for a usb video composite capture card that would work with pd/GEM on Linux OS. we bought a Pinnacle PCTV USB2 that works fine on Linux with the usbvision driver, but somehow crashes GEM. we've posted the error log on the pd and gem-dev list, with no luck until now. so here it is again in case someone around here can help :
we want to use [pix_video] with a USB video capture device (Pinnacle PCTV USB2). But when we send [1( to [pix_video], pd says :
GEM: Start rendering
pix_videoNEW: starting transfer
cap: name Pinnacle PCTV USB 2 type 3 channels 3 maxw 720 maxh 576 minw 48 minh 32
picture: brightness 32896 depth 21571 palette 8
channel 0 name Television type 1 flags 1
channel 1 name Composite1 type 2 flags 0
channel 2 name S-Video type 2 flags 0
setting to channel 1
closing video
pix_texture: not using client storage
and all that we can see is a white rectangle.
XTerm is saying : VIDIOCGMBUF: Invalid argument
When we stop rendering with [0(, pd crashes.
we're on Ubuntu 6.06 LTS with Pd 0.39-2 / GEM 0.90. The USB video capture device is a Pinnacle PCTV Analog USB2
we had no trouble for getting the box to work with the video4linux drivers.
It works well with TVTime, but not with GEM. It seems everything goes well (using pix_videoNEW, listing the video channels, choosing the good one), and then this message "closing video". Why ?
we've tried the patch on Windows XP and have no problems with [pix_video] with this video capture device.
Any ideas ?
Saving video files in the pd patch?
as promised...a little tutorial on setting default values and restoring saved values in a pd patch. i hope this helps.
the patch is at [url=http://www.geocities.com/z_fron/saving.zip
]http://www.geocities.com/z_fron/saving.zip
sorry it's a zip file, but geocities won't let you upload .pd files for some reason.
pidaid, let me know if you need help applying this to your videos. i am not quite clear on what you mean you want to save the file names or save the actual video in the patch. saving filenames and having them loaded automatically when you start your patch shouldn't be a problem, but there is no way to save the video in the patch file (.pd files just contain text.) although....(this is pretty farfetched), you could save an image or video with in a patch if there were a way to convert the image or video into an array. but then you'd have to convert it back to a video and it would really be a waste of time and by no means useful or necessary or benificial in anyway that i can see.
cheers,
hilbert~