
Recherche avancée
Autres articles (6)
-
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 (1880)
-
Applying multiple filters at once with FFMPEG
8 novembre 2024, par ParziphalI have the need to apply fadein and overlay filters to a video. Is it possible to apply 2 filters at once ?


I got :



ffmpeg -i input.mpg -vf "movie=watermark.png [logo]; [in][logo] overlay=W-w-10:H-h-10 [out]" output.mpg



I'm trying to add
fade=in:0:20
, but if I add a new-vf
parameter, it will overwrite the preceding one, and if I add :

-vf "fade=in:0:20; movie=......"



it won't work.


Is this possible or do I have to run FFmpeg twice ?


-
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.
-
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.