Install OpenCV to recognize FFMPEG on Mac OS 10.9.2

1,617 views
Skip to first unread message

Zack Mitchell

unread,
Mar 27, 2014, 10:18:01 AM3/27/14
to pupil-...@googlegroups.com
Hi all,

First off - this software is awesome. I've just gotten into using it for a project and it's really fantastic, especially all the new releases. 

I'm currently running Pupil 3.8 (also the last few versions prior) on a MacBook Pro Retina from 2013 with OS 10.9.2.

I had a bit of a problem with getting Pupil to record properly and it took me a bit of time figuring out how to fix it so I thought I'd share my process. Like a few other posts I saw, all the files were working properly except world.avi and eye.avi were holding steady at 414k no matter what I did. Reinstalling OpenCV with -v (brew install opencv -v) and reading other comments led me to realize it was an FFMPEG problem, mainly OpenCV not recognizing FFMPEG at all. After trying to reinstall all dependencies in the proper order, trying 'brew install opencv --env=std', etc I felt a bit stuck.

My solution was installing with Homebrew 'options'. Doing 'brew options ffmpeg' led me to realize there was a much more robust set of dependencies to install and doing 'brew open opencv' let me realize there is actually a '--with-ffmpeg' option. So 'brew install opencv --with-ffmpeg' solved my problem. Use -v to check. 

Cheers,

Zack 

Moritz Kassner

unread,
Mar 27, 2014, 10:57:31 AM3/27/14
to pupil-...@googlegroups.com
hi Zack,

Thanks for the kind words. Its really cool to hear from people using Pupil and enjoying it!

Your findings about opencv and ffmpeg is a known annoyance with brew and opencv (brew just changes all the time) so this is really helpful. I will test it myself and update the instructions.

best,

m


--
You received this message because you are subscribed to the Google Groups "pupil-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pupil-discus...@googlegroups.com.
To post to this group, send email to pupil-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pupil-discuss/7f4aacec-b61a-4573-93e3-3b2be675c65a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages