[Libav-user] No accelerated colorspace conversion - What does it mean?

Gary Overall goverall at hotmail.com
Sat Apr 20 16:51:25 CEST 2013


I receive the following message:







[swscaler @ 0x8b0de00] No accelerated colorspace conversion found from yuv420p to rgb24.
when issuing:







        sws_ctx =
        sws_getContext
        (
         pCodecCtx->width,
         pCodecCtx->height,
         pCodecCtx->pix_fmt,
         pCodecCtx->width,
         pCodecCtx->height,
         PIX_FMT_RGB24,
         SWS_BILINEAR,
         NULL,
         NULL,
         NULL
         );
in my iOS app when running the iPhone or IPad simulator.  I am decoding and h264 video. I had to turn off assembler optimizations (--disable-asm) in my configure script for the i386 compile in order to avoid the following error during the make of the i386 libraries:
cc1: error in backend: Ran out of registers during register allocation!make: *** [libavcodec/h264_cabac.o] Error 1
My questions:1) Does "No accelerated colorspace conversion found" mean that there were no assembler optimizations?2) If so, is there a way to make it run without assembler optimizations? ( I don't mind if it is slow on the simulator)3) If so again, how do I avoid the error when attempting the make with assembler optimizations?4) Most importantly, am I even on the right path to solving this problem?
I truly appreciate your kind response:
Here is a copy of my configure command for the i386 build.

./configure \--prefix=i386 \--disable-programs \--enable-avresample \--disable-bzlib --disable-doc --enable-pic --disable-zlib --enable-decoder=h264 --enable-demuxer=h264 --enable-parser=h264 --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvorbis --disable-libvpx \--enable-cross-compile \--sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk" \--target-os=darwin \--cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc" \--extra-cflags="-arch i386" \--extra-ldflags="-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk" \--arch=i386 \--cpu=i386 \--enable-pic \--disable-asm \
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130420/5aff00ec/attachment.html>


More information about the Libav-user mailing list