Still working on it

Bringing in images from another location is always challenging.

I began with the Android code in which I blame the errors more on the unpredictability of the handset I was working with rather than the code and ended up with this.

android test

I then moved on the UDP part. I decided not use the Android for this and instead attempted to stream UDP video from Quicktime Broadcaster and VLC.

Though the code for the UDP sketch accepts MotionJPEG encoded images, I attempted to make the same settings on both the streaming settings and port settings.

Unfortunately that didn’t work either because the streams from QT Broadcaster are still wrapped in QT codec which Apple has discontinued as of OSX 10.6 and have not yet released their “new” quicktime even if it’s already running on iMovie, FCP, and iOS. VLC was a bit trickier and was much worse off than QT Broadcaster. Technically speaking the initial data stream that goes into Processing waiting for MotionJPEG is expecting a 000000 header and not 00X0 00X00 which QT is sending.

Currently I have a motion capture application running at home taking pictures during the day when it detect movement and uploading it to a web server. I’m now at parsing the images I’m getting but getting the ever changing naming convention of the files to be latest is where I’m at right now. I may integrate this into my midterm project but it all depends if I can get it up and running by Wednesday.

Comments are closed.