Skip to content

Instantly share code, notes, and snippets.

@natxopedreira
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natxopedreira/0e0584c538b912af83ea to your computer and use it in GitHub Desktop.
Save natxopedreira/0e0584c538b912af83ea to your computer and use it in GitHub Desktop.
gstreamer on mac
ofxGstreamer
descargar addon
https://github.com/arturoc/ofxGStreamer
- http://mknod.jp/?cat=13
descargar e instalar
+ http://gstreamer.freedesktop.org/data/pkg/osx/1.2.2/gstreamer-1.0-1.2.2-universal.pkg
+ http://gstreamer.freedesktop.org/data/pkg/osx/1.0.8/gstreamer-1.0-1.0.8-universal.pkg
+ http://gstreamer.freedesktop.org/data/pkg/osx/1.2.1/gstreamer-1.0-1.2.1-universal-packages.dmg
- instalar solo lo siguiente de este dmg
- gstreamer-1.0-libav-1.0.8-Universal.Pkg
- gstreamer-1.0-codecs-restricted-1.0.8-Universal.Pkg
- gstreamer-1.0-net-restricted-1.0.8-Universal.Pkg
configuracion xcode
- search path: /Library/Frameworks/GStreamer.framework/Headers
- other link flags: -F/Library/Frameworks -framework GStreamer
agregar
- ofGstUtils.h
- ofGstUtils.cpp
- ofGstVideoPlayer.h
- ofGstVideoPlayer.cpp
ofApp.cpp
- include #include "ofGstVideoPlayer.h"
- video.setPlayer(ofPtr<ofGstVideoPlayer>(new ofGstVideoPlayer));
and DONE
si usas algo con xml o los libsockets maybe te de un error de assert en ese caso borra el archivo o rename
/Library/Frameworks/GStreamer.framework/Headers assert.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment