
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (58)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (10950)
-
FFMPEG command fails for file path with white spaces
28 septembre 2016, par user3904345I am executing the below
ffmpeg
command for trimming videos.The issue I am having is that if filepath contains spaces then the command fails.I tried many ways to handle spaces but none of them worked except moving file to a path that doesn’t have space and then executing the command with new file path as source.
Below is the command-execFFmpegBinary("-i " + filepath + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());
private void execFFmpegBinary(final String command) {
try {
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onFailure(String s) {
Log.e("Previewragment", "FAILED with output : " + s);
}
@Override
public void onSuccess(String s) {
Log.e("Previewragment", "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s) {
Log.e("Previewragment", "Started command : ffmpeg " + command);
Log.e("Previewragment", "progress : " + s);
}
@Override
public void onStart() {
Log.e("Previewragment", "Started command : ffmpeg " + command);
}
@Override
public void onFinish() {
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// do nothing for now
}
}I saw this answer and tried
String addQuotes(String in ) {
return "\"" + in + "\"";
}
execFFmpegBinary("-i " + addQuotes(filepath) + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());
-
fate/source-check.sh : Use "git show" instead of git —version to test for git
15 février 2016, par Michael Niedermayer -
FFMPEG show an Image with specific duration in filter_complex chain
26 juin 2021, par DigerkamI have trouble with showing images with a specific duration in filter_complex.


I have to use filter_complex, and getting error : "No such filter : 'duration'"


So which filter do I need to use ?


ffmpeg \
 -i "music.mp3" \
 -i "01.mp4" \
 -i "02.jpg" \
 -i "03.mp4" \
 -i "04.jpg" \
 -i "05.mp4" \
 -filter_complex " \
 [1:v]scale=300:400,trim=0:2,setpts=PTS-STARTPTS[v1]; \
 // Correct filter needed here: \
 [2:v]scale=300:400,duration=2,setpts=PTS-STARTPTS[v2]; \
 [3:v]scale=300:400,trim=4:6,setpts=PTS-STARTPTS[v3]; \
 // And here:
 [4:v]scale=300:400,duration=2,setpts=PTS-STARTPTS[v4]; \
 [5:v]scale=300:400,trim=8:10,setpts=PTS-STARTPTS[v5]; \
 [v1][v2][v3][v4][v5]concat=n=5:v=1:a=0[out] \
 " \
 -map "[out]" -map "0:a" -t "12" -c:v "libx264" -pix_fmt "yuv420p" -s "300x400" output.mp4