Recherche avancée

Médias (91)

Autres articles (64)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11345)

  • Remove -fforce-addr from the default CFLAGS.

    4 avril 2014, par Tim Terriberry
    Remove -fforce-addr from the default CFLAGS.
    

    This flag breaks clang, which does not support it, and is obsolete
    on gcc anyway.

    git-svn-id : http://svn.xiph.org/trunk/theora@19116 0101bb08-14d6-0310-b084-bc0e0c8e3800

    • [DH] configure.ac
  • Problems in building ffmpeg for android using android NDK in ubuntu

    3 septembre 2014, par Alin

    An ffmpeg android for android 2.3+ which allows me to decompress/add watermark/recompress a video file. I need to have it working on all current CPUs.

    What I did so far

    I looked in a lot of sources for guidance. Most of the articles are obsolete or simply not work. Not to mention the whole struggle I went to from installing ubuntu on virtualBox, an OS which I never seen before. The whole java/sdk/ndk install was pretty easy but I had hard times in setting the PATH variables and most importantly WHERE to set them.

    So, here is my structure :
    The default folder path is /home/alin in which I have
    enter image description here

    The PATH is set in etc/profile and I can confirm that it works. I know that it works because running java -version or ndk-build run just fine

    > ANDROID_SDK=/home/alin/android/sdk ANDROID_NDK=/home/alin/android/ndk
    > JAVA_HOME=/usr/local/java/jdk1.8.0_20
    > PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools:$ANDROID_NDK
    > export JAVA_HOME export ANDROID_SDK export ANDROID_NDK export PATH

    I have downloaded the latest sources from ffmpeg.org and saved it in ndk/sources folder, in sources I have created an android_build.sh file as from (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/)

    enter image description here

    #!/bin/bash

    NDK=/home/alin/android/ndk
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64

    function build_one

    {

    ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --disable-static \
       --disable-doc \
       --disable-ffmpeg \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --disable-avdevice \
       --disable-doc \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG

    make clean
    make
    make install
    }

    CPU=arm

    PREFIX=$(pwd)/android/$CPU

    ADDI_CFLAGS="-marm"

    build_one

    When running the .sh file I get this :
    enter image description here

    Trying different build.sh sometimes I got different errors... so I have no idea what to do next.

    Please guide me to :

    • be able to build ffmpeg
    • make it compatible with as many devices as possible.

    Thank you.

  • Error on building ffmpeg for android using NDK in ubuntu

    17 février 2015, par Alin

    An ffmpeg android for android 2.3+ which allows me to decompress/add watermark/recompress a video file. I need to have it working on all current CPUs.

    What I did so far

    I looked in a lot of sources for guidance. Most of the articles are obsolete or simply not work. Not to mention the whole struggle I went to from installing ubuntu on virtualBox, an OS which I never seen before. The whole java/sdk/ndk install was pretty easy but I had hard times in setting the PATH variables and most importantly WHERE to set them.

    So, here is my structure :
    The default folder path is /home/alin in which I have
    enter image description here

    The PATH is set in etc/profile and I can confirm that it works. I know that it works because running java -version or ndk-build run just fine

    > ANDROID_SDK=/home/alin/android/sdk ANDROID_NDK=/home/alin/android/ndk
    > JAVA_HOME=/usr/local/java/jdk1.8.0_20
    > PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools:$ANDROID_NDK
    > export JAVA_HOME export ANDROID_SDK export ANDROID_NDK export PATH

    I have downloaded the latest sources from ffmpeg.org and saved it in ndk/sources folder, in sources I have created an android_build.sh file as from (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/)

    enter image description here

    #!/bin/bash

    NDK=/home/alin/android/ndk
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64

    function build_one

    {

    ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --disable-static \
       --disable-doc \
       --disable-ffmpeg \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --disable-avdevice \
       --disable-doc \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG

    make clean
    make
    make install
    }

    CPU=arm

    PREFIX=$(pwd)/android/$CPU

    ADDI_CFLAGS="-marm"

    build_one

    When running the .sh file I get this :
    enter image description here

    Trying different build.sh sometimes I got different errors... so I have no idea what to do next.

    Please guide me to :

    • be able to build ffmpeg
    • make it compatible with as many devices as possible.

    Thank you.