Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (86)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (11004)

  • 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.

  • AVFrame deprecated attributes to regain ?

    27 avril 2016, par Kindermann

    I want to print out some attributes of video frames : I’ve looked into AVFrame struct, but only found the following disappointments :

    attribute_deprecated short *    dct_coeff
    attribute_deprecated uint32_t *     mb_type

    It seems to me everything I am interested in is already obsolete. Btw, I didn’t find

    int16_t(*[2]    motion_val )[2]

    attribute in the actual frame I captured. My question is : how can i get access to those attributes such as dct_coeff or motion_vector or mb_type of a frame at all ?