
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 (31)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (5342)
-
Anomalie #3239 : _CACHE_CONTEXTES_AJAX génère un dossier /tmp/cache/contextes qui grossit à l’infini
19 juillet 2014, par marcimat ☺☮☯♫Juste un mot tout de même :
En SPIP 3, il ne faut pas déclarer cette constante. La solution intermédiaire qu’on utilise est de passer automatiquement par tmp/cache/contexte SI certaines conditions sont requises, au cas par cas. Particulièrement :
- si bug lors du décryptage du hash ajax (un bug sur une version de php) => on met le contexte en fichier cache
- si la longueur du hash dépasse la longueur autorisée pah suhosin (si présent) => on met le contexte en fichier cache.De la sorte, ça limite grandement le nombre de fichiers créés dans ce cache (et c’est fait de façon automatique).
Mais… ça ne résout pas du tout le problème : ces fichiers restent en cache et ne se nettoient jamais, ce qui potentiellement peut créer le même problème signalé ici.
-
Running ffmpeg with Mac's Automator to remove metadata
11 février 2019, par sd100Hi so I am having problems running ffmpeg on a folder of movie files with Mac’s automator. My goal is to select a folder and right click/select service and automatically the script should run on only movie files (of mp4 type).
So I have a Automator workflow receives files or folders in finder. Then I have "Selected Finder items" and then run shell script (code below).
This works but firstly it gives the ffmpeg verbose output in the results window in the mac which I have to press ok. I tried the "-hide_banner -loglevel panic" but the script doesn’t work then.
Secondly the "Selected finder items" works but I want to only select a folder and automatically the automator script should go in the folder and run the shell script on only mp4 files (movie).
Is there anyway to set both requirements ? Any advise would be appreciated !
Code I’ve tried :
for f in "$@"
do
/usr/local/bin/ffmpeg -i "$f" -map_metadata -1 -c:v copy -c:a copy "$f%.mp4"-new.mp4 ;
doneAlso am trying to move all converted mp4 files to a directory in the current directory with shell code like this :
for f in *.mp4 ; do ffmpeg -i "$f" -map_metadata -1 -c:v copy -c:a copy "converted/$f" ; done
This doesn’t work either in automator as I don’t know how to move the ffmpeg output files into another directory via automator.
-
Overlay video after set time offset with FFmpeg
5 août 2012, par ProduitbrutI'm trying to add overlays to an input video with ffmpeg that appear some time after the video starts.
The basic way to add an overlay is :
ffmpeg -i in.avi -vf "movie=overlay.avi [ovl]; [in][ovl] overlay" out.avi
But this adds the overlay video (or image) from the start of the input video until one of the videos ends.
I know how to offset the overlay video using
movie=overlay.avi:seek_point=1.4
, but what about an offset on the input video ?I could always clip the video to the desired point, add overlay on the second clip, then stitch the two but that's not very efficient.