
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (97)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (7036)
-
Compile FFmpeg with librtmp ERROR : librtmp not found
10 juin 2014, par 谢小进Environment : Mac OS X 10.9.2, Xcode 5.1.
I have compiled librtmp, libogg and libspeex successfully, they are in the directories named
fat-librtmp
,fat-libogg
andfat-libspeex
, then I run the shell script as below to coompile them into FFmpeg :#!/bin/sh
# OS X Mavericks, Xcode 5.1
set -ex
VERSION="2.2.2"
CURRPATH=`pwd`
DSTDIR="ffmpeg-built"
SCRATCH="scratch"
LIBRTMP=$CURRPATH/librtmp
ARCHS="i386 x86_64 armv7 armv7s arm64"
CONFIGURE_FLAGS="--enable-shared \
--disable-doc \
--disable-stripping \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffserver \
--disable-ffprobe \
--disable-decoders \
--disable-encoders \
--disable-protocols \
--enable-protocol=file \
--enable-protocol=rtmp \
--enable-librtmp \
--enable-encoder=flv \
--enable-decoder=flv \
--disable-symver \
--disable-asm \
--enable-cross-compile"
rm -rf $DSTDIR
mkdir $DSTDIR
if [ ! `which yasm` ]; then
if [ ! `which brew` ]; then
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
fi
brew install yasm
fi
if [ ! `which gas-preprocessor.pl` ]; then
curl -3L https://github.com/libav/gas-preprocessor/raw/master/gas-preprocessor.pl -o /usr/local/bin/gas-preprocessor.pl
chmod +x /usr/local/bin/gas-preprocessor.pl
fi
if [ ! -e ffmpeg-$VERSION.tar.bz2 ]; then
curl -O http://www.ffmpeg.org/releases/ffmpeg-$VERSION.tar.bz2
fi
tar jxf ffmpeg-$VERSION.tar.bz2
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
for ARCH in $ARCHS; do
mkdir -p $DSTDIR/$SCRATCH/$ARCH
cd $DSTDIR/$SCRATCH/$ARCH
CFLAGS="-arch $ARCH"
if [ $ARCH == "i386" -o $ARCH == "x86_64" ]; then
PLATFORM="iPhoneSimulator"
CFLAGS="$CFLAGS -mios-simulator-version-min=6.0"
else
PLATFORM="iPhoneOS"
CFLAGS="$CFLAGS -mios-version-min=6.0"
if [ $ARCH == "arm64" ]; then
EXPORT="GASPP_FIX_XCODE5=1"
fi
fi
XCRUN_SDK=`echo $PLATFORM | tr '[:upper:]' '[:lower:]'`
CC="xcrun -sdk $XCRUN_SDK clang"
CFLAGS="$CFLAGS -I$LIBRTMP/include"
CXXFLAGS="$CFLAGS"
LDFLAGS="$CFLAGS -L$LIBRTMP/lib"
$CURRPATH/ffmpeg-$VERSION/configure \
--target-os=darwin \
--arch=$ARCH \
--cc="$CC" \
$CONFIGURE_FLAGS \
--extra-cflags="$CFLAGS" \
--extra-cxxflags="$CXXFLAGS" \
--extra-ldflags="$LDFLAGS" \
--prefix=$CURRPATH/$DSTDIR/$ARCH
make -j3 install $EXPORT
cd $CURRPATH
done
rm -rf $DSTDIR/$SCRATCH
mkdir -p $DSTDIR/lib
cd $DSTDIR/$ARCH/lib
LIBS=`ls *.a`
cd $CURRPATH
for LIB in $LIBS; do
lipo -create `find $DSTDIR -name $LIB` -output $DSTDIR/lib/$LIB
done
cp -rf $DSTDIR/$ARCH/include $DSTDIR
for ARCH in $ARCHS; do
rm -rf $DSTDIR/$ARCH
doneUnluckily, the config.log shows :
check_pkg_config librtmp librtmp/rtmp.h RTMP_Socket
pkg-config --exists --print-errors librtmp
Package librtmp was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtmp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtmp' found
ERROR: librtmp not foundI have googled and knew that
configure
contains a lineenabled librtmp && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket
, which maybe be wrong. Right ? Can somebody help me to solve it ?UPDATE at 2014/06/10
I think it’s about pkgconfig or something, so I have create a file named
librtmp.pc
at/usr/local/lib/pkgconfig
, which contains below text :prefix=/usr/local/librtmp
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: librtmp
Description: RTMP implementation
Version: v2.3
Requires:
URL: http://rtmpdump.mplayerhq.hu
Libs: -L${libdir} -lrtmp -lz
Cflags: -I${includedir}Also I have moved built
librtmp
to/usr/local
. After above being done, I run the shell script again, but still same error ! Can somebody told me why and how to solve it ? -
Compile FFmpeg with librtmp ERROR : librtmp not found
9 novembre 2022, par SmeegolEnvironment : Mac OS X 10.9.2, Xcode 5.1.



I have compiled librtmp, libogg and libspeex successfully, they are in the directories named
fat-librtmp
,fat-libogg
andfat-libspeex
, then I run the shell script as below to coompile them into FFmpeg :


#!/bin/sh

# OS X Mavericks, Xcode 5.1

set -ex

VERSION="2.2.2"
CURRPATH=`pwd`
DSTDIR="ffmpeg-built"
SCRATCH="scratch"
LIBRTMP=$CURRPATH/librtmp
ARCHS="i386 x86_64 armv7 armv7s arm64"

CONFIGURE_FLAGS="--enable-shared \
 --disable-doc \
 --disable-stripping \
 --disable-ffmpeg \
 --disable-ffplay \
 --disable-ffserver \
 --disable-ffprobe \
 --disable-decoders \
 --disable-encoders \
 --disable-protocols \
 --enable-protocol=file \
 --enable-protocol=rtmp \
 --enable-librtmp \
 --enable-encoder=flv \
 --enable-decoder=flv \
 --disable-symver \
 --disable-asm \
 --enable-cross-compile"

rm -rf $DSTDIR
mkdir $DSTDIR

if [ ! `which yasm` ]; then
 if [ ! `which brew` ]; then
 ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
 fi
 brew install yasm
fi

if [ ! `which gas-preprocessor.pl` ]; then
 curl -3L https://github.com/libav/gas-preprocessor/raw/master/gas-preprocessor.pl -o /usr/local/bin/gas-preprocessor.pl
 chmod +x /usr/local/bin/gas-preprocessor.pl
fi

if [ ! -e ffmpeg-$VERSION.tar.bz2 ]; then
 curl -O http://www.ffmpeg.org/releases/ffmpeg-$VERSION.tar.bz2
fi

tar jxf ffmpeg-$VERSION.tar.bz2


export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

for ARCH in $ARCHS; do
 mkdir -p $DSTDIR/$SCRATCH/$ARCH
 cd $DSTDIR/$SCRATCH/$ARCH

 CFLAGS="-arch $ARCH"
 if [ $ARCH == "i386" -o $ARCH == "x86_64" ]; then
 PLATFORM="iPhoneSimulator"
 CFLAGS="$CFLAGS -mios-simulator-version-min=6.0"
 else
 PLATFORM="iPhoneOS"
 CFLAGS="$CFLAGS -mios-version-min=6.0"
 if [ $ARCH == "arm64" ]; then
 EXPORT="GASPP_FIX_XCODE5=1"
 fi
 fi

 XCRUN_SDK=`echo $PLATFORM | tr '[:upper:]' '[:lower:]'`
 CC="xcrun -sdk $XCRUN_SDK clang"
 CFLAGS="$CFLAGS -I$LIBRTMP/include"
 CXXFLAGS="$CFLAGS"
 LDFLAGS="$CFLAGS -L$LIBRTMP/lib"

 $CURRPATH/ffmpeg-$VERSION/configure \
 --target-os=darwin \
 --arch=$ARCH \
 --cc="$CC" \
 $CONFIGURE_FLAGS \
 --extra-cflags="$CFLAGS" \
 --extra-cxxflags="$CXXFLAGS" \
 --extra-ldflags="$LDFLAGS" \
 --prefix=$CURRPATH/$DSTDIR/$ARCH

 make -j3 install $EXPORT

 cd $CURRPATH
done

rm -rf $DSTDIR/$SCRATCH
mkdir -p $DSTDIR/lib
cd $DSTDIR/$ARCH/lib
LIBS=`ls *.a`
cd $CURRPATH

for LIB in $LIBS; do
 lipo -create `find $DSTDIR -name $LIB` -output $DSTDIR/lib/$LIB
done

cp -rf $DSTDIR/$ARCH/include $DSTDIR

for ARCH in $ARCHS; do
 rm -rf $DSTDIR/$ARCH
done




Unluckily, the config.log shows :



check_pkg_config librtmp librtmp/rtmp.h RTMP_Socket
pkg-config --exists --print-errors librtmp
Package librtmp was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtmp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtmp' found
ERROR: librtmp not found




I have googled and knew that
configure
contains a lineenabled librtmp && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket
, which maybe be wrong. Right ? Can somebody help me to solve it ?


UPDATE at 2014/06/10



I think it's about pkgconfig or something, so I have create a file named
librtmp.pc
at/usr/local/lib/pkgconfig
, which contains below text :


prefix=/usr/local/librtmp
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: librtmp
Description: RTMP implementation
Version: v2.3
Requires:
URL: http://rtmpdump.mplayerhq.hu
Libs: -L${libdir} -lrtmp -lz
Cflags: -I${includedir}




Also I have moved built
librtmp
to/usr/local
. After above being done, I run the shell script again, but still same error ! Can somebody told me why and how to solve it ?

-
Select screen area dragging the mouse [closed]
12 juin 2022, par Pedro AntônioHow can I select area, by dragging the mouse and drawing a rectangle, returning x and y position ? I would like to get this parameters to pass it to ffmpeg


Thanks