Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (33)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (4367)

  • FFmpeg compile for Android (configure, make)

    11 août 2013, par manutd

    I want to compile ffmpeg for Android ver.
    But everytime I try, I can't compile the source of ffmpeg.
    I think my configuration option may be invalid.

    I used this script for configure.

    #!/bin/sh
    NDK_PATH=$HOME/android-ndk-r8
    PREBUILT=$NDK_PATH/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86

    LDFLAGS="-Wl,-T,$PREBUILT/armelf_linux_eabi.x -Wl,-rpath-link=$NDK_PATH/platforms/android-8/arch-arm/usr/lib \
        -L$NDK_PATH/platforms/android-8/arch-arm/usr/lib -nostdlib $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o \
        $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o -lc -lm -ldl"
    COMMON_CONFIG="\
             ./configure --target-os=linux \
             --arch=arm \
             --enable-cross-compile \
             --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
             --as=$PREBUILT/bin/arm-linux-androideabi-gcc \
             --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
             --sysinclude=$NDK_PATH/platforms/android-8/arch-arm/usr/include \
             --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
             --extra-ldflags=\"$LDFLAGS\" \
             --extra-cflags=-I$NDK_PATH/platforms/android-8/arch-arm/usr/include \

    eval "$COMMON_CONFIG"
    if [ $? -ne 0 ]; then
     exit 1
    fi

    I have to give compiler a new header file path (by —extra-cflags) because when I typed 'make', compiler didn't know where are header files (like math.h, ctime.h)

    After configure using this scripts and type 'make', I got these error.

    CC  libavdevice/alldevices.o
    In file included from /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/stdlib.h:42,
                from ./libavutil/common.h:35,
                from ./libavutil/avutil.h:126,
                from libavdevice/avdevice.h:22,
                from libavdevice/alldevices.c:22:
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/strings.h:49: warning: redundant redeclaration of 'index'
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/string.h:47: note: previous declaration of 'index' was here
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/strings.h:50: warning: redundant redeclaration of 'strcasecmp'
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/string.h:57: note: previous declaration of 'strcasecmp' was here
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/strings.h:51: warning: redundant redeclaration of 'strncasecmp'
    /Users/gyeongmingim/android-ndk-r8/platforms/android-8/arch-arm/usr/include/string.h:58: note: previous declaration of 'strncasecmp' was here
    In file included from ./libavutil/internal.h:178,
                from ./libavutil/common.h:342,
                from ./libavutil/avutil.h:126,
                from libavdevice/avdevice.h:22,
                from libavdevice/alldevices.c:22:
    ./libavutil/libm.h:62: error: static declaration of 'lrint' follows non-static declaration
    ./libavutil/libm.h:69: error: static declaration of 'lrintf' follows non-static declaration
    ./libavutil/libm.h:76: error: static declaration of 'round' follows non-static declaration
    ./libavutil/libm.h:90: error: static declaration of 'trunc' follows non-static declaration
    make: *** [libavdevice/alldevices.o] Error 1

    What is the wrong ?
    Does my configuration have wrong info ? or any missing flag ?

    OS : Mac Lion
    Android-ndk ver : android-ndk-r8

  • Revision 30118 : protéger des erreurs si pas configuré

    23 juillet 2009, par kent1@… — Log

    protéger des erreurs si pas configuré

  • avcodec/webp : Use LE VLC table for LE bitstream reader

    12 octobre 2020, par Andreas Rheinhardt
    avcodec/webp : Use LE VLC table for LE bitstream reader
    

    The WebP format uses Huffman tables and the decoder therefore uses
    VLC tables. Given that WebP is a LE format, a LE bitreader is used ;
    yet the VLC table is not created for a LE reader (the process used to
    create the tables puts the last bit to be read in the lowest bit) and
    therefore custom code for reading the VLCs that reverses the bits
    read is used instead of get_vlc2(). This commit changes this to use
    a table designed for LE bitreader which allows to use get_vlc2() directly.
    The necessary reversing of the codes is delegated to
    ff_init_vlc_sparse() (and is therefore only done during init and not
    when actually reading the VLCs).

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/webp.c