Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

videos and frameworks for contours-following and contours-tracking did not link or play initially #144

Open
sethismyfriend opened this issue Dec 27, 2014 · 3 comments

Comments

@sethismyfriend
Copy link

I had a series of linking errors which I resolved by adding CoreMedia, Foundation, Quartz and AVFoundation frameworks.

Then the app built but did not correctly load the movie - "video.mov" included in bin/data. I tried playing this in the standard videograbber example and it also did not play there. In quicktime these videos use different compressions - I switched the sorenson to H.264 - and now it plays fine.

I didn't want to do a pull request because I don't think I needed to link all these frameworks. Using the master branch of OF from github.

@kylemcdonald
Copy link
Owner

if you're using the master branch of OF can you make sure you are also using the develop branch of ofxCv?

there have been some big changes to OF recently that break compatibility so i'm developing in a new branch.

once you test develop please let me know if you have the same probelsm.

also, which OS? i'm only running 10.9 at the moment and might not have access to the latest crop of bugs.

@nylki
Copy link

nylki commented Feb 20, 2015

I suppose my problems with the contour examples relate to this issue?
I am on OF master and checked out ofxCV develop on OS X 10.8. The window stays black and the console logs the following when running the contour examples that use the .mov:
[ error ] ofTexture: getTextureData(): texture has not been allocated

@mattfelsen
Copy link

I was seeing this same issue with videos playing back (but not any linking problems). I've seen similar things before with QuickTime...when you try to open the video.mov from example-contours-traacking, QuickTime first "converts" it to H.264. Saving that file & then playing it back works fine. FWIW I also tried converting video.mov with MPEG Streamclip to H.264 as that works as well. As @sethismyfriend mentioned, VLC says the original file is Sorenson SVQ-3 and the new ones are H.264.

I'd submit a PR with the new video, but it doesn't play on Windows. Womp womp. Not sure if it's a codec issue or something else going on with video playback on Windows, so I'll hold off for now - just wanted to get this documented for anyone else who runs into the same issue and/or anyone who knows more about video on Windows 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants