
Recherche avancée
Autres articles (61)
-
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5416)
-
Create Shell Script for Mac that is the same as my BAT file
13 janvier 2023, par Les HorneryI have written a batch file to add two images as watermarks onto each video within a directory, now I need that converted to a shell script so I can run it on a Mac.



@echo off
for %%a in ("*.MP4") do ffmpeg -i "%%a" -i ../soccer5s.png -i ../vpa.png -filter_complex "overlay=10:10,overlay=main_w-overlay_w-10:10" "%%~na-marked.mp4"
pause



-
Bash script to help with releases
6 octobre 2011, par Jörn Zaefferer+ build/release.sh Bash script to help with releases
-
Shell script using FFMPEG convert to mp4 results in new video with .mp4 extension attached twice
25 août 2015, par AviI am converting an entire folder of videos to MP4. The script works except that the new videos have ".mp4" attached twice to them. For example. ’video.mp3’ would be ’video.mp3.mp4’ after conversion. Below is the shell script. TIA
#!/bin/bash
#Shell Script which converts all videos in a folder to MP4
for file in *.*;
do
if[ ${file: -4} != ".mp4"] #don't want to convert mp4 files
ffmpeg -i "$file" "${file}".mp4
done