Recherche avancée

Médias (91)

Autres articles (79)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (14044)

  • arm-linux-androideabi/bin/ld : error : cannot find -lpolarssl while compiling rtmp library for Android (host os -Debian)

    24 octobre 2014, par trololo

    I’m trying to build rtmp library for ffmpeg for my Android app.
    In order to compile ffmpeg I have to compile rtmp-library.
    For librtmp.a I need to compile polarssl. I got polarssl library (libpolarssl, -lpolarssl)
    script for polarssl :

    #!/bin/bash
    ANDROID_NDK=/home/sla/work/android-ndk-r10b86/android-ndk-r10b/
    TOOLCHAIN=/home/sla/ffmpeg_build/polarssl/
    $ANDROID_NDK/build/tools/make-standalone-toolchain.sh --toolchain=arm-linux-androideabi-4.8 \
     --system=linux-x86 --platform=android-3 --install-dir=$TOOLCHAIN
    cd /home/sla/ffmpeg_sources/polarssl-1.2.11

    export CROSS_COMPILE=arm-linux-androideabi
    export CC="${CROSS_COMPILE}-gcc"
    export CXX="${CROSS_COMPILE}-g++"

    export PATH=$TOOLCHAIN/bin:$PATH
    #export CC="arm-linux-androideabi-gcc"
    #export CXX="arm-linux-androideabi-g++"
    export LD=arm-linux-androideabi-ld
    export STRIP=arm-linux-androideabi-strip

    export CFLAGS="-std=c99 -O3 -Wall -mthumb -pipe -fpic -fasm \
     -march=armv7-a -mfpu=neon -mfloat-abi=hard -mvectorize-with-neon-quad \
     -finline-limit=300 -ffast-math -fmodulo-sched -fmodulo-sched-allow-regmoves \
     -mhard-float -D_NDK_MATH_NO_SOFTFP=1 -fdiagnostics-color=always \
     -Wno-psabi -Wa,--noexecstack \
     -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
     -DANDROID -DNDEBUG"

    export LDFLAGS="-lm_hard -lz -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--fix-cortex-a8 -Wl,--no-warn-mismatch"
    #cd /home/sla/ffmpeg_sources
    #autoreconf -fiv
    #./configure --host=arm-linux-androideabi --prefix="`pwd`/build/"
    #--disable-shared
    #rm -r build
    make lib -j7 SYS=android CC="$CC" APP=
    make install DESTDIR=/home/sla/ffmpeg_sources/polarssl

    It works fine and creates correspond lirary but when I try to compile rtmplib (rtmpdump) using script

    #!/bin/bash
    ANDROID_NDK=/home/sla/work/android-ndk-r10b86/android-ndk-r10b/
    TOOLCHAIN=/home/sla/ffmpeg_build/rtmp/
    $ANDROID_NDK/build/tools/make-standalone-toolchain.sh --toolchain=arm-linux-androideabi-4.8 \
     --system=linux-x86 --platform=android-3 --install-dir=$TOOLCHAIN
    cd /home/sla/ffmpeg_sources/rtmpdump

    export CROSS_COMPILE=arm-linux-androideabi
    #export CC=${CROSS_COMPILE}-gcc
    #export CXX=${CROSS_COMPILE}-g++

    export PATH=$TOOLCHAIN/bin:$PATH
    export CC="arm-linux-androideabi-gcc"
    export CXX="arm-linux-androideabi-g++"
    export LD=arm-linux-androideabi-ld
    export STRIP=arm-linux-androideabi-strip

    export CFLAGS="-std=c99 -O3 -Wall -mthumb -pipe -fpic -fasm \
     -march=armv7-a -mfpu=neon -mfloat-abi=hard -mvectorize-with-neon-quad \
     -finline-limit=300 -ffast-math -fmodulo-sched -fmodulo-sched-allow-regmoves \
     -mhard-float -D_NDK_MATH_NO_SOFTFP=1 -fdiagnostics-color=always \
     -Wno-psabi -Wa,--noexecstack \
     -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
     -DANDROID -DNDEBUG"

    export LDFLAGS="-lm_hard -lz -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--fix-cortex-a8 -Wl,--no-warn-mismatch"
    #cd /home/sla/ffmpeg_sources
    #autoreconf -fiv
    #./configure --host=arm-linux-androideabi --prefix="`pwd`/build/"
    #--disable-shared
    rm -r build
    make -j7 SYS=android CROSS_COMPILE=arm-linux-androideabi- INC="-I/home/sla/ffmpeg_sources/polarssl-1.2.11/include/ -L/home/sla/ffmpeg_sources/polarssl-1.2.11/library/" CRYPTO=POLARSSL SHARED=
    make install
    make distclean

    I recieve such error :

    /home/sla/ffmpeg_build/rtmp/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpolarssl

    More :

    Copying prebuilt binaries...
    Copying sysroot headers and libraries...
    Copying c++ runtime headers and libraries...
    Copying files to: /home/sla/ffmpeg_build/rtmp/
    Cleaning up...
    Done.
    rm: cannot remove `build': No such file or directory
    make[1]: Entering directory `/home/sla/ffmpeg_sources/rtmpdump/librtmp'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/sla/ffmpeg_sources/rtmpdump/librtmp'
    arm-linux-androideabi-gcc -Wall  -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lpolarssl -lz  
    arm-linux-androideabi-gcc -Wall  -o rtmpgw rtmpgw.o thread.o  -Llibrtmp -lrtmp -lpolarssl -lz  
    arm-linux-androideabi-gcc -Wall  -o rtmpsrv rtmpsrv.o thread.o  -Llibrtmp -lrtmp -lpolarssl -lz  
    arm-linux-androideabi-gcc -Wall  -o rtmpsuck rtmpsuck.o thread.o  -Llibrtmp -lrtmp -lpolarssl -lz  
    /home/sla/ffmpeg_build/rtmp/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpolarssl
    librtmp/librtmp.a(rtmp.o):rtmp.c:function isValidPublicKey: error: undefined reference to 'mpi_init'
    librtmp/librtmp.a(rtmp.o):rtmp.c:function isValidPublicKey: error: undefined reference to 'mpi_lset'
    librtmp/librtmp.a(rtmp.o):rtmp.c:function isValidPublicKey: error: undefined reference to 'mpi_cmp_mpi'
    librtmp/librtmp.a(rtmp.o):/rtmp.c:function homeisValidPublicKey/:sla /errorffmpeg_build:/ rtmpundefined/ binreference/ .to. /'libmpi_copy/'gcc
    /librtmparm/-librtmp.alinux(-rtmp.oandroideabi)/:4.8rtmp.c/:.function. /isValidPublicKey.:. /error.:. /undefined. .reference/ armto- linux'-mpi_sub_intandroideabi'/
    binlibrtmp//ldlibrtmp.a:( rtmp.oerror):: rtmp.ccannot: functionfind  isValidPublicKey-:lpolarssl
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_cmp_mpi 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'isValidPublicKeympi_init:'
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_exp_mod 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'isValidPublicKeympi_lset:'
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_cmp_int 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'isValidPublicKeympi_cmp_mpi:'
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_free 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'DHGenerateKeympi_copy:'
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_copy 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'DHGenerateKeympi_sub_int:'
    errorlibrtmp:/ librtmp.aundefined( rtmp.oreference) :tortmp.c :'functionmpi_copy 'isValidPublicKey
    :librtmp /errorlibrtmp.a:( rtmp.oundefined) :referencertmp.c :tofunction  'DHGenerateKeympi_cmp_mpi:'

    ETC..... A LOT OF ERRORS

    Hot to fix this error ?

  • Revision 7045aec00a : SAD32xh and SAD64xh for AVX2 All sad function that process above 32 consecutive

    2 octobre 2014, par levytamar82

    Changed Paths :
     Modify /test/sad_test.cc


     Modify /vp9/common/vp9_rtcd_defs.pl


     Add /vp9/encoder/x86/vp9_sad_intrin_avx2.c


     Modify /vp9/vp9cx.mk



    SAD32xh and SAD64xh for AVX2

    All sad function that process above 32 consecutive elements are optimized
    for AVX2 :
    vp9_sad64x64
    vp9_sad64x32
    vp9_sad32x64
    vp9_sad32x32
    vp9_sad32x16
    vp9_sad64x64_avg
    vp9_sad64x32_avg
    vp9_sad32x64_avg
    vp9_sad32x32_avg
    vp9_sad32x16_avg
    The functions that appeared as a hotspot is vp9_sad32x32 and vp9_sad64x64
    vp9_sad32x32 was optimized by 68% and vp9_sad64x64 was optimized by 90%
    both of them gave and overall 2.3% user level gain

    Change-Id : Iccf86b375a2b54c5fbbe685902ead0c9a561b9fd

  • Revision e3167f7fbf : Add vp9_sad32x32x4d_neon Neon intrinsic function. On Nexus 7 speed -6 saw 18%

    25 janvier 2015, par Frank Galligan

    Changed Paths :
     Modify /test/sad_test.cc


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/encoder/arm/neon/vp9_sad4d_neon.c



    Add vp9_sad32x32x4d_neon Neon intrinsic function.

    On Nexus 7 speed -6 saw 18% increase in perf.

    Tested on Nexus 7, built with ndk r10d, gcc 4.9.

    BUG=https://code.google.com/p/webm/issues/detail?id=908

    Change-Id : I70ccdea0326750552ed946fb004507d6efe02d5c