
Recherche avancée
Autres articles (71)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (5523)
-
arm-linux-androideabi/bin/ld : error : cannot find -lpolarssl while compiling rtmp library for Android (host os -Debian)
24 octobre 2014, par trololoI’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/polarsslIt 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 distcleanI 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 ?
-
Use parameter expansions in a command run from "find | xargs" to prevent output overwriting
20 février 2019, par PhilippI have this bash script that is looking for mp4 files in subfolders with certain names and saves frames of those videos as jpeg.
#!/bin/bash
find ../folder -type f -iname '*C00*.mp4' | xargs -I %% ffmpeg -i %% -vf fps=1 -q:v 3 "../frames/_${i%.*}_frame%d.jpg"The problem is that everytime the script finishes one video the .jepg output files of the next videos are overwriting the existing ones.
How can I prevent that ?
-
OpenCV Cmake unable to find ffmpeg lib
29 juillet 2016, par URMISH THAKKERI am trying to compile OpenCV with ffmpeg support for ARM Platform on a x86 host.
I downloaded and compiled ffmpeg for arm platform (both static - FFMPEG_ARM_LIB and dynamic libs - FFMPEG_ARM_LIB_SO)
When I run cmake in opencv, it gives the following -
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: **NO**
-- codec: NO
-- format: NO
-- util: NO
-- swscale: NO
-- gentoo-style: YES
-- GStreamer: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: NO
-- UniCap ucil: NO
-- V4L/V4L2: NO/YES
-- XIMEA: NO
-- Xine: NOI changed the following flags to point to the lib paths of both ffmpeg static and dynamic libs-
- LD_LIBRARY_PATH
- C_INCLUDE_PATH
- CPLUS_INCLUDE_PATH
- PKG_CONFIG_PATH
- PKG_CONFIG_LIBDIR
- PATH
- CMAKE_LIBRARY_PATH
- CMAKE_INCLUDE_PATH
However, the opencv is still not able to recognize the ffmpeg libs.
My FFMPEG compilation command was
./configure --enable-shared --disable-static\
--cross-prefix=arm-linux-gnueabi- --arch=armv7a\
--target-os=linux --prefix=<path>
</path>What am I doing wrong here ?
1. Am I compiling the ffmpeg with the wrong option ?
2. Am I missing some element in CMake which would make it point to the compiled ffmpeg lib for ARM on my system ?