hi, i thought i had seen (few months ago) mention of someone using Pd to display images from Flickr, but can not find any mention of it anywhere now
is anyone doing this and if so, how? i'd also like to access youtube videos, but images will do for now.
oh, i also need mysql and email access within puredata/gem; i can't find a good database of externals/patches
yes, that was me. I used python and the flickr api to do this. there is an unofficial release at http://www.parasitaere-kapazitaeten.net/Pd/pd_flickr. (I will have to look into it again and have to clean up the code and give better documentation. I use python to talk to flickr, search for tags and then download the images to a local folder, and parse the local address to pd, so that pd can open the image. there is no way to do all that with native pd objects yet. youtube videos are more tricky, because you would have to convert them from flash to some readable file format. feel free to download and test, (I am not sure, if it still works, but you will get the concept) and I did not include my flickr-api key, (so you have to get one). I will look into it again and can help you with questions... marius.
Joseph Barrows wrote:
hi, i thought i had seen (few months ago) mention of someone using Pd to display images from Flickr, but can not find any mention of it anywhere now
is anyone doing this and if so, how? i'd also like to access youtube videos, but images will do for now.
oh, i also need mysql and email access within puredata/gem; i can't find a good database of externals/patches
-- Joseph Barrows live video performance; web site design; new media artist jjbarrows.artwww.net http://jjbarrows.artwww.net jjbarrows@artwww.net mailto:jjbarrows@artwww.net
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
marius schebella wrote:
youtube videos are more tricky, because you would have to convert them from flash to some readable file format.
as gem has ffmpeg support, and ffmpeg can read flash (flv) videos, then i can only assume that it is possible to do as marius describes with youtube (with access permssions to the youtube API).. from previous experience the youtube API is quite straight forward to script with and i think the results could be quite pleasing.. as my machine had begun to disintegrate on the video side i can't actually test this theory.. but it's certainly feasible.. otherwise running numerous video conversion apps at a script level would definitely sort you out at the obvious expense of CPU.. i think this activity is certainly worth pursuing even encouraging, a whole world (worthy?) of sampling.. i have seen max/msp/jitter based work that does as described, can anyone tell me if this is done natively?
Quoting marius schebella marius.schebella@gmail.com:
youtube videos are more tricky, because you would have to convert them from flash to some readable file format.
i have written a pdp object to play-back flv files; i posted the link
to the sources a while ago.
i still haven't done a real port to Gem (as the project that needed
the flv-support was already built on pdp)
fgmads.r IOhannes
This message was sent using IMP, the Internet Messaging Program.
On Feb 24, 2008, at 5:56 AM, zmoelnig@iem.at wrote:
Quoting marius schebella marius.schebella@gmail.com:
youtube videos are more tricky, because you would have to convert
them from flash to some readable file format.i have written a pdp object to play-back flv files; i posted the link to the sources a while ago. i still haven't done a real port to Gem (as the project that needed the flv-support was already built on pdp)
I looked a bit and couldn't find this. Any chance of getting this in
SVN? Sounds useful.
.hc
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra