
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10077)
-
Hide subprocess output and store it in a variable in Python [duplicate]
6 juillet 2022, par Dev01I would like to call a FFmpeg command, which produces a very big output.


I need to store the output in order to make a regex on it.


On the first command (echo), nothing is printed in my terminal, but for the ffmpeg command, huge output is produced (which I want to store in a variable, I don't want to have the output in my terminal)


So my code looks like this for example :


import subprocess
output = subprocess.check_output("echo a lot of wooooords")
output = subprocess.check_output("ffmpeg -i audio.mp3 -f null -", shell=True)



Is it possible to hide the output for this command ? Why does it show me an output ? Thank you


-
How to correctly detect window with xdotool in bash script
24 mai 2020, par wasdI'm trying to record screen and also input from my webcam. To show image from a webcam I use ffplay. However I want it to be placed in a specific location of my screen. To do so I use xdotool and following bash script :



#!/bin/bash 
 ffplay -i /dev/video0 & 
 res=$! 
 echo $res 
 window_pid=$(xdotool search --pid $res) 
 echo $window_pid
 xdotool windowmove $window_pid 1200 200 
 wait




For some reason I get correct process id
res
but nothing for thewindow_pid
. If I run similar commands in terminal it works correctly (I run ffplay in one terminal instance and the rest of commands in another). What am I missing here ?

-
Use ffprobe on Sagemaker Jupyter Notebook : /bin/sh : 1 : ffprobe : not found
2 juillet 2020, par GuuI need to use
FFprobe
to get the metadata(the orientation of the video) of videos on SageMaker Studio. Even I installedFFmpeg
andFFprobe
viapip install
, the notebook doesn't recognize the packages.

/bin/sh: 1: ffprobe: not found


It is tricky since I've already tried to install them on System terminal and it worked, but it still doesn't work on the Image terminal or Jupyter Notebook.


Is that because of the dependencies ? I've checked other ways to get the metadata but couldn't find one working. I could get simple metadata via
hachoir-metadata
but it didn't give the orientation. Any advice is welcomed. Thanks.