申し訳ありません、このコンテンツはただ今 Españolと English のみです。
Related content:
- (English) Install OpenCV 2.3.1a in Ubuntu 11.10
- (English) Install OpenCV 2.3.1a in Mac OS X 10.6
- (English) Install OpenCV in Ubuntu 10.10
- (English) Can’t configure with cmake in Mac OS X 10.8 and Xcode 4.4
It helps a lot. Do you know how to utilize ffmpeg writing videos under XCode? I can’t make the VideoWriter work with the OpenCV 2.4.2. I hope you can help me out with this if you know the solution.
Sorry but I’ve never used ffmpeg to write videos. You should look at the oficial documentation for an example or something like that.
FFMPEG on MAC patch outlined above is still required for Open CV 2.4.3 as well.
GREAT STUFF!
Thanks for the tutorial .. I have successfully installed and have a working simple opencv videocapture application. The capture happens from a file, but I have been unsuccessfully in deploying this application onto a different computer the one without opencv or ffmpeg. More info the question here: http://stackoverflow.com/questions/15299691/opencv-ffmpeg-video-capture-filename-avi-crashes-on-a-non-development-machi
If it works in your development computer but does not in another computer it should be a problem in the libraries. You should try installing the exact same versions of OpenCV, ffmpeg and Qt in the other computer. I don’t know anything about otool and the deployment proccess of apps with it. Probably it’s a problem in the paths.
By the way, in your code you resize the image to 604×480 and I’m pretty sure you want to resize it to 640×480.
Hi enekochan,..Yes, if I install those libraries on the other system it works fine, its only when I try and package an application this happens. I have been going throught the app bundle for the last 8hours to make sure each of the dependency is correctly linked. Looks like a bug in the opencv ffmpeg, or the qt end.
And yes it was suppose to 640 x 480…thanks for pointing it out.
Hey thanks for the tutorial, I’ve been looking for something like this. I’m having a problem when i make faad.
ld: warning: ignoring file ../common/mp4ff/libmp4ff.a, file was built for archive which is not the architecture being linked (i386): ../common/mp4ff/libmp4ff.a
Undefined symbols for architecture i386:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can’t open input file: /var/tmp//ccJylCwD.out (No such file or directory)
make[2]: *** [faad] Error 1
make[1]: *** [all-recursive] Error 1
Thanks,
Still usefull one year later
Thanks!
I can’t believe that the more “official” opencv web pages don’t mention any of this. One has to google to find such information.
You are a life saver man!
cheers