
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (108)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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" (...)
Sur d’autres sites (11505)
-
Anomalie #3079 (Nouveau) : articles syndiqués toujours présents en partie publique même sans syndi...
28 octobre 2013, par Johan .Je créé un site syndiqué n°N. Je le publie :
- spip.php ?siteN affiche bien la liste des articles syndiqués.
Je modifie le site en décochant l’option de syndication :
- ecrire/ ?exec=site&id_syndic=N n’affiche plus les articles syndiqués : ok
- spip.php ?siteN affiche toujours la liste des articles syndiqués : problème
Lancé les crons dans la liste des travaux n’a aucun effet.
Solution rustine : resyndiquer le site, Effacer tous les articles syndiqués, « dé-syndiquer » le site.
J’ai constaté ceci sur un 3.0.10 (en prod) et vient de le reproduire aussi en SPIP 3.1.0-dev SVN [20894] (sans plugins).
-
Anomalie #3079 (Fermé) : articles syndiqués toujours présents en partie publique même sans syndica...
1er novembre 2013, par b bEt hop, appliqué par :
http://zone.spip.org/trac/spip-zone/changeset/77830 (dans le trunk)
http://zone.spip.org/trac/spip-zone/changeset/77831 (dans la branche 3.0)
-
Batch process audio files and image files to create movie files by matching multiple wildcard values
29 septembre 2022, par psychaudioI'm attempting to batch-process audio and image files to create video files using a Shell script with FFmpeg.


- 

- The ffmpeg script works in Terminal :




ffmpeg -loop 1 -i image.png -i audio.wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest output.mp4



- 

- A nested for loop with wildcards works as a batch script :




#!/bin/sh
for img in *.png; do
 for wav in *.wav; do
 ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest ../mb/$img.mp4
 done
done



The only problem here is that it creates more combinations than I need. I'd like to be able to match wildcard values and only mix those together. I'd like to be able to prepare the filenames to match in advance to make this easier : For example, only match 1.png with 1.wav to make 1.mp4, 2.png with 2.wav to make 2.mp4 and so on. I'm able to modify the script to match the wildcards in a Regex, but I'm not sure if there is a way to then execute the logic above. Here is what I am attempting :


#!/bin/sh
img=*.png
wav=*.wav

if [[ ${img%.*} == ${wav%.*} ]];
 then
 ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest $img.mp4;
 else
 echo "Failure"
 fi



This begins by overwriting the image files, so it does not appear to work as planned. Is there a simpler way to do this ? Perhaps looping through images 1..5 in one folder and audio files 1..5 in another ?


Thanks for any insights, and happy to provide more context (very new to this, so still learning).