
Recherche avancée
Autres articles (83)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (15127)
-
compiling ffmpeg from source on debian with dependencies also from source, gives shared library error
17 mars 2017, par devprashanthere is a snippet from script(permalink) that is created for compiling and installing ffmpeg from source with compiling its dependencies also from source :
local_install="$HOME/.localpacks"
mkdir $local_install 2> /dev/null
if [[ $PATH != *"$local_install"* ]]; then
echo "Setting PATH to point to" $local_install
echo PATH=$HOME/.localpacks/bin:$HOME/.localpacks/share:$HOME/.localpacks/include:$HOME/.localpacks/lib:$PATH >> ~/.bashrc
# ======see here when pointed below=============================
else
echo "PATH already configured"
fi
...................
part of script which download and compile dependencies
...................
wget http://ffmpeg.org/releases/ffmpeg-3.2.4.tar.bz2 && \
tar xf ffmpeg-3.2.4.tar.bz2 && \
cd ffmpeg-3.2.4 && \
./configure \
--prefix="$local_install" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/.localpacks/include" \
--extra-ldflags="-L$HOME/.localpacks/lib" \
--bindir="$HOME/.localpacks/bin" \
--enable-gpl \
--enable-libass \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libx264 \
--enable-nonfree && \
make -j4 && make install && \
cd .. && \
rm ffmpeg-3.2.4* -rf
source ~/.profileIt install ffmpeg correctly. but when i run ffmpeg from terminal it gives :
ffmpeg : error while loading shared libraries : libass.so.9 : cannot open
shared object file : No such file or directoryFrom upper code snippet , (where you can see now), PATH include $local_install/lib.
On ls to /.localpacks/lib :
abc@server:~/.localpacks/lib$ ls
libass.a libass.so.9 libass.la libass.so.9.0.0 libass.so libavcodec.aSo, libass.so.9 is in library path.
To run it correctly , need to run like below :
$ LD_LIBRARY_PATH=$HOME/.localpacks/lib/:$LD_LIBRARY_PATH
$ LD_LIBRARY_PATH=$local_install/lib ffmpegSo, why i need to include it again in LD_LIBRARY_PATH to run ffmpeg.
Here is the permalink to the script : install_ffmpeg_from_source.sh
-
create single video form 3 separate videos using FFmpeg
24 septembre 2019, par ShijinI was trying to create single video form 3 separate videos using FFmpeg.
ffmpeg -y -loglevel debug -i /home/ubuntu/test/1569317318/15693173181124138568.webm -i /home/ubuntu/test/1569317318/1569317318867082351.webm -i /home/ubuntu/test/1569317318/1569317318191333163.webm -filter_complex '[0]scale=320:-1[a];[1]scale=320:-1[b];[2]scale=320:-1[c];[3]scale=320:-1[d];[a]pad=640:480[x];[x][b]overlay=320[y];[y][c]overlay=0:240[z];[z][d]overlay=320:240;[0][1]amix' -c:v libx264 -crf 23 -preset veryfast -shortest /home/ubuntu/test/1569317318/1569317318478598265.mp4
This is not woking, It throws an error like bellow
Invalid file index 3 in filtergraph description
[0]scale=320 :-1[a] ;[1]scale=320 :-1[b] ;[2]scale=320 :-1[c] ;[3]scale=320 :-1[d] ;[a]pad=640:480[x] ;[x][b]overlay=320[y] ;[y][c]overlay=0:240[z] ;[z][d]overlay=320:240 ;[0][1]amix.How to fix it ? If we provide four inputs, It is working
-
Java execute command doesn't work in code
27 août 2017, par ArianaI am calling java.lang.Runtime.exec(...) in my Java program to run a command (some
FFMPEG
commands) simply passed to my function :private static void RunCommand(String command) throws InterruptedException {
try {
// Execute command
Process proc = Runtime.getRuntime().exec(command);
}
}It runs OK for simple FFMPEG cases such as
ffmpeg -i input.avi -c copy output.avi
.But for one of the commands, apparently it doesn’t run. When I copy/paste the exact String in command line, I am able to run it and see the output file.
ffmpeg -i "concat:/home/temp10.avi|/home/p2.avi|/home/temp15.avi" -c copy -y /home/output.avi
Which is the following in code :
String c4="ffmpeg -i \"concat:"+dir+temp1+"|"+dir+ad+"|"+dir+temp3+"\" -c copy -y "+dir+output;
What is going on ? Any guesses why it doesn’t run in code ? If the
"
is causing the problem, why the corresponding string looks good ?!