GithubHelp home page GithubHelp logo

petroskataras / ofxgstvideosyncplayer Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 12.0 417 KB

An openFrameworks addon for playing back videos in sync over the network using GStreamer.

License: MIT License

Makefile 10.96% C++ 89.04%

ofxgstvideosyncplayer's People

Contributors

petroskataras avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ofxgstvideosyncplayer's Issues

Not compiling on xubuntu 14.04 32bits

after the adaptations you mention in the config.make, i get this issue:

Compiling VGsyncPlayer for Release

checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0  gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu     glew gtk+-3.0 libmpg123 

Package gstnet-1.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gstnet-1.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gstnet-1.0' found

Package gstnet-1.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gstnet-1.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gstnet-1.0' found

Package gstnet-1.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gstnet-1.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gstnet-1.0' found

i've checked my gstreamer libs, and everything seems ok:
/usr/include/gstreamer-1.0/gst/net
/usr/include/gstreamer-1.0/gst/net/gstnet.h
/usr/include/gstreamer-1.0/gst/net/gstnetaddressmeta.h
/usr/include/gstreamer-1.0/gst/net/gstnetclientclock.h
/usr/include/gstreamer-1.0/gst/net/gstnettimepacket.h
/usr/include/gstreamer-1.0/gst/net/gstnettimeprovider.h
/usr/include/gstreamer-1.0/gst/net/net.h

could you give me some feedback on what i've done wrong?

ofVideoPlayer draw changes?

I had to alter the draw function in the .cpp to:

void ofxGstVideoSyncPlayer::draw( ofPoint _pos, float _width, float _height )
{
    if( !m_videoPlayer.getPixels().isAllocated() || !m_videoPlayer.getTexture().isAllocated() ) return;

    if( _width == -1 || _height == -1 ){
        m_videoPlayer.draw(_pos.x, _pos.y);
    }
    else{
        m_videoPlayer.draw(_pos.x, _pos.y, _width, _height);
    }
}

to get it to work - simple change. Basically it did not like the ofPoint and wanted the x and y instead?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.