
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 (55)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11302)
-
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




-
Go lang, exec.Command() /, \(escape mark), string processing [closed]
18 novembre 2024, par nojobI am using go lang and want to use exec.Command() function.
But having problem processing the string of command


Here is my code snippet.


cmd := exec.Command("cmd", "/k", "start", "ffplay", "-f", "dshow", "-i", `video=@device_pnp_\\?\usb#vid_0fd9&pid_0094&mi_00#6&012aa09&0&0000#{65e00ee0-8f44-77d0-a3f5-00a0c9223000}\global`)



I really have no idea even I read some articles about `, /, .


cmd := exec.Command("cmd", "/k", "start", "ffplay", "-f", "dshow", "-i", "video=Elgato Facecam MK.2")



And this works. just video=Elgato Facecam MK.2
Actually as I know, video"Elgato Facecam MK.2" is correct, but I don't know why this works.


Anybody please ?


-
Revision 3130 : La page d’inscription ne doit être visible que si elle est autorisée dans ...
24 mars 2010, par kent1 — LogLa page d’inscription ne doit être visible que si elle est autorisée dans la configuration de SPIP