
Recherche avancée
Autres articles (50)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (3138)
-
Bash Script using formatted date string in FFMPEG command
30 juin 2024, par cocoIn my
bash
(zsh
) script, I am receiving a string that represents a Unix epoch, like :

myTimestamp="1719742786"



I want to change that date into a formatted string, and then store it in a variable so it can be used in an upcoming
ffmpeg
script. I'm doing it this way :

theDate=$(date -u -r "$myTimestamp" "+%b %d, %H:%M:%S")
echo "$theDate"



which prints to my screen what I want :


Jun 30, 06:19:48



but when I try to use this variable in my ffmpeg script, I get errors :


ffmpeg -y -i "$file" -vf \
 "drawtext=text='$theDate':fontcolor=gray:fontsize=$fontSize:x=$width:y=$height:" \
 "$output"



Note that if I change out
'$theDate'
in the script (to something like'$myTimestamp'
), I do not get errors.

What I do get, along with
Error initializing filters
, is this (possibly important ?) error :



Both text and text file provided. Please provide only one




-
how to pass arguments to existing process instance in c#
28 octobre 2013, par Akash LanghaniI am using ffmpeg and I have start a process and I want to pass an argument to same instance after its start, so how to do this in c sharp any resource. Basically I am using ffmpeg to recored desktop screen and ffmpeg recording can be stop with "q" word.
-
Running bash script in backend safe ?
11 mai 2021, par TrisHi I am pretty new to web security and am worried about possible shell/command injection risks. I am wondering if it is safe to run a command line script only in my nodejs backend and have the web host run it.


From my understanding, it would be safe to run as the backend is not able to be accessed from the website and its front end.


Thanks for any answers !