Recherche avancée

Médias (91)

Autres articles (100)

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

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9086)

  • Android ffmpeg adb shell Unknown encoder 'libx264'

    25 novembre 2017, par IChp

    When I run ffmpeg on android by adb shell, it shows this error :

    Duration: 00:00:12.00, start: 0.000000, bitrate: 30412 kb/s Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
    [4;31mUnknown encoder 'libx264'

    I don’t understand what went wrong. It bothered me for a lot of days.
    Can you help me out ? Thanks in advance !

    (I pushed the compiled libffmpeg.so to /system/lib and pushed ffmpeg to /system/bin)

    Target : compile ffmpeg with x264, and run libffmpeg.so on android device by adb shell.

    Compiled environment : Ubuntu16.0 32bit,ndk r10b 32bit platform 15, ffmpeg 3.0,x264 latest.

    My configure :

    cd ffmpeg-3.0.9
       export NDK=/home/ichp/project/android-ndk-r10b  
       export PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt  
       export PLATFORM=$NDK/platforms/android-15/arch-arm  
       export PREFIX=../simplefflib
       export CURRENT_PATH=/home/ichp/project/FREYA-LIVE-LIBRARY-OPTIMIZER-FOR-ANDROID
     ./configure --target-os=linux --prefix=$PREFIX
    --enable-cross-compile --enable-runtime-cpudetect --enable-asm --arch=arm --cpu=armv7-a --enable-libx264 --enable-encoder=libx264 --disable-encoders --disable-protocols --enable-protocol=file --enable-version3 --cc=$PREBUILT/linux-x86/bin/arm-linux-androideabi-gcc --cross-prefix=$PREBUILT/linux-x86/bin/arm-linux-androideabi- --disable-stripping --nm=$PREBUILT/linux-x86/bin/arm-linux-androideabi-nm --sysroot=$PLATFORM --enable-gpl --disable-shared --enable-static --enable-small --disable-ffprobe --disable-ffplay --enable-ffmpeg --disable-ffserver --disable-debug --enable-pthreads --enable-neon --extra-cflags="-I$CURRENT_PATH/temp/armeabi-v7a/include -fPIC -marm -DANDROID -DNDEBUG -static -O3 -march=armv7-a -mfpu=neon -mtune=generic-armv7-a -mfloat-abi=softfp -ftree-vectorize -mvectorize-with-neon-quad -ffast-math" --extra-ldflags="-L$CURRENT_PATH/temp/armeabi-v7a/lib"


    make clean
    make  
    make install
  • Android ffmpeg adb shell Unknown encoder 'libx264'

    25 novembre 2017, par IChp

    When I run ffmpeg on android by adb shell, it shows this error :

    Duration: 00:00:12.00, start: 0.000000, bitrate: 30412 kb/s Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 30412 kb/s, 25 tbr, 25 tbn, 25 tbc
    [4;31mUnknown encoder 'libx264'

    I don’t understand what went wrong. It bothered me for a lot of days.
    Can you help me out ? Thanks in advance !

    (I pushed the compiled libffmpeg.so to /system/lib and pushed ffmpeg to /system/bin)

    Target : compile ffmpeg with x264, and run libffmpeg.so on android device by adb shell.

    Compiled environment : Ubuntu16.0 32bit,ndk r10b 32bit platform 15, ffmpeg 3.0,x264 latest.

    My configure :

    cd ffmpeg-3.0.9
       export NDK=/home/ichp/project/android-ndk-r10b  
       export PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt  
       export PLATFORM=$NDK/platforms/android-15/arch-arm  
       export PREFIX=../simplefflib
       export CURRENT_PATH=/home/ichp/project/FREYA-LIVE-LIBRARY-OPTIMIZER-FOR-ANDROID
     ./configure --target-os=linux --prefix=$PREFIX
    --enable-cross-compile --enable-runtime-cpudetect --enable-asm --arch=arm --cpu=armv7-a --enable-libx264 --enable-encoder=libx264 --disable-encoders --disable-protocols --enable-protocol=file --enable-version3 --cc=$PREBUILT/linux-x86/bin/arm-linux-androideabi-gcc --cross-prefix=$PREBUILT/linux-x86/bin/arm-linux-androideabi- --disable-stripping --nm=$PREBUILT/linux-x86/bin/arm-linux-androideabi-nm --sysroot=$PLATFORM --enable-gpl --disable-shared --enable-static --enable-small --disable-ffprobe --disable-ffplay --enable-ffmpeg --disable-ffserver --disable-debug --enable-pthreads --enable-neon --extra-cflags="-I$CURRENT_PATH/temp/armeabi-v7a/include -fPIC -marm -DANDROID -DNDEBUG -static -O3 -march=armv7-a -mfpu=neon -mtune=generic-armv7-a -mfloat-abi=softfp -ftree-vectorize -mvectorize-with-neon-quad -ffast-math" --extra-ldflags="-L$CURRENT_PATH/temp/armeabi-v7a/lib"


    make clean
    make  
    make install
  • run build.sh file not generating so files

    11 décembre 2017, par Shivani Vasundhara

    I am using this example of FFMpegExample for making Live wallpaper using mp4, I am using Windows 10, cygwin,16.0 NDK version and client version 1.3.7 to 1.3.10 of ffmpeg, I have successfully extracted it using extract.sh.

    Now my problem is when I run the build.sh command I am getting the error message below (see end of the question), but not making .so files.

    My build.sh file is :

    #!/bin/bash

    if [ "$NDK" = "" ]; then
    echo NDK variable not set, assuming $ANDROID_HOME
    export NDK=$ANDROID_HOME
    fi

    SYSROOT=$ANDROID_SYSROOT
    # Expand the prebuilt/* path into the correct one
    TOOLCHAIN=`echo $ANDROID_TOOLCHAIN`
    export PATH=$TOOLCHAIN/bin:$PATH

    rm -rf build/ffmpeg
    mkdir -p build/ffmpeg
    cd ffmpeg

    # Don't build any neon version for now
    for version in armv5te armv7a
    do

    DEST=../build/ffmpeg
    FLAGS="--target-os=linux --arch=arm"
    FLAGS="$FLAGS --cross-prefix=arm-linux-androideabi- --arch=arm"
    FLAGS="$FLAGS --sysroot=$SYSROOT"
    #FLAGS="$FLAGS --soname-prefix=/data/data/ffvideolivewallpaper.frankandrobot.com/lib/"
    #FLAGS="$FLAGS --enable-version3 --enable-gpl"
    #FLAGS="$FLAGS --enable-version3 --enable-gpl --enable-nonfree"
    FLAGS="$FLAGS --disable-ffmpeg --disable-ffplay"
    FLAGS="$FLAGS --disable-ffserver --disable-ffprobe --disable-encoders"
    FLAGS="$FLAGS --disable-muxers --disable-devices --disable-protocols"
    FLAGS="$FLAGS --enable-protocol=file --enable-avfilter"
    FLAGS="$FLAGS --disable-network"
    FLAGS="$FLAGS --disable-avdevice --disable-asm"
    FLAGS="$FLAGS --enable-shared --disable-symver"
    FLAGS="$FLAGS --enable-small"
    FLAGS="$FLAGS --disable-doc"
    #FLAGS="$FLAGS --optimization-flags=-O2"

    case "$version" in
       neon)
           EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"
           EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
           # Runtime choosing neon vs non-neon requires
           # renamed files
           ABI="armeabi-v7a"
           ;;
       armv7a)
           EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp"
           EXTRA_LDFLAGS=""
           ABI="armeabi-v7a"
           ;;
       *)
           EXTRA_CFLAGS=""
           EXTRA_LDFLAGS=""
           ABI="armeabi"
           ;;
    esac
    DEST="$DEST/$ABI"
    FLAGS="$FLAGS --prefix=$DEST"

    mkdir -p $DEST
    echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" > $DEST/info.txt
    ./configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" | tee $DEST/configuration.txt
    [ $PIPESTATUS == 0 ] || exit 1
    make clean
    make -j4 || exit 1
    make install || exit 1

    done

    In $ANDROID_HOME is system environment variable defined to ndk-bundle path,
    $ANDROID_SYSROOT points : $ANDROID_HOME\platforms\android-27\arch-arm
    $ANDROID_TOOLCHAIN points : $ANDROID_HOME\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64

    And when i run ./build.sh file in Cygwin I am getting this message :

    NDK variable not set, assuming D :\sdk\ndk-bundle
    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from SVN. If the latest version fails, report the problem to the
    ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    See screenshot of error message.

    Any kind of help is appreciated.