Git Product home page Git Product logo

ofxthreadedvideo's People

Contributors

gameoverhack 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  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  avatar  avatar  avatar

ofxthreadedvideo's Issues

Linux compatibility

Hi
did anybody test ofxThreadedVideo on linux? I'm running successfully an application with the old goThreadedVideo add-on. With the new add-on the movies don't run, they're standing still (like paused). I'm on the of-develop branch on a up to date ubuntu system. Although, the frames are counted correctly. Internally, the movies seems to run, but the texture is not updated.
Best
Urs Hofer

class ofVideoPlayer has no member named setAudioTrackToChannel ?

Hello,
I'm going crazy trying to try to make work your addon which looks pretty nice (I just begin in OF). I have these errors about sound (below). I googled it and I did'nt found anything at all :(
Am I the only one with this issue ?
If you can help me I'd be very grateful :)
Bests,

D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp||In member function 'virtual void ofxThreadedVideo::threadedFunction()':|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|329|error: 'class ofVideoPlayer' has no member named 'setAudioTrackToChannel'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|333|error: 'class ofVideoPlayer' has no member named 'setAudioDevice'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|334|error: 'class ofVideoPlayer' has no member named 'setAudioDevice'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp||In member function 'void ofxThreadedVideo::setPan(float)':|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|541|error: 'class ofVideoPlayer' has no member named 'setPan'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|544|error: 'class ofVideoPlayer' has no member named 'setPan'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp||In member function 'int ofxThreadedVideo::getLoopState()':|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|570|warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp||In member function 'std::vectorstd::basic_string ofxThreadedVideo::getAudioDevices()':|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|828|error: 'class ofVideoPlayer' has no member named 'getAudioDevices'|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp||In member function 'int ofxThreadedVideo::getAudioTrackList()':|
D:\06_LOGICIELS\openFrameWorks\addons\ofxThreadedVideo\src\ofxThreadedVideo.cpp|833|error: 'class ofVideoPlayer' has no member named 'getAudioTrackList'|
||=== Build finished: 7 errors, 1 warnings (0 minutes, 0 seconds) ===|

can't build examples with xcode 7 and ofx 0.8.4

hello all,
i fixed the initial problem of the wrong os x sdk indicated in the example projects, but am running into this error in complication:

no such file or directory: '/Users/ali/Documents/Development/of_v0.8.4_osx_release/addons/addons/ofxThreadedVideo/src/ofxThreadedVideo.cpp'

i see that the path isn't right (double /addons) but not sure how to fix it. any ideas?

ofGetGLTypePixelFormat

I'm getting an error at this line:

            textures[loadVideoID].allocate(w, h, ofGetGLTypeFromPixelFormat(internalPixelFormat));

...and the compiler message "ofGetGLTypePixelFormat" was not declared in this scope.

I haven't looked at fixing it yet, just thought I'd pass the info on.

ofxThreadedVideoNullCommand instantiated?

Are you sure ofxThreadedVideoNullCommand is instantiated? It is declared in ofxThreadedVideo.h but I think static variables need to be instantiated in the body file, no? They are a bit odd I think. Not sure why its a global static and not a class variable, but making following change seems to have fixed the issue with null ofxThreadedVideoNullCommand. Have yet to test thoroughly.

static ofxThreadedVideoCommand ofxThreadedVideoNullCommand;

Got a crash on line

ofxThreadedVideoCommand ofxThreadedVideo::getCommand(){
>>> return ofxThreadedVideoNullCommand;

Turned it into a class static variable

class ofxThreadedVideo : public ofThread {

public:
    static ofxThreadedVideoCommand ofxThreadedVideoNullCommand;
}
#include "ofxThreadedVideo.h"
ofxThreadedVideoCommand ofxThreadedVideo::ofxThreadedVideoNullCommand;


ofxThreadedVideoCommand ofxThreadedVideo::getCommand(){
    if(ofxThreadedVideoCommands.size() > 0){
        return ofxThreadedVideoCommands.front();
    }else{
        return ofxThreadedVideo::ofxThreadedVideoNullCommand;
    }
}

avoid loading corrupted mov file

Hi.
I was hoping to find a way to avoid loading .mov files if they are corrupted. This means it has no dimension and length info when i look at it in the OS X file window.

I noticed the addon hast this call:

video->loadMovie(filePathName);
video->getLoadFail();

But this line does not return anything if the file is corrupted. Actually we do not even get to that line of the code. Instead we get this console print.
error message:

[ error ] ofQuickTimePlayer: createMovieFromPath(): couldn't load movie, NewMovieFromFile failed: OSErr -2048
[ error ] Could not load: 3 + loadMovie(../../../recordings/2016-04-27-11-11-31-102.mov)

Do you think there is a way to catch this message through the addon and prevent the file from being used?

thanks.

OF 0.9.3

amazing addon.
i am running 100 128x64 files at the same time on OF 0.9.0 on OS X 10.10.5.

do you know what it would take to make it work with OF 0.9.3? All my other parts are written in 0.9.3.

also, quicktime is 64-bit if i am not mistaken. why the need to compile again 32-bit?

thanks a bunch.

QTMovie_QuickTime class must be initialized on the main thread

Hi, both example projects are crashing on startup for me at the same place. I think its happening at this line:

if(videos[loadVideoID].loadMovie(paths[loadVideoID])){

i get this:
2012-10-09 23:29:43.772 ofxThreadedVideoExampleDebug[42256:5407] An uncaught exception was raised
2012-10-09 23:29:43.772 ofxThreadedVideoExampleDebug[42256:5407] QTMovie_QuickTime class must be initialized on the main thread.
2012-10-11 13:31:48.633 ofxThreadedVideoExample1Debug[1553:5007] *** Terminating app due to uncaught exception 'QTMovieInitializedOnWrongThread', reason: 'QTMovie_QuickTime class must be initialized on the main thread.'

I'm on osx 10.8 and xcode 10.5.

Any help is much appreciated.

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.