
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (82)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8574)
-
Compiling FFmpeg staticly using NDK error - Not position independent executable
27 février 2017, par David BarishevI have been trying to compile ffmpeg into a static library in order to use it in my android application, but i couldn’t get it to work.
Im working with FFmpeg 3.2.4, and ndk r13b, using bash on windows 10(Ubuntu 14.04).
Here is what i did :
-
I made a stand alone toolchain for x86_64 and api 21 using :
python make_standalone_toolchain.py --api 21 --arch x86_64 --install-dir {}
-
Made a configuration script :
./configure \
--target-os=android \
--arch=x86_64 \
--prefix=/home/david/ffmpeg_x86_64_build \
--cross-prefix=/home/david/x86_64_toolchain/bin/x86_64-linux-android-\
--sysroot=/home/david/x86_64_toolchain/sysroot \
--enable-cross-compile \
--pkg-config-flags="--static" \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--disable-htmlpages \
--disable-manpages \
--disable-podpages \
--disable-txtpages \
--extra-cflags="-fPIC" \
--extra-cxxflags="-fPIC"
--disable-shared --enable-static \
--enable-yasm
make
make install
It produced an FFmpeg executable, however when i ran it on my API 23 emulator, i got an error message :
error: only position independent executables (PIE) are supported.
Even that i used -fPicHow can i fix it ? Also i’m not sure about my configuration, there wasn’t up to date sources on how to compile it correctly for every ABI (arm,arm64,x86,x86_64,mips,mips64) that i need for my application.
I have seen many script, and im not too familiar with compiling native code, so i wasn’t sure what settings i need, for example like C flags and etc.To be precise on how i tried to configure FFmpeg :
- I need a static library
- I Only need the ffmpeg command line utility
- I want to compile the library for every ABI i listed above.This configuration tried to compile for x86_64.
- Running on android of course
I would greatly appreciate some help on how to configure and compile this correctly.
-
-
Compiling FFmpeg staticly using NDK
27 février 2017, par David BarishevI have been trying to compile ffmpeg into a static library in order to use it in my android application, but i couldn’t get it to work.
Im working with FFmpeg 3.2.4, and ndk r13b, using bash on windows 10(Ubuntu 14.04).
Here is what i did :
-
I made a stand alone toolchain for x86_64 and api 21 using :
python make_standalone_toolchain.py --api 21 --arch x86_64 --install-dir {}
-
Made a configuration script :
./configure \
--target-os=linux \
--arch=x86 \
--prefix=<output path="path"> \
--cross-prefix=<stand alone="alone" toolchain="toolchain" path="path">/bin/x86_64-linux-android- \
--sysroot=<stand alone="alone" toolchain="toolchain" path="path">/sysroot \
--enable-cross-compile \
--pkg-config-flags="--static" \
--enable-yasm \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--disable-htmlpages \
--disable-manpages \
--disable-podpages \
--disable-txtpages \
make install
</stand></stand></output>
It produced an FFmpeg executable, however when i ran it on my API 23 emulator, i got an error message :
error: only position independent executables (PIE) are supported.
How can i fix it ? Also i’m not sure about my configuration, there wasn’t up to date sources on how to compile it correctly for every ABI (arm,arm64,x86,x86_64,mips,mips64) that i need for my application.
I have seen many script, and im not too familiar with compiling native code, so i wasn’t sure what settings i need, for example like C flags and etc.To be precise on how i tried to configure FFmpeg :
- I need a static library
- I Only need the ffmpeg command line utility
- I want to compile the library for every ABI i listed above.This configuration tried to compile for x86_64.
- Running on android of course
I would greatly appreciate some help on how to configure and compile this correctly.
EDIT
I tried compiling for x86, on an Ubuntu 16.04 (x86_64) VM, using roughly the same config , and i got a different error.
I made a standalone toolchain for x86 :
python make_standalone_toolchain.py --arch x86 --api 19 --install-dir ~/x86_toolchain
And made this configuration file :
./configure \
--target-os=linux \
--arch=x86 \
--prefix=~/ffmpeg_x86_build \
--cross-prefix=~/x86_toolchain/bin/i686-linux-android- \
--sysroot=~/x86_toolchain/sysroot \
--enable-cross-compile \
--pkg-config-flags="--static" \
--enable-yasm \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--disable-htmlpages \
--disable-manpages \
--disable-podpages \
--disable-txtpages \
make clean
make installThe error im getting now is :
~/x86_toolchain/bin/i686-linux-android-gcc is unable to create an executable file.
C compiler test failed.In the log file, it seems like it cant access the compiler, even though he is OK (i tested it with a simple hello world).Also its not a permission problem(Everybody has read write access)
~/x86_toolchain/bin/i686-linux-android-gcc -fPIC -c -o /tmp/ffconf.yYKPHtht.o /tmp/ffconf.Nxskyxyb.c
./configure: 874: ./configure: ~/x86_toolchain/bin/i686-linux-android-gcc: not found
C compiler test failed.So i’m clearly doing something wrong.Does anyone know why ? And how should i do it instead ?
-
-
Compiling FFmpeg staticly using NDK error - Not position independent executables executable
27 février 2017, par David BarishevI have been trying to compile ffmpeg into a static library in order to use it in my android application, but i couldn’t get it to work.
Im working with FFmpeg 3.2.4, and ndk r13b, using bash on windows 10(Ubuntu 14.04).
Here is what i did :
-
I made a stand alone toolchain for x86_64 and api 21 using :
python make_standalone_toolchain.py --api 21 --arch x86_64 --install-dir {}
-
Made a configuration script :
./configure \
--target-os=android \
--arch=x86_64 \
--prefix=/home/david/ffmpeg_x86_64_build \
--cross-prefix=/home/david/x86_64_toolchain/bin/x86_64-linux-android-\
--sysroot=/home/david/x86_64_toolchain/sysroot \
--enable-cross-compile \
--pkg-config-flags="--static" \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--disable-htmlpages \
--disable-manpages \
--disable-podpages \
--disable-txtpages \
--extra-cflags="-fPIC" \
--extra-cxxflags="-fPIC"
--disable-shared --enable-static \
--enable-yasm
make
make install
It produced an FFmpeg executable, however when i ran it on my API 23 emulator, i got an error message :
error: only position independent executables (PIE) are supported.
Even that i used -fPicHow can i fix it ? Also i’m not sure about my configuration, there wasn’t up to date sources on how to compile it correctly for every ABI (arm,arm64,x86,x86_64,mips,mips64) that i need for my application.
I have seen many script, and im not too familiar with compiling native code, so i wasn’t sure what settings i need, for example like C flags and etc.To be precise on how i tried to configure FFmpeg :
- I need a static library
- I Only need the ffmpeg command line utility
- I want to compile the library for every ABI i listed above.This configuration tried to compile for x86_64.
- Running on android of course
I would greatly appreciate some help on how to configure and compile this correctly.
-