[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] video streaming / pixel analyzing
if you're on macOS there's the option of using the QuartzComposerView class. it still works under 3.10.
here's an example of how to take webcamera input, display the video inside a sc window and control some parameters...
https://www.fredrikolofsson.com/f0blog/?q=node/609
it integrates pretty well with sc and it should be easy to extract pixel values from the video.
but you'll need to edit the qtz file to do this extraction and that's one of the drawbacks... i'm not sure QuartzComposer (the qtz editor app that used to come with xcode) is supported and longer and to find it you'll have to log in and dig around apple's webpage. but if you don't need cross platform, and manages to create your qtz files, then you can distribute these to other macOS machines without requiring xcode or quartzcomposer installed.
_f
> 19 jan. 2019 kl. 16:03 skrev joseph-baader@xxxxxx:
>
> Hey all,
>
> I'm trying to write a pixel analyzer, based on the SpaceTravel Quark
> (https://github.com/musikinformatik/SpaceTravel) and started by putting
> pixel values of a png file in an array, which works fine. Now I thought
> about doing the same for moving images. Is there any possibility to
> stream video in SC? Of course I could also use Processing to analyze and
> send osc, but using space filling curves could have some benefits e.g.
> in scaleability and why not doing it directly in supercollider if (?)
> there's a possibility...
>
> I'm grateful for any ideas and inspirations!
>
> Joseph
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/
#|
fredrikolofsson.com musicalfieldsforever.com
|#
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/