
Recherche avancée
Autres articles (58)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...)
Sur d’autres sites (13366)
-
how to built ffmpeg X264 for ios6.0 ?
16 mai 2013, par user2388180./configure —enable-libx264 —enable-gpl —extra-cflags=-I/usr/local/include —extra-ldflags=-L/usr/local/lib —disable-doc —disable-ffmpeg —disable-ffplay —disable-ffserver —disable-avfilter —disable-debug —disable-decoders —enable-cross-compile —disable-encoders —disable-armv5te —enable-decoder=h264 —enable-encoder=libx264 —enable-pic —cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc —as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' —extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' —sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk —target-os=darwin —arch=arm —cpu=cortex-a8 —extra-cflags='-arch armv7' —disable-asm
make,make install ;
but it's no any file in urs/local
How to correctly compile ? thanks ! -
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 ?

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