Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (88)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12212)

  • resize video using ffmpeg compiled for android libraries [closed]

    19 juillet 2012, par SergeyD

    In my native android project I need to reduce a size of video file.

    I've already built ffmpeg shared/static libraries, but I don't have any idea how to use it. Most of examples for ffmpeg usage are for command line.
    So, can anybody provide me sample code or ffmpeg tutorials link of how to integrate these libraries into my project and use them.

    I'm working with Windows7, Eclipse IDE, cygwin.

    Thanks in advance !

  • Compiling ffmpeg for use in Android (ndk) for x86 architecture

    26 septembre 2012, par Ankur22

    I am trying to compile ffmpeg for Android but for the x86 architecture. I've successfully compiled an arm .so and it all works, and I though that by replacing arm with x86 in the relevant places within the build script would have done the trick. Unfortunately that's not the case and I get some strange things occurring.

    First I get this while it's compiling ffmpeg :

    /home/ankur/android-ndk-r8/platforms/android-8/arch-arm//usr/include/strings.h:49: warning: redundant redeclaration of 'index'

    Notice the arch-arm instead of arch-x86. Finally I get this :

    /home/ankur/android-ndk-r8/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/i686-android-linux-ld: libavcodec/libavcodec.a(4xm.o): Relocations in generic ELF (EM: 40)
    /home/ankur/android-ndk-r8/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/i686-android-linux-ld: libavcodec/libavcodec.a(4xm.o): Relocations in generic ELF (EM: 40)
    /home/ankur/android-ndk-r8/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/i686-android-linux-ld: libavcodec/libavcodec.a(4xm.o): Relocations in generic ELF (EM: 40)
    libavcodec/libavcodec.a(4xm.o): could not read symbols: File in wrong format

    The build script I've created looks like this :

    #!/bin/bash

    NDK=~/android-ndk-r8
    PLATFORM=$NDK/platforms/android-8/arch-x86/
    PREBUILT=$NDK/toolchains/x86-4.4.3/prebuilt/linux-x86
    function build_one_r8
    {
    ./configure \
       --disable-shared \
       --enable-static \
       --enable-gpl \
       --enable-version3 \
       --enable-nonfree \
       --disable-doc \
       --disable-ffmpeg \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --disable-avdevice \
       --disable-avfilter \
       --disable-postproc \
       --enable-small \
       --cross-prefix=$PREBUILT/bin/i686-android-linux- \
       --enable-cross-compile \
       --target-os=linux \
       --extra-cflags="-I$PLATFORM/usr/include" \
       --arch=x86 \
       --disable-symver \
       --disable-debug \
       --disable-stripping \
       $ADDITIONAL_CONFIGURE_FLAG
    sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
    sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
    sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
    sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
    sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
    sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h
    make clean
    make  -j4 install
    $PREBUILT/bin/i686-android-linux-ar d libavcodec/libavcodec.a inverse.o
    $PREBUILT/bin/i686-android-linux-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib  -soname libffmpeg.so -shared -nostdlib  -z,noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog  --warn-once  --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/i686-android-linux/4.4.3/libgcc.a
    }
    function build_one_r8_2
    {
    $PREBUILT/bin/i686-android-linux-ar d libavcodec/libavcodec.a inverse.o
    $PREBUILT/bin/i686-android-linux-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib  -soname libffmpeg.so -shared -nostdlib  -z,noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog  --warn-once  --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/i686-android-linux/4.4.3/libgcc.a
    }
    #x86
    CPU=x86
    OPTIMIZE_CFLAGS="-march=$CPU "
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=
    build_one_r8

    I hope I'm doing something wrong rather than this not being possible.

    Thanks !

  • to create video from image sequence on android

    4 juin 2012, par preceptron

    I want to create video from image sequence (on android) by this code :

       opencv_core.IplImage image = cvLoadImage("/sdcard/mytest/testimage.jpg");
       FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("/sdcard/mytest/test.3gp",256,256);
       try {
           recorder.setCodecID( CODEC_ID_H263);
           recorder.setFormat("3gp");
           recorder.setPixelFormat(  PIX_FMT_YUV420P);
           recorder.start();
           for (int i=0;i<10;i++)
             {
               recorder.record(image);
             }
           recorder.stop();
          }
       catch (Exception e){
           e.printStackTrace();
         }

    But instead of my image I have got green screen. What I have to change in my code ?

    And how I can add audio to my video ?