
Recherche avancée
Autres articles (111)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (7059)
-
ffmpeg overlay a watermark image on a video every 15 minutes ?
21 janvier 2016, par CharlesSo I have a snippet from a bash script that overlays a transparent image watermark onto a video file, like this :
/usr/bin/ffmpeg -i input.mp4 -i out.png -filter_complex "overlay=10:10" /outputfolder/output.mp4
Works beautifully, and fast.
What I really need though, is to have the watermark only show up at the start of the video, and then every 15 minutes through the video afterwards, for 30 seconds at a time.
Is this possible without multiple passes ?
Thanks in advance for all the help !
-
fade In and out effect on a text using ffmpeg in nodejs
21 septembre 2020, par sankar barmanThere are many examples for command line interface, but what i need is to achieve by having an object property with filter name and options. No solution have been found for this.
Here is the code sample. Everything is working fine, but don't know the syntax for fade In and fade out. Please do help in this. Thanks in advance.


ffmpeg("tmp/" + file.name).videoFilters({ filter: 'drawtext',
options: { 
 fontfile: 'Lucida Grande.ttf',
 x: 50,
 y:20,
 text: 'some title',
 fontsize: '56',
 fontcolor: 'white',
 enable: 'between(t,10,20)'
 fade: ?
}})



-
FFMpeg : how to use between() to select last second ?
13 mai 2019, par rcpinheiroI’m trying to apply a caption using drawtext that should disappear one second before the video end :
ffmpeg -i input.mp4 -vf "drawtext=enable='between(t,0,5)':fontfile=font.ttf:text='Some caption':x=60:y=640:fontsize=40:fontcolor=#f0f0f0@0.9" -vcodec libx264 -crf 27 -preset ultrafast -strict -2 -acodec copy output.mp4
The problem is that I don’t know the video length beforehand. I’ve tried using ’between(t,0,-1)’ but it doesn’t work, the caption never shows up.
Anyone knows if is there a way to do this without having to open the video first to check length and only after that draw the caption ?
Thanks in advance !