[PD] pix_video

zmoelnig at iem.at zmoelnig at iem.at
Sun Oct 26 19:07:43 CET 2003


Zitiere marius schebella <marius.schebella at chello.at>:

> hi,
> hmm, seems I run into a driver problem. I got the current CVS-version
> compiled again, alpha-blending is now working, but the video is
> vertically
> flipped... (linux)
> on windows the pix_video crashes pd.
> are there more versions of the pix_video?
> marius.
> 
> 
of course there are.
accessing a grabbing device is (unfortunately) something very OS-specific.
so the core code of pix_video differs significantly for all OSs.
however, functionality should be the same on all platforms (grab images from
your video-cam), and it is called [pix_video] on all platforms.

[pix_videoLinux], [pix_videoNT], [pix_videoDarwin], [pix_videoNEW] are also
names you may stumble across, but i really *discourage* anyone to use these, as
they should(!) break your patches in terms of cross-compatibility. [pix_video]
should choose the right one for you...

[pix_video_ds]: it is a bad thing, that this cannot be accessed as [pix_video]
right now.
hopefully i will change this soon...
the reason why it has a different name is purely historic (having emerged from
an external to Gem and thus having to avoid name-clashes) and i think it is
still not 100% compatible to the [pix_video] syntax.

[pix_videoYUV]: normally [pix_video] should produce RGBA (values) (but it might
produce RGB only, which i'll have to check). on macOS you could use
[pix_videoYUV] to get YUV-video, but this really should go into [pix_video] + a
[colorspace( message. but of course i cannot really discourage the use of this,
as long as there are no alternatives...

so basically, this is a todo-list for developers ;-)


mfg.ad.sf
IOhannes




More information about the Pd-list mailing list