
Recherche avancée
Autres articles (103)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (9089)
-
configure : Add -Wno-format-zero-length to CFLAGS.
24 juin 2011, par Diego Biurrunconfigure : Add -Wno-format-zero-length to CFLAGS.
-
80 character line length on Arnr LUT
23 juillet 2010, par Paul Wilkins80 character line length on Arnr LUT
-
ffmpeg selects shortest movie but leaves full length audio
26 octobre 2015, par Stan JamesI’ve created a tool to create a grid of movies, like in the Brady Bunch opening. It’s a cool, funny effect.
Here’s a sample movie showing the grid.
The problem is that ffmpeg is choosing the shortest movie to determine the maximum length of overlaid videos, but still using the full length of the first audio track to determine the overall output movie length.
So all my videos stop moving when the shortest one ends, but the audio plays on for full length of the first movie.
How can I either (1) set the length of the output movie to the longest input movie or (2) match the audio length to the shortest movie length as well ?
Based on this ffmpeg example usage which exhibits the same audio problem :
ffmpeg
-i 1.avi -i 2.avi -i 3.avi -i 4.avi
-filter_complex "
nullsrc=size=640x480 [base];
[0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft];
[1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright];
[2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft];
[3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright];
[base][upperleft] overlay=shortest=1 [tmp1];
[tmp1][upperright] overlay=shortest=1:x=320 [tmp2];
[tmp2][lowerleft] overlay=shortest=1:y=240 [tmp3];
[tmp3][lowerright] overlay=shortest=1:x=320:y=240
"
-c:v libx264 output.mkv