
Recherche avancée
Autres articles (86)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (4389)
-
ffmpeg in not working in php exec()
10 septembre 2016, par TNTWap WapChatFFMPEG is not working in exec but its working when using ssh on that us
but other commands work with exec !Here is the code :
exec("ffmpeg -i /home/setare/public_html/kanalmanager/wt/230307754.mp4 -i /home/setare/public_html/kanalmanager/wt/230307754_logo.png \
-filter_complex "[1]colorchannelmixer=aa=1,scale=iw*1.4:-1[wm];[0][wm]overlay=x=(W-w)/2:y=(H-h)/2" /home/setare/public_html/kanalmanager/wt/230307754_send.mp4 -y"); -
How to compile ffmpeg with x11grab ? xlib missing
12 décembre 2015, par ShumanI am compiling ffmpeg on centos 7.1 x64. The error message I got is
#### FFmpeg static build, by STVS SA ####
*** Building FFmpeg ***
ERROR: Xlib not foundconfig.log
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -static --static -std=c99 -fomit-frame-pointer -pthread -I/home/shuman/github/ffmpeg-static/target/include/opus -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -I/home/shuman/github/ffmpeg-static/target/include -c -o /tmp/ffconf.eYdD6TBQ.o /tmp/ffconf.UnBT7bp1.c
gcc -L/home/shuman/github/ffmpeg-static/target/lib -lm -L/home/shuman/github/ffmpeg-static/target/lib -lm -static -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.6gKhjd90 /tmp/ffconf.eYdD6TBQ.o -lxcb -lxvidcore -L/home/shuman/github/ffmpeg-static/target/lib -lx264 -lpthread -lm -L/home/shuman/github/ffmpeg-static/target/lib -lvpx -lm -L/home/shuman/github/ffmpeg-static/target/lib -lvpx -lm -L/home/shuman/github/ffmpeg-static/target/lib -lvpx -lm -L/home/shuman/github/ffmpeg-static/target/lib -lvpx -lm -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -L/home/shuman/github/ffmpeg-static/target/lib -lrtmp -lz -lssl -lcrypto -L/home/shuman/github/ffmpeg-static/target/lib -lopus -lmp3lame -lfaac -lm -lbz2 -lz -pthread -ldl -lXext
/usr/bin/ld: cannot find -lxcb
collect2: error: ld returned 1 exit status
ERROR: Xlib not foundbut I have yum installed libxcb, what could be the reason for this ?
edit :
$ rpm -qa | grep libxcb
libxcb-devel-1.11-4.el7.x86_64
libxcb-1.11-4.el7.i686
libxcb-1.11-4.el7.x86_64
compat-libxcb-1.9-1.el7.x86_64
$ locate xcb.h
/home/shuman/Downloads/buildroot/package/x11r7/libxcb/libxcb.hash
/usr/include/X11/Xlib-xcb.h
/usr/include/cairo/cairo-xcb.h
/usr/include/xcb/xcb.h
$ locate xcb.so
/home/shuman/.dropbox-dist/dropbox-lnx.x86_64-3.10.11/libX11-xcb.so.1
/home/shuman/.dropbox-dist/dropbox-lnx.x86_64-3.10.11/plugins/platforms/libqxcb.so
/usr/lib/libX11-xcb.so
/usr/lib/libX11-xcb.so.1
/usr/lib/libX11-xcb.so.1.0.0
/usr/lib/libxcb.so.1
/usr/lib/libxcb.so.1.1.0
/usr/lib64/libX11-xcb.so
/usr/lib64/libX11-xcb.so.1
/usr/lib64/libX11-xcb.so.1.0.0
/usr/lib64/libxcb.so
/usr/lib64/libxcb.so.1
/usr/lib64/libxcb.so.1.1.0edit : it turns out that it’s because I’m not using the correct configure commandline, after following this guide, it works now
CFLAGS="-I$TARGET_DIR/include" LDFLAGS="-L$TARGET_DIR/lib" ./configure --prefix=${OUTPUT_DIR:-$TARGET_DIR} --extra-cflags="-I$TARGET_DIR/include" --extra-ldflags="-L$TARGET_DIR/lib" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-librtmp
in which, $TARGET_DIR is where all the dependency libs installed, this is part of my static ffmpeg build script ( with librtmp and libx265 and x11grab)
-
FFMPEG for Android - missing alsa format
24 août 2012, par user1545779@rowntreerob has an android-ffmpeg implementation that build successfully using the default file settings.
When you remove disble-avdevice and disbale-devices from the configure_ffmpeg script, ndk-build fails. The following is the error message :
CP ffmpeg
STRIP ffmpeg
/android-ffmpeg/Project/jni
/android-ffmpeg/Project/jni
/android-ffmpeg/Project/jni
jasongipsyblues@android-master : /android-ffmpeg/Project/jni$ ndk-build
Compile thumb : ffmpeg <= ffmpeg.c
Compile thumb : ffmpeg <= cmdutils.c
Executable : ffmpeg
/home/jasongipsyblues/android-ffmpeg/Project/obj/local/armeabi- >v7a/objs/ffmpeg/ffmpeg/ffmpeg.o : In function `main' :/home/jasongipsyblues/android-ffmpeg/Project/jni/ffmpeg/ffmpeg.c:6130 : undefined >reference to `avdevice_register_all'
/home/jasongipsyblues/android-ffmpeg/Project/obj/local/armeabi- >v7a/objs/ffmpeg/ffmpeg/cmdutils.o : In function `print_all_libs_info' :
/home/jasongipsyblues/android-ffmpeg/Project/jni/ffmpeg/cmdutils.c:639 : undefined >reference to `avdevice_configuration'
/home/jasongipsyblues/android-ffmpeg/Project/jni/ffmpeg/cmdutils.c:639 : undefined >reference to `avdevice_version'
collect2 : ld returned 1 exit statusmake : ** [/home/jasongipsyblues/android-ffmpeg/Project/obj/local/armeabi-v7a/ffmpeg] >Error 1
Please pardon my poor formating skills, I still dont get the formating thing. It appears the deletion of the references is to avdevices is definitely affecting the use of ndk-build.
All the alsa source files exist in the ffmpeg code. How does one build ffmpeg in such a way that alsa is included in the formats ?