Pix\_mix help example doesn't work
So, I built a project which uses pix_mix, and I couldn't help but notice that the help example doesn't work. Specifically, pix_mix only updates when the left image is updated (unless it works differently on different platforms). So it works fine for movies, but if you have static images and you adjust the mixer input, it doesn't change anything. In the help example, this is exactly what happens. You load two images and then play with the slider and then nothing happens.
In most objects, you could deal with this by just banging the hot input, but banging pix_mix's input just results in an error message that it doesn't know what to do with a bang. In my patch, I've worked around this by storing the left image in a pix_buf and banging the pix_buf, but it doesn't quite seem ideal.
Video mixer help with manipulator objects (RGB, etc)
you mean Color_RGB to a pix_texture, pix_texture to pix_film and pix film is going to pix_mix ?
Compiling on osx \#1
hello
i have hard times on osx here...
system: osx (10.6) on a macbook pro
i downloaded pd, checked it out from git and svn, but so far there is no version i compiled which is working
when i compile the checked out version from git-repository, pd compiles, but when i start it i get this error:
2011-02-18 17:21:56.182 pd[72376:903] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper
2011-02-18 17:21:56.184 pd[72376:903] Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x100600a70 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded)
2011-02-18 17:21:56.189 pd[72376:903] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter: dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter: no matching architecture in universal wrapper
2011-02-18 17:21:56.190 pd[72376:903] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x100602d20 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded)
Error in startup script: couldn't read file "5400": no such file or directory
i dont know what to do.
thanks for any help.
ingo
Unable to lower resolution of unibrain webcams.
yup!
It's super weird.
[pix_videoDarwin]: using RGB
[pix_videoDarwin]: height 480 width 640
[pix_videoDarwin]: starting reset
[pix_videoDarwin]: SG channnel Device List count 6 index 4
[pix_videoDarwin]: SG channnel Device List DV Video
[pix_videoDarwin]: SG channnel Device List DVCPRO HD (1080i50)
[pix_videoDarwin]: SG channnel Device List DVCPRO HD (1080i60)
[pix_videoDarwin]: SG channnel Device List DVCPRO HD (720p60)>
[pix_videoDarwin]: SG channnel Device List IIDC FireWire Videofstg
[pix_videoDarwin]: SG channnel Device List USB Video Class Video
[pix_videoDarwin]: SG channnel Input Device List 0 unibrain Fire-i
error: [pix_videoDarwin]: SGSetChannelDevice returned error -9408
error: [pix_videoDarwin]: SGSetChannelDeviceInput returned error 709
[pix_videoDarwin]: vdigName is unibrain Fire-i
[pix_videoDarwin]: digitizer rect is top 0 bottom 1200 left 0 right 1600
[pix_videoDarwin]: active src rect is top 0 bottom 1200 left 0 right 1600
that's kind of the extent of the messages and I don't really know what to make of it. What's with all that HD jazz? I certainly don't want that.
but yeah, so far, I can only get 1200 1600 and higher. Maybe if I worked in YUV?
edit: I forgot to mention that I'm running a macbook pro with snow leopard.
Sound signals through a picture
Hi.
I have been playing with sig2pix for the past week, but hadn't thought of mixing in images before. I got some good results tonight after seeing your post. It's definitely distorted.
You need one gemhead for pix_image and one for pix_sig2pix~. Pix_texture comes after you combine the two images.
Some good ways to combine are diff, chroma_key, composite, multiply, and add.
The images have to be the same size to work. I like to use pix_crop because you can scroll around a large image while retaining the correct dimensions.
I also like to add in pix_pix2sig~ before the pix_texture. You output each channel to a send~ or a delay, then you can add that back in with your R,G,B,A oscillators. This way you can have one color effect another, or possibly create feedback.
I find that the feedback gets quickly distorted. I don't know how to emulate my friend's analog RGB synth where he gets insane feedback fractals. To calculate 768x576 pixels at 30 fps you would need a sample rate of 13 million hertz. D'oh.
The installation of pix\_opencv
@sonsofsol said:
slowly getting there
i took pd-extended karmic lpia pckg
and opencv karmic i386 pckgand now pdp_opencv externs are working!!!
not the pix_opencv ones though...which id need...
bash says
/usr/lib/pd/extra/pix_opencv_bgsubstract.pd_linux: /usr/lib/pd/extra/pix_opencv_bgsubstract.pd_linux: undefined symbol: _ZNK12GemException6reportEv
pix_opencv_bgsubstract
Did you ever get pix_opencv working. I'm getting the same error.
Multiple delay's
Hello,
Is there a way to put different delay's after each other.
Like:
pix_video
/ \
/ pix_delay
/ \
pix_subtract
/ \
/ pix_delay
/ \
pix_subtract
...
When I do this now twice, I get the message "out of memory" and pd crashes.
Somebody an idee? I would like to put 3 delay's after each other, with some minor effects in between...
Pix\_texture
Hi everyone !
i'm using Gem to Vjing but i have so problems
on display .png or .tif pictures with alpha Layer.
I want to superpose several outlined images without
alpha but png doesn't work on Windows, so i try
on ubuntu:
[gemhead] [alpha] [pix_image] [translateXYZ] [pix_draw]
but i can't resize with pix_draw and it's really slow when
i load a picture....
http://mcnaze.free.fr/pix_draw.png
[gemhead] [alpha] [pix_image] [translateXYZ] [pix_texture] [square 4]
but my images (which are solid color) are displayed with
an ugly outline.
http://mcnaze.free.fr/pix_texture.png
Is there a way to display several clean pictures without alpha?
Thanks a lot.
G.
Playing video on GEM
Hi everyone, I´m doing an exercise loading a video file, but is show me an error on console:
error: [pix_film]: open <filename> [<format>] [<preferred codec#>]
error: pix_film: no method for 'openpanel'
error: $1: argument number out of range
error: [pix_film]: open <filename> [<format>] [<preferred codec#>]
error: pix_film: no method for 'openpanel'
error: $1: argument number out of range
error: [pix_film]: open <filename> [<format>] [<preferred codec#>]
error: pix_film: no method for 'openpanel'
GEM: Stop rendering
saved to: C:/Program Files/pd/VideoFrames.pd
do you have a idea how to solve this, or what I´m doing bad.
Thanks..
GEM and multiple video signals
@sonsofsol said:
@dioioib said:
Well yes I need to take 3 video signals and stack a section of them to form one body or image.
for this id use 3 separate gemchains
everyone looking like:[gemhead]
I
[translateXYZ] -- 0 -1 0 for 1st, 000 for 2nd, 0 1 0 for 3rd
I
[pix_video] -- device 1 - 3 or so
I
[pix_crop] (if needed)
I
[pix_texture]
I
[rectangle]
Sonsofsol regarding [pix_crop]I am having issues with setting dimensions and offsets as there is no information on the sizes. I find that I usually end up with a crop that does not fit to the dimensions required or is not in the proper offset. Am I correct in saying that the dimensions of the capture source are not the same as the rectangle and/or Gem window? If not how do I correct for this issue or does the placement of the [pix_crop] before the [pix_texture] correct the problem I was having?