
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (41)
-
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 (5959)
-
FFMPEG Script to make a clip loop according to audio length [duplicate]
23 décembre 2020, par BitBitSo, I have a 5 hour music audio and an around 1 minute video clip. I wanted a script that will merge audio and video clip, but the video clip will keep looping for the entire audio length.


-
write procedurally generated audio to ffmpeg from python script
13 juillet 2020, par Mei ZhangI have a python script that writes procedurally generated images to ffmpeg to create a video :


import subprocess
from PIL import Image

width, height = 600, 300
cmd = [
 "ffmpeg",
 "-s", f"{width}x{height}",
 "-pix_fmt", "rgba",
 "-f", "rawvideo",
 "-i", "-",
 "output.mp4",
 "-y"
]

p = subprocess.Popen(cmd, stdin=subprocess.PIPE)

for _ in range(500):
 img = Image.new("RGBA", (width, height), (200, 0, 0))
 p.stdin.write(img.tobytes())

p.stdin.close()



How can I extend this script to also write procedurally generated audio to the video ? I assume there has to be a way to send a stream of floats specifying audio data, but I don't know how to do it.


-
Revision 39957 : afficher en cas de server down + rangement dans le script
20 août 2010, par fil@… — Logafficher en cas de server down + rangement dans le script