Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (74)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (7524)

  • 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 ?

  • Add partial_tukey and punchout_tukey apodization functions

    10 août 2014, par Martijn van Beurden
    Add partial_tukey and punchout_tukey apodization functions
    

    Adds two new apodization functions that seem to perform better than
    the apodization functions currently in the codebase and fixes three
    existing windows as well.

    Its important to note that this patch only affects the encoder stage
    that evaluates various possible predictors. Audio encoded with these
    new windows will still decode with existing legacy decoders.

    = Theory =
    These functions are used to window the audio data at the predictor
    stage. These news functions enable the use of only part of the signal
    to generate a predictor. This helps because short transients can
    introduce noise into the predictor. The predictor becomes very good
    at prediciting one part of the signal, instead of mediocre for the
    whole block.

    Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>

    • [DH] doc/html/documentation_tools_flac.html
    • [DH] include/FLAC/stream_encoder.h
    • [DH] man/flac.1
    • [DH] man/flac.sgml
    • [DH] src/libFLAC/include/private/window.h
    • [DH] src/libFLAC/include/protected/stream_encoder.h
    • [DH] src/libFLAC/stream_encoder.c
    • [DH] src/libFLAC/window.c
  • HLS MPEG-TS metadata stream using FFMPEG

    20 janvier 2015, par Ramesh Prasad

    I want to create mpeg ts segment for HLS streaming. The ts should contain metadata as a separate stream as shown below-

    **Stream #0:0**[0x102]: Data: timed_id3 (ID3  / 0x20334449)
    **Stream #0:1**[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 426x240, 25 fps, 25 tbr, 90k tbn, 6k tbc
    **Stream #0:2**[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 98 kb/s

    I am using ffmpeg and have tried various option. I get the following ts structure-

    **service_name**    : Service01
    **service_provider**: FFmpeg
    **Stream #0:0[0x100]**: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 1:1 DAR 5:4], max. 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    **Stream #0:1[0x101]**: Audio: mp2 ([3][0][0][0] / 0x0003), 16000 Hz, mono, s16p, 143 kb/s

    using the following command-

    ffmpeg -i news.ts -t 10 -metadata:s:v:0 TITLE="Some Provider" -id3v2_version 4 -write_id3v1 1 segid3.ts

    How to get the metadata as a separate stream in the ts file using ffmpeg ?