
Recherche avancée
Autres articles (38)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (4902)
-
Build FFmpeg with Freetype2 for ARM ( Android )
14 mai 2014, par Pawel CalaI’m trying to build FFmpeg binary file with freetype library included ( I need it for drawtext filter ). Unfortunately I cannot configure ffmpeg properly and every try ends with "freetype not found" error.
PS I’ve tried to build guardian-ffmpeg project but i’m getting errors during configure process.
PS2 Building plain ffmpeg works perfectly well
Configuration script :
make distclean &./configure --target-os=linux \
--cross-prefix=arm-linux-androideabi- \
--arch=arm \
--cpu=armv7-a \
--enable-libfreetype --enable-filter=drawtext \ #!Freetype params
--disable-network \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-protocol=file \
--sysroot=${ANDROID_NDK_ROOT_PATH}/platforms/${ANDROID_API_VERSION}/arch-arm \
--prefix=build/armeabi-v7a \
--disable-asm \
--extra-cflags='-DANDROID -Ifreetype2/ -I${ANDROID_NDK_ROOT_PATH}/sources/cxx-stl/system/include -march=armv7-a -mfloat-abi=softfp' \
--extra-ldflags='-Wl,--fix-cortex-a8 -Lfreetype2/ -L../android-libs -Wl,-rpath-link,../android-libs' \
--extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
make -j6 && make install || exit 0Directories sctructure :
ffmpeg/
-ffmpeg dirs/
-freetype2/
-rest of ffmpeg files ( including configure, make, etc )I’ve checked patch sources in guardian-project and I’ve found that ffmpeg configure file might need some changes in
require_libfreetype
method ?!Thanks in advance ( and sorry for my bad english )
EDIT :
Building on OSX Mavericks,
Last 3 lines ofconfig.log
; OSX hasn’t gotpkg-config
thereforefalse
in 2nd line :require_libfreetype
false --exists --print-errors freetype
ERROR: freetype not found -
rtmpproto : avoid setting auth var value if null
16 mai 2014, par Reynaldo H. Verdejo Pinochetrtmpproto : avoid setting auth var value if null
Use default values if parsed variable is found not to
have any value. Avoids crashing at strlen for salt/user
on the auth call afterwards and needless NULL assignments
for the rest (default is already NULL for those).Should fix Coverity Scan issues #966644 and #966645
Signed-off-by : Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
-
ffplay compilation with extra flags
21 mai 2014, par Pavan KI would like to compile ffplay with an external header which is written in c++
ffplay.c
#include "oscpkt.hh"
//rest of the fileoscpkt.hh
#include <cstring>
//rest of the file
</cstring>The error is
CC ffplay.o
In file included from ffplay.c:59:0:
oscpkt.hh:69:19: fatal error: cstring: No such file or directory
compilation terminated.
make: *** [ffplay.o] Error 1I think I have to provide -lstdc++ externally to pickup the cstring library
Could anyone tell me how to add this in the makefile of ffmpeg compilation. There are no flags that I could add to, maybe I am missing something.
You can find the sources here :