
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (74)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (16522)
-
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 ?! -
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
-
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