[Libav-user] Unknown decoder 'copy' = avcodec_find_decoder_by_name("copy") returning 0 on iOS

Wagner Patriota wagner.patriota at gmail.com
Thu May 10 16:47:29 CEST 2012


Hello... I compiled for iOS with the following parameters:

*[in this case, for simulator]*
./configure \
--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
\
--as='/usr/local/bin/gas-preprocessor.pl/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc'
\
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
\
--target-os=darwin \
--arch=i386 \
--cpu=i386 \
--extra-cflags='-arch i386' \
--extra-ldflags='-arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk'
\
--prefix=compiled/i386 \
--enable-cross-compile \
--enable-nonfree \
--enable-gpl \
--enable-postproc \
--enable-avfilter \
--disable-armv5te \
--disable-ffplay \
--disable-ffserver \
--disable-ffprobe \
--disable-doc \
--disable-debug \
--disable-neon \
--disable-pic \
--disable-asm


when I get to avcodec_find_decoder_by_name("copy") ... it returns 0...

I am doing the equivalent of doing "ffmpeg -i input.mp4 output.ts"

any ideia of what is happening?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120510/35ddd9c7/attachment.html>


More information about the Libav-user mailing list