We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › gsvideo with (slightly) better OSX support
Pages: 1 2 
gsvideo with (slightly) better OSX support (Read 3409 times)
Re: gsvideo with (slightly) better OSX support
Reply #15 - Mar 23rd, 2009, 5:03pm
 
Heya Andres, thanks for building this library.  I've seen some compelling projects made with it and am anxious to use it in my own.

I installed the latest versions of gsvideo and gsstreamer on my macbook running 10.5.6 and have had some weird results.  Using the forceGlobalGstreamer hack I can get some of the examples such as GettingStartedCaptureOSX to compile, but the webcam image always shows the background objects as bright green and the foreground objects as bright pink.

On other examples such as FastWebcam I get a similar error to vuhec.  Any ideas?  
Re: gsvideo with (slightly) better OSX support
Reply #16 - Mar 23rd, 2009, 8:34pm
 
Hi!

I have tested capture on a few prev-gen (not unibody) macbooks using the built-in webcam, and worked ok.

What model of macbook are you using?


Re: gsvideo with (slightly) better OSX support
Reply #17 - Mar 23rd, 2009, 9:13pm
 
Here's my System Profiler Readout:

 Model Name:MacBook
 Model Identifier:MacBook2,1
 Processor Name:Intel Core 2 Duo
 Processor Speed:2.16 GHz
 Number Of Processors:1
 Total Number Of Cores:2
 L2 Cache:4 MB
 Memory:2 GB
 Bus Speed:667 MHz
 Boot ROM Version:MB21.00A5.B07
 SMC Version:1.17f0

Its possible that I didn't install the opt correctly.  I simply copied my old one to a new name, deleted it, then dropped yours in its place.  Do I need to do any of the python scripting or terminal work that is mentioned in previous posts or have i done all thats required for this build of gsvideo?
Re: gsvideo with (slightly) better OSX support
Reply #18 - Mar 23rd, 2009, 11:28pm
 
There is no special instructions to install the opt.zip package that contains the gstreamer binaries, what you did is just fine.

I think the problem is probably due to the rather incomplete status of the osxvideosrc plugin that gsvideo uses for capture on OSX (at this point, it is the only gstreamer capture plugin available on Mac).

I'll be preparing a better gstreamer installer in the next few days, but properly fixing osxvideosrc will take some more time, unfortunately.
Re: gsvideo with (slightly) better OSX support
Reply #19 - Mar 23rd, 2009, 11:54pm
 
No worries, I'll continue to mess around with it and let you know if I discover anything useful.
Re: gsvideo with (slightly) better OSX support
Reply #20 - Mar 24th, 2009, 7:14am
 
This makes not big difference, but I prepared a proper package installer for the gstreamer binaries I put online earlier (which are good only for Leopard on Intel):

http://users.design.ucla.edu/~acolubri/test/gstreamer/macosx/GStreamer-MacBuild-0.10.0-Leopard.dmg

I also discovered that, in order to have a working version of gstreamer on Tiger (10.4), I need to recompile it on a Tiger machine. At least, this is what I understood from reading macports wiki entry on this topic:

"If you choose to use ports built on one Mac on another, both must have the same major version of Mac OS X installed, preferably the same version entirely"

(from http://trac.macports.org/wiki/howto/buildUniversal)

Re: gsvideo with (slightly) better OSX support
Reply #21 - Apr 3rd, 2009, 5:30pm
 
I just released version 0.5, which in OSX uses a new GStreamer installer. Check the details here:

http://codeanticode.wordpress.com/2009/04/03/gsvideo-05-released/
Pages: 1 2