Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (65)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 (10921)

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

  • How to find proper RTMP URL for input in Ffmpeg ?

    2 février 2019, par Teymur Gahramanov

    I have RTMP URL for Reolink-RLC410 camera :

    rtmp ://111.111.111.111:1935/bcs/channel0_main.bcs ?channel=0&stream=0&user=admin&password=admin

    This URL works perfectly with VLC and OBS, but i can’t use this URL with FFMPEG to capture RTMP stream.

    So, how can i transform this URL to format which is required by FFMPEG ?

    The required syntax is :

    rtmp ://[username:password@]server[:port][/app][/instance][/playpath]

    https://www.ffmpeg.org/ffmpeg-all.html#rtmp

  • Avconv / FFmpeg - could not find codec parameters

    21 octobre 2014, par scottpaterson

    I am trying to convert a simple SWF (that accepts variables - FlashVars) to an mp4 on Linux Ubuntu.

    I have been using Gnash to convert the SWF into a Raw video file :

    dump-gnash -1 -D /path/output.raw@30 -P "Flashvars=content=textgoeshere" /path/input.swf

    Then I am attempting to use either Avconv / FFmpeg to convert the Raw video file to a MP4 :

    ffmpeg -i /path/input.raw -c:v libx264 -f rawvideo -c copy -map 0 /path/output.mp4

    or

    avconv -i /path/input.raw -b 128k /path/output.mp4

    both give me the error :

    invalid data found when processing input

    I am start to wonder if there is something wrong with my original SWF file. So here here are the files I am using for input. As you can see the txt file holds the variables that the SWF reads from.

    http://scottpaterson.ca/files/example1.swf

    http://scottpaterson.ca/files/example1.txt

    How can I convert this into an MP4 video ? Any help would be great, thanks in advance.