Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (30)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5412)

  • Building x264 on a Mac for android “No working C compiler found”

    20 novembre 2015, par LostPuppy

    I am trying to build x264 and eventually use it to build ffmpeg the following is my script :

    #!/bin/bash

    NDK="/Users/account/Documents/FFmpeg/android-ndk-r10e"
    TOOL_DIR_ARM="/Users/account/Documents/FFmpeg/android-ndk-r10e/sources/ffmpeg-2.8.2/my-android-toolchain"
    SYSROOT=$NDK/platforms/platforms/android-21/arch-arm
    echo "removing tool chain directory if it exists"
    rm -r $TOOL_DIR_ARM

    $NDK/build/tools/make-standalone-toolchain.sh \
       --platform=android-21 \
       --arch=arm \
       --install-dir=$TOOL_DIR_ARM \
       --toolchain=arm-linux-androideabi-clang3.6\
       --llvm-version=3.6 \
       --system=darwin-x86_64

    if [ -d $SYSROOT ]; then
       echo "$SYSROOT is a valid directory"
    fi

    function build_x264
    {
    cd x264

    # another build for phone
    ./configure \
    --cross-prefix=arm-linux-androideabi- \
    --sysroot=$SYSROOT \
    --host=arm-linux \
    --enable-static \
    --enable-pic \
    --disable-cli

    make -j4
    make install

    cd ../
    }


    function build_one
    {
    cd

    # another build for phone
    ./configure \
    --sysroot=$SYSROOT \
    --target-os=linux \
    --arch=arm \
    --cross-prefix=$TOOL_DIR_ARM/bin/arm-linux-androideabi- \
    --cc=$TOOL_DIR_ARM/bin/clang \
    --enable-cross-compile \
    --enable-encoder=mpeg4 \
    --enable-pthreads \
    --enable-gpl \
    --enable-libx264 \
    --enable-pic \
    --extra-cflags='-I/usr/local/include' \
    --extra-ldflags='-L/usr/local/lib'

    make clean
    make -j4
    make install

    }
    echo "Building x_264 library"
    build_x264
    echo "Building FFmpeg"
    build_one

    I get an error saying

    No working C compiler found.
    Makefile:3: config.mak: No such file or directory

    The following is the output from the config.log file

    checking for -mdynamic-no-pic... yes
    checking for -arch x86_64... yes
    x264 configure script

    checking whether gcc works... yes
    checking whether gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
    checking for -mpreferred-stack-boundary=5... no
    Failed commandline was:
    --------------------------------------------------
    gcc conftest.c -m64 -Qunused-arguments -Wall -I. -I$(SRCPATH) -mdynamic-no-pic -arch x86_64 -std=gnu99  -mpreferred-stack-boundary=5  -m64  -lm -arch x86_64$
    clang: error: unknown argument: '-mpreferred-stack-boundary=5'
    --------------------------------------------------
    Failed program was:
    --------------------------------------------------
    int main (void) {  return 0; }
    --------------------------------------------------
    checking whether yasm supports vpmovzxwd ymm0, xmm0... yes

    Solutions that I tried :

    I made sure I have a working GCC

    I have the update to date version of clang

    I have the update to date version of LLVM

  • Building x264 on a Mac for android “No working C compiler found”

    20 novembre 2015, par LostPuppy

    I am trying to build x264 and eventually use it to build ffmpeg the following is my script :

    #!/bin/bash

    NDK="/Users/account/Documents/FFmpeg/android-ndk-r10e"
    TOOL_DIR_ARM="/Users/account/Documents/FFmpeg/android-ndk-r10e/sources/ffmpeg-2.8.2/my-android-toolchain"
    SYSROOT=$NDK/platforms/platforms/android-21/arch-arm
    echo "removing tool chain directory if it exists"
    rm -r $TOOL_DIR_ARM

    $NDK/build/tools/make-standalone-toolchain.sh \
       --platform=android-21 \
       --arch=arm \
       --install-dir=$TOOL_DIR_ARM \
       --toolchain=arm-linux-androideabi-clang3.6\
       --llvm-version=3.6 \
       --system=darwin-x86_64

    if [ -d $SYSROOT ]; then
       echo "$SYSROOT is a valid directory"
    fi

    function build_x264
    {
    cd x264

    # another build for phone
    ./configure \
    --cross-prefix=arm-linux-androideabi- \
    --sysroot=$SYSROOT \
    --host=arm-linux \
    --enable-static \
    --enable-pic \
    --disable-cli

    make -j4
    make install

    cd ../
    }


    function build_one
    {
    cd

    # another build for phone
    ./configure \
    --sysroot=$SYSROOT \
    --target-os=linux \
    --arch=arm \
    --cross-prefix=$TOOL_DIR_ARM/bin/arm-linux-androideabi- \
    --cc=$TOOL_DIR_ARM/bin/clang \
    --enable-cross-compile \
    --enable-encoder=mpeg4 \
    --enable-pthreads \
    --enable-gpl \
    --enable-libx264 \
    --enable-pic \
    --extra-cflags='-I/usr/local/include' \
    --extra-ldflags='-L/usr/local/lib'

    make clean
    make -j4
    make install

    }
    echo "Building x_264 library"
    build_x264
    echo "Building FFmpeg"
    build_one

    I get an error saying

    No working C compiler found.
    Makefile:3: config.mak: No such file or directory

    The following is the output from the config.log file

    checking for -mdynamic-no-pic... yes
    checking for -arch x86_64... yes
    x264 configure script

    checking whether gcc works... yes
    checking whether gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
    checking for -mpreferred-stack-boundary=5... no
    Failed commandline was:
    --------------------------------------------------
    gcc conftest.c -m64 -Qunused-arguments -Wall -I. -I$(SRCPATH) -mdynamic-no-pic -arch x86_64 -std=gnu99  -mpreferred-stack-boundary=5  -m64  -lm -arch x86_64$
    clang: error: unknown argument: '-mpreferred-stack-boundary=5'
    --------------------------------------------------
    Failed program was:
    --------------------------------------------------
    int main (void) {  return 0; }
    --------------------------------------------------
    checking whether yasm supports vpmovzxwd ymm0, xmm0... yes

    Solutions that I tried :

    I made sure I have a working GCC

    I have the update to date version of clang

    I have the update to date version of LLVM

  • Can't link libfdk-aac for ffmpeg on Android

    19 novembre 2015, par Steve M

    I’m trying a custom build of ffmpeg with libfdk-aac for Android. I can get ffmpeg to build without libfdk-aac and it runs, and I can build libfdk-aac.so, but when I build ffmpeg with libfdk-aac I am getting CANNOT LINK EXECUTABLE DEPENDENCIES: library "libfdk-aac.so" not found when I try to run ffmpeg. libfdk-aac.so is in the same directory as the ffmpeg executable on the Android device, and I have tried the -rpath-link linker option. Here is my complete configure for ffmpeg :

    NDK=/Applications/sdk/android-ndk-r10e
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --disable-shared \
       --enable-static \
       --disable-programs \
       --disable-doc \
       --disable-everything \
       --enable-filter=aresample \
       --enable-decoder=aac \
       --enable-decoder=aac_latm \
       --enable-decoder=aac_fixed \
       --enable-decoder=ac3 \
       --enable-decoder=ac3_fixed \
       --enable-decoder=als \
       --enable-decoder=alac \
       --enable-decoder=mp1 \
       --enable-decoder=mp1float \
       --enable-decoder=mp2 \
       --enable-decoder=mp2float \
       --enable-decoder=mp3 \
       --enable-decoder=mp3float \
       --enable-decoder=mp3adufloat \
       --enable-decoder=mp3adu \
       --enable-decoder=mp3on4 \
       --enable-decoder=mp3on4float \
       --enable-decoder=als \
       --enable-decoder=vorbis \
       --enable-decoder=flac \
       --enable-decoder=wavpack \
       --enable-decoder=wmalossless \
       --enable-decoder=wmapro \
       --enable-decoder=wmav1 \
       --enable-decoder=wmav2 \
       --enable-decoder=wmavoice \
       --enable-decoder=pcm* \
       --enable-bsf=mp3_header_decompress \
       --enable-bsf=aac_adtstoasc \
       --enable-bsf=chomp \
       --enable-bsf=remove_extradata \
       --disable-swscale \
       --disable-network \
       --enable-swresample \
       --enable-parser=aac \
       --enable-parser=aac_latm \
       --enable-parser=ac3 \
       --enable-parser=flac \
       --enable-parser=ac3 \
       --enable-parser=vorbis \
       --enable-parser=mpegaudio \
       --enable-demuxer=aac \
       --enable-demuxer=au \
       --enable-demuxer=asf \
       --enable-demuxer=mov \
       --enable-demuxer=ac3 \
       --enable-demuxer=eac3 \
       --enable-demuxer=aiff \
       --enable-demuxer=flac \
       --enable-demuxer=latm \
       --enable-demuxer=mp3 \
       --enable-demuxer=ogg \
       --enable-demuxer=eac3 \
       --enable-demuxer=xwma \
       --enable-demuxer=pcm* \
       --enable-demuxer=wav \
       --enable-demuxer=matroska \
       --enable-demuxer=rm \
       --enable-protocol=file \
       --enable-muxer=pcm* \
       --enable-muxer=wav \
       --enable-muxer=ipod \
       --enable-encoder=pcm* \
       --enable-encoder=aac \
       --enable-libfdk-aac \
       --enable-ffmpeg \
       --enable-libfdk-aac \
       --enable-encoder=libfdk_aac \
       --disable-avdevice \
       --disable-swscale-alpha \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --cpu=cortex-a8 \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic -I$INCLUDE_DIR $ADDI_CFLAGS" \
       --extra-ldflags="-fPIE -pie -L$LIB_DIR -Wl,-rpath-link,'$ORIGIN' $ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    INCLUDE_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/include
    LIB_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/lib
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one