
Recherche avancée
Autres articles (58)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (5384)
-
Evolution #2873 : Pas de "répondre à ce message" dans la messagerie interne
3 mai 2013, par cedric -oui, ce n’étaient pas des fils de discussion mais des forums, hétéroclite par rapport aux messages. Il faut implémenter la notion de thread pour afficher une discussion complète dans une page, et le bouton "Répondre à ce message" est ensuite juste une question d’interface.
-
MAC's "say" command to MP3 [closed]
13 mars 2015, par lx0741I want to read a very long text with the SAY mac’s command (
say -f file.txt
), and to record the output tofile.mp3
. I thought about using ffmpeg to record all of it, but then i’ll need to wait for all the reading process to complete..I don’t really need to listen to it, so if there is a way to directly have an
mp3
file just by hitting enter, it would be great..There is also this project txt2mp3mac but i can’t use it in a shell script..
Thanks..
Update
Check this gist for a script that does it
-
ffmpeg on iOS 5.1 Undefined Symbols Error
25 avril 2012, par AndyDunnSo I've spent several hours now working through the scant amount of information available online about building ffmpeg for iOS. The building process seems to work well and I end up with fat files for armv6 and armv7 which I drag over into my project.
However, whenever I try to use the "avcodec_init()" command I get the following error :
Undefined symbols for architecture armv7 :
"_avcodec_init", referenced from :-[FirstViewController viewDidLoad] in FirstViewController.o
ld : symbol(s) not found for architecture armv7
clang : error : linker command failed with exit code 1 (use -v to see invocation)
The library files are included in the 'Link Binary with Libraries' of the project settings, so they are definitely compiled into the app. I just can't for the life of me work out why I'm getting an error on this.
I've tried several different projects, and downloaded some existing project files from the web and get the same error.
This is the build script I used :
export PLATFORM="iPhoneOS" export MIN_VERSION="4.0" export
MAX_VERSION="5.1" export
DEVROOT=/Volumes/Lion/Applications/Xcode.app/Contents/Developer/Platforms/$PLATFORM.platform/Developer
export SDKROOT=$DEVROOT/SDKs/$PLATFORM$MAX_VERSION.sdk export
CC=$DEVROOT/usr/bin/llvm-gcc export LD=$DEVROOT/usr/bin/ld export
CPP=$DEVROOT/usr/bin/cpp export CXX=$DEVROOT/usr/bin/llvm-g++ export
AR=$DEVROOT/usr/bin/ar export LIBTOOL=$DEVROOT/usr/bin/libtool export
NM=$DEVROOT/usr/bin/nm export CXXCPP=$DEVROOT/usr/bin/cpp export
RANLIB=$DEVROOT/usr/bin/ranlibCOMMONFLAGS="-pipe -gdwarf-2 -no-cpp-precomp -isysroot $SDKROOT
-marm -fPIC" export LDFLAGS="$COMMONFLAGS -fPIC" export CFLAGS="$COMMONFLAGS -fvisibility=hidden" export
CXXFLAGS="$COMMONFLAGS -fvisibility=hidden
-fvisibility-inlines-hidden"FFMPEG_LIBS="libavcodec libavdevice libavformat libavutil libswscale"
echo "Building armv6..."
make clean ./configure \
—cpu=arm1176jzf-s \
—extra-cflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION -mthumb' \
—extra-ldflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION' \
—enable-cross-compile \
—arch=arm \
—target-os=darwin \
—cc=$CC \
—sysroot=$SDKROOT \
—prefix=installed \
—disable-network \
—disable-decoders \
—disable-muxers \
—disable-demuxers \
—disable-devices \
—disable-parsers \
—disable-encoders \
—disable-protocols \
—disable-filters \
—disable-bsfs \
—enable-decoder=h264 \
—enable-decoder=svq3 \
—enable-gpl \
—enable-pic \
—disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3mkdir -p build.armv6 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
./build.armv6/ ; doneecho "Building armv7..."
make clean ./configure \
—cpu=cortex-a8 \
—extra-cflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION -mthumb' \
—extra-ldflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION' \
—enable-cross-compile \
—arch=arm \
—target-os=darwin \
—cc=$CC \
—sysroot=$SDKROOT \
—prefix=installed \
—disable-network \
—disable-decoders \
—disable-muxers \
—disable-demuxers \
—disable-devices \
—disable-parsers \
—disable-encoders \
—disable-protocols \
—disable-filters \
—disable-bsfs \
—enable-decoder=h264 \
—enable-decoder=svq3 \
—enable-gpl \
—enable-pic \
—disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3mkdir -p build.armv7 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
./build.armv7/ ; donemkdir -p build.universal for i in $FFMPEG_LIBS ; do lipo -create
./build.armv7/$i.a ./build.armv6/$i.a -output ./build.universal/$i.a ;
donefor i in $FFMPEG_LIBS ; do cp ./build.universal/$i.a ./$i/$i.a ; done
make install