We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello all.
So I successfully completed a project for my Masters where I used IP capture and motion tracking to trigger MIDI and turn a city into a soundscape. I've now been asked to exhibit this as part of Brighton Fringe festival and would like to use a Brighton based live feed instead of a city in America.
Does anyone know how to stream from either of these two sources please?
1st choice of webcam: http://www.skylinewebcams.com/webcam/united-kingdom/england/brighton/brighton.html
Code inside this thread: https://forum.processing.org/two/discussion/25897/night-code
Thank you all kindly! This forum really helped my project come together :)
Answers
Not answered but says answered for some reason?
it has been answered. you answered it by posting a reply.
note that this is different from answered with a tick.
also note that nobody takes any notice of either of these things.
I think you are asking for the IP address of those specific cameras...? (which are, I believe, secret, or at least kept secret by that company and its interface).
Or are you asking for IP ranges associated with Brighton that you could use to filter down lists of public IP feeds?
Alternately, you might consider contacting the YouTube video stream posters through their account or through public pages referencing their project and see if they will provide you with the direct IP.
There's an m3u8 URL associated with the first feed and that'll play if you paste it into vlc, but i doubt ipcapture will handle it. The second feed is YouTube and will be rtmp or whatever and again incompatible with ipcapture. You're going to have to rethink your code. Or find a compatible feed, which might be easier.
(You've also not applied any of the tidying suggested in the previous thread so there's 200 lines of flab in there)
Yes, I understand I may have to use something different to ipcapture. Sorry, that's what I meant to ask, if there is an alternative to ipcapture that would work to get either of those two streams working.
And yes koogs, I do need to tidy up the code. We went straight into a new maxmsp project for my masters and haven't had a chance to sort it out so it's nice and clean
And thank you for letting me know the whole deal on the answered biz. Apologies, I'm still quite a noob round these parts!
That should work with the Processing Video library - the new beta, anyway. Use the link as the filename in Movie. However, it looks like someone in their "wisdom" has decided to restrict the supported URI protocols to
http
only, so if it's anything else you might be out of luck! :-SHmm, I've tried this @neilcsmith_net but keep getting the error The constructor "Movie(sketch320, Strong, Strong, String)" does not exist. I'm probs missing something really basic but cannot see it!
If you are really getting that error, it implies that you have declared objects of type "Strong", not String.
If you aren't, your number and type of arguments are still wrong. What arguments should you use to make a new Movie?
Bugger, sorry, not strong, string!
I've edited it some more, now I'm getting The function "isAvailable() does not exist. This is really confused because when it was IPcapture, it worked and now I've swapped it to movie, it's getting all kinds of errors!
Well, IPCapture is a totally different library, with different methods.
And now you are trying to use the Movie object of the video library, which has other methods:
You said:
Here is a metaphor:
Both for cooking (or playing video), but different ways of working, so different controls. You have to use the controls of the new thing you are using -- not some other thing.