
Recherche avancée
Autres articles (98)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8780)
-
FFmpeg make : *** [libavdevice/avfoundation.o] Error 1
29 décembre 2014, par Althen Lim Zi XuanI’m very new (1 weeks ago) to Mac OS environment and I have to create a iPhone apps using FFmpeg (I’m new to this, too !). This is what I’ve done to import FFmpeg library.
First, here’s the environment :
OS: Mac OS X 10.7.5
Xcode: 4.5
FFmpeg: 2.5 (Latest update of 04/12/2014)So I download from FFmpeg.org using command :
git clone git://source.ffmpeg.org/ffmpeg.git ~/ffmpeg
and create the folder in it :
cd ffmpeg
mkdir i386
mkdir armv7
mkdir armv7s
mkdir -p universal/libI download the gas-preprocessor.pl from yuvi and copied into /usr/bin and /usr/local/bin with READ/WRITE access for all.
However, I do encounter the error as title mentions during the making process of armv7 and armv7s which appear like this :
make: *** [libavdevice/avfoundation.o] Error 1
Can anyone teach me how to deal with it ? Here’s my configuration.
For i386 : (Compilation success and I saw files and folder in i386 folder)
./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/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2" --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.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/iPhoneSimulator6.0.sdk"--prefix=compiled/i386 --enable-cross-compile --enable-nonfree --enable-gpl --disable-armv5te --disable-swscale-alpha --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-debug
For armv7 :
./configure --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as="/usr/local/bin/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2" --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk --target-os=darwin --arch=arm --cpu=cortex-a8 --extra-cflags="-arch armv7" --extra-ldflags="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk" --prefix=compiled/armv7 --enable-cross-compile --enable-nonfree --enable-gpl --disable-armv5te --disable-swscale-alpha --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-debug
and for armv7s :
./configure --prefix=armv7s --as="/usr/local/bin/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2" --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk" --target-os=darwin --cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" --extra-cflags="-arch armv7s -mfpu=neon -miphoneos-version-min=6.0" --extra-ldflags="-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=6.0" --arch=arm --cpu=cortex-a9 --enable-pic
If any necessary information needed please do inform me and I will upload it A.S.A.P. Any help, comment, guideline are highly appreciated. Thanks !
Updated :
This is the error I received during the making process. I have no idea but hope that it helps in configuring out problem :CC libavdevice/alldevices.o
CC libavdevice/avdevice.o
CC libavdevice/avfoundation.o
libavdevice/avfoundation.m:44: error: initializer element is not constant
libavdevice/avfoundation.m:44: error: (near initialization for ‘avf_time_base_q.den’)
libavdevice/avfoundation.m:74:5: warning: "__MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
libavdevice/avfoundation.m: In function ‘add_video_device’:
libavdevice/avfoundation.m:300: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:355: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:364: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m: In function ‘add_audio_device’:
libavdevice/avfoundation.m:407: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m: In function ‘get_video_config’:
libavdevice/avfoundation.m:432: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:442: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m: In function ‘get_audio_config’:
libavdevice/avfoundation.m:470: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:480: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m: In function ‘avf_read_header’:
libavdevice/avfoundation.m:534: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:539:5: warning: "__MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
libavdevice/avfoundation.m:546: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:554:5: warning: "__MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
libavdevice/avfoundation.m:575: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:596:5: warning: "__MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
libavdevice/avfoundation.m:619:5: warning: "__MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
libavdevice/avfoundation.m: In function ‘avf_read_packet’:
libavdevice/avfoundation.m:724: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:739: warning: ISO C90 forbids mixed declarations and code
libavdevice/avfoundation.m:776: warning: ISO C90 forbids mixed declarations and code
make: *** [libavdevice/avfoundation.o] Error 1 -
Error when compiling FAAC for iOS
6 novembre 2014, par 谢小进I want to compile
FAAC
for iOS, includingi386
,x86_64
,armv7
,armv7s
,arm64
. I am using this shell script and when I run it, onlyi386
andx86_64
are built. The current code is like this :#!/bin/sh
# OS X Mavericks, Xcode 5.1
set -ex
VERSION="1.28"
CURRPATH=`pwd`
SOURCE="faac-$VERSION"
DSTDIR="libfaac"
SDKVERSION="7.1"
ARCHS="i386 x86_64 armv7 armv7s arm64"
DEVELOPER="/Applications/Xcode.app/Contents/Developer"
rm -rf $DSTDIR
mkdir $DSTDIR
tar jxf $SOURCE.tar.gz
cd $SOURCE
for ARCH in $ARCHS; do
mkdir -p $CURRPATH/$DSTDIR/$ARCH
if [ $ARCH == "i386" -o $ARCH == "x86_64" ]; then
PLATFORM="iPhoneSimulator"
if [ $ARCH = "i386" ]; then
HOST="--host=i386-apple-darwin"
fi
else
PLATFORM="iPhoneOS"
HOST="--host=arm-apple-darwin"
fi
SDK="$DEVELOPER/Platforms/$PLATFORM.platform/Developer/SDKs/$PLATFORM$SDKVERSION.sdk"
IOSMV="-miphoneos-version-min=7.0"
export CC="$DEVELOPER/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
export CFLAGS="$IOSMV -arch $ARCH"
export LDFLAGS="$IOSMV -arch $ARCH -isysroot $SDK"
export LIBS="-L$SDK/usr/lib"
export CXXFLAGS="$IOSMV -arch $ARCH -I$SDK/usr/include"
./configure \
$HOST \
--prefix=$CURRPATH/$DSTDIR/$ARCH
make && make install && make clean
done
cd ..
mkdir -p $DSTDIR/lib
lipo -create `find $DSTDIR -name libfdk-aac.a` -output $DSTDIR/lib/libfdk-aac.a
cp -rf $DSTDIR/$ARCH/include $DSTDIR
for ARCH in $ARCHS; do
rm -rf $DSTDIR/$ARCH
doneCan somebody tell me why
armv7
,armv7s
,arm64
are not built correct ? If needed, where can I change them ? Maybe it could be like-host=
value. but I have used-host=armv7-apple-darwin
,-host=armv7s-apple-darwin
, and-host=arm64-apple-darwin
, it’s not correct either. -
update all trac links to use the trac subdomain
29 juin 2013, par Michael Niedermayer