Recherche avancée

Médias (0)

Mot : - Tags -/inscription3

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

Autres articles (34)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7660)

  • How to enable X264 with thread for Android on Mac OS X ?

    3 janvier 2016, par Jerikc XIONG

    I use the following script to compile x264 :

    #!/bin/bash
    # Based on https://github.com/yixia/x264/blob/master/build_android.sh

    if [ -z "$ANDROID_NDK" ]; then
       echo "You must define ANDROID_NDK before starting."
       echo "They must point to your NDK directories.\n"
       exit 1
    fi

    # Detect OS
    OS=`uname`
    HOST_ARCH=`uname -m`
    export CCACHE=; type ccache >/dev/null 2>&1 && export CCACHE=ccache
    if [ $OS == 'Linux' ]; then
       export HOST_SYSTEM=linux-$HOST_ARCH
    elif [ $OS == 'Darwin' ]; then
       export HOST_SYSTEM=darwin-$HOST_ARCH
    fi


    SOURCE=`pwd`
    PREFIX=$SOURCE/build/android

    SYSROOT=$ANDROID_NDK/platforms/android-12/arch-arm
    CROSS_PREFIX=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/$HOST_SYSTEM/bin/arm-linux-androideabi-
    EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__"
    EXTRA_LDFLAGS="-nostdlib"

    ./configure  --prefix=$PREFIX \
       --cross-prefix=$CROSS_PREFIX \
       --extra-cflags="$EXTRA_CFLAGS" \
       --extra-ldflags="$EXTRA_LDFLAGS" \
       --enable-pic \
       --enable-static \
       --enable-strip \
       --disable-cli \
       --host=arm-linux \
       --sysroot=$SYSROOT

    make clean
    make STRIP= -j4 install || exit 1

    After i add ’-lpthread’ , i got the following compile error :

    $ sh build_android.sh
    No working C compiler found.
    Makefile:3: config.mak: No such file or directory
    ./configure
    platform:      X86_64
    byte order:    little-endian
    system:        MACOSX
    cli:           yes
    libx264:       internal
    shared:        no
    static:        no
    asm:           yes
    interlaced:    yes
    avs:           avxsynth
    lavf:          no
    ffms:          no
    mp4:           no
    gpl:           yes
    thread:        posix
    opencl:        yes
    filters:       crop select_every
    debug:         no
    gprof:         no
    strip:         no
    PIC:           no
    bit depth:     8
    chroma format: all

    You can run 'make' or 'make fprofiled' now.
    dependency file generation...
    clang: error: no such file or directory: '/common/mc.c'
    clang: error: no such file or directory: '/common/predict.c'
    clang: error: no such file or directory: '/common/pixel.c'
    clang: error: no such file or directory: '/common/macroblock.c'
    clang: error: no such file or directory: '/common/frame.c'
    clang: error: no such file or directory: '/common/dct.c'
    clang: error: no such file or directory: '/common/cpu.c'
    clang: error: no such file or directory: '/common/cabac.c'
    clang: error: no such file or directory: '/common/common.c'
    clang: error: no such file or directory: '/common/osdep.c'
    clang: error: no such file or directory: '/common/rectangle.c'
    clang: error: no such file or directory: '/common/set.c'
    clang: error: no such file or directory: '/common/quant.c'
    clang: error: no such file or directory: '/common/deblock.c'
    clang: error: no such file or directory: '/common/vlc.c'
    clang: error: no such file or directory: '/common/mvpred.c'
    clang: error: no such file or directory: '/common/bitstream.c'
    clang: error: no such file or directory: '/encoder/analyse.c'
    clang: error: no such file or directory: '/encoder/me.c'
    clang: error: no such file or directory: '/encoder/ratecontrol.c'
    clang: error: no such file or directory: '/encoder/set.c'
    clang: error: no such file or directory: '/encoder/macroblock.c'
    clang: error: no such file or directory: '/encoder/cabac.c'
    clang: error: no such file or directory: '/encoder/cavlc.c'
    clang: error: no such file or directory: '/encoder/encoder.c'
    clang: error: no such file or directory: '/encoder/lookahead.c'
    clang: error: no such file or directory: '/x264.c'
    clang: error: no such file or directory: 'x264.o'
    clang: error: no input files
    clang: error: no such file or directory: '/input/input.c'
    clang: error: no such file or directory: 'input/input.o'
    clang: error: no input files
    clang: error: no such file or directory: '/input/timecode.c'
    clang: error: no such file or directory: 'input/timecode.o'
    clang: error: no input files
    clang: error: no such file or directory: '/input/raw.c'
    clang: error: no such file or directory: 'input/raw.o'
    clang: error: no input files
    clang: error: no such file or directory: '/input/y4m.c'
    clang: error: no such file or directory: 'input/y4m.o'
    clang: error: no input files
    clang: error: no such file or directory: '/output/raw.c'
    clang: error: no such file or directory: 'output/raw.o'
    clang: error: no input files
    clang: error: no such file or directory: '/output/matroska.c'
    clang: error: no such file or directory: 'output/matroska.o'
    clang: error: no input files
    clang: error: no such file or directory: '/output/matroska_ebml.c'
    clang: error: no such file or directory: 'output/matroska_ebml.o'
    clang: error: no input files
    clang: error: no such file or directory: '/output/flv.c'
    clang: error: no such file or directory: 'output/flv.o'
    clang: error: no input files
    clang: error: no such file or directory: '/output/flv_bytestream.c'
    clang: error: no such file or directory: 'output/flv_bytestream.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/filters.c'
    clang: error: no such file or directory: 'filters/filters.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/video.c'
    clang: error: no such file or directory: 'filters/video/video.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/source.c'
    clang: error: no such file or directory: 'filters/video/source.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/internal.c'
    clang: error: no such file or directory: 'filters/video/internal.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/resize.c'
    clang: error: no such file or directory: 'filters/video/resize.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/cache.c'
    clang: error: no such file or directory: 'filters/video/cache.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/fix_vfr_pts.c'
    clang: error: no such file or directory: 'filters/video/fix_vfr_pts.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/select_every.c'
    clang: error: no such file or directory: 'filters/video/select_every.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/crop.c'
    clang: error: no such file or directory: 'filters/video/crop.o'
    clang: error: no input files
    clang: error: no such file or directory: '/filters/video/depth.c'
    clang: error: no such file or directory: 'filters/video/depth.o'
    clang: error: no input files
    clang: error: no such file or directory: '/extras/getopt.c'
    clang: error: no such file or directory: 'extras/getopt.o'
    clang: error: no input files
    make: *** [.depend] Error 1

    How to enable pthread support ?

  • ffmpeg : Dynamically set output duration based on sliding text width

    18 janvier 2016, par John Whiteman

    I need to create a smooth ’news ticker’ on a low powered android device. Unfortunately this is impossible at runtime using HTML or native code as there is always some stutter or glitch.

    I’ve created a solution that gives me a smooth result by encoding an mp4 for each message and displaying one video after the other. This is the code I’m using :

    ffmpeg -f lavfi -i color=c=black:s=1280x100 -vf "drawtext=BebasNeue.otf:fontsize=60:fontcolor=white:y=h-line_h-30:x=-(4*n)+1280:text='Hello world'" -t 10 output.mp4

    Problem :
    I need to set the video’s duration dynamically so that the video stops when the text has completed it’s journey from right to left. The messages will be of varying lengths and I need each message to scroll at a constant speed (ie. an mp4 with a longer message would have a longer duration).

    Is this possible via an expression ? If not is there some clever way I can calculate this outside of ffmpeg and pass it to the ’-t’ (duration) parameter ?

    ** Edit **
    To calculate outside of ffmpeg I can do a calculation like video_width + text_width / video_fps (ie. 1280 + 262 / 25) to give me the duration. So now I’m just looking to see if this is possible within the ffmpeg command line itself. t

    Many thanks

  • android_build.sh gives error while building ffmpeg library

    25 février 2016, par user3269550

    i am trying to build ffmpeg library my android_build.sh is given below

     #!/bin/bash
      NDK=C:/Users/Benzatine/Downloads/android-ndk-r10e
      SYSROOT=$NDK/platforms/android-18/arch-arm/
      TOOLCHAIN=$NDK/toolchains//arm-linux-androideabi-4.8/prebuilt/windows-x86_64
      function build_one
      {
        ./configure \
        --arch=arm \
         --target-os=linux \
    --enable-runtime-cpudetect \
    --enable-pic \
    --disable-shared \
    --enable-static \
    --extra-cflags='-march=armv6' \
    --extra-ldflags="$ADDI_LDFLAGS" \
    --enable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver\
    --disable-network \
    --enable-cross-compile \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --sysroot=$SYSROOT \
    $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make -j4
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    but when i try to execute it always gives error

    error is

       /android_build.sh: line 5: syntax error near unexpected token `$'\r''
       /android_build.sh: line 5: `function build_one()

    I am new in this so please any one can help me to resolve this issue