From: Thormodo <gam...@ho...> - 2011-05-03 15:12:42
|
Hello, I finished installing OpenCV today on my Gumstix. (Just by installing all the required packages (opencv, ffmpeg, libx264 etcetera) via opkg). After that I native compiled a piece of code. Now everything seems to work okayish, as I can process an image and display it etc. Because I want to use the Caspa Camera later (it's not here yet), I tried to grab a frame from an .avi file and save it. Now I do get the captured frame saved, but I also get the warning below (per frame that I take). [Swscaler @ 0xaef00] No accelerated colorspace conversion found from yuv420p to bgr24. Now on the PC I fixed this warning by compiling and reinstalling x264, libx264-dev, and ffmpeg like so: http://ubuntuforums.org/showthread.php?t=786095 Then installing OpenCV like so: http://www.samontab.com/web/2010/04/installing-opencv-2-1-in-ubuntu/ (As suggested by this post: This problem is basically an issue converting YUV to RGB using ffmpeg, in order for it to work ffmpeg needs to be recompiled with x264. To get around it use the following to recompile ffmpeg and OpenCV 2.1/2.2: http://alexsleat.co.uk/2011/01/09/how-to-fix-no-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24-opencv-2-2-0-ubuntu-10-10/ ) So my question is, has anyone used OpenCV on the Gumstix and has seen this warning before and knows how to fix it? Thanks, Maarten -- View this message in context: http://old.nabble.com/-OpenCV--No-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24.-tp31533444p31533444.html Sent from the Gumstix mailing list archive at Nabble.com. |