
Recherche avancée
Autres articles (101)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (11516)
-
ogg/opus : implement header packet skip in chained ogg bitstreams.
6 mai, par Romain Beauxis -
avcodec/sunrast : Fix maplength check
20 décembre 2022, par Michael Niedermayer -
ffmpy capture and handle stderr properly
18 février 2019, par BLangI am very new to ffmpeg and am using pythons wrapper for ffmpeg, ffmpy to process a large number of videos, but some videos produce various warnings and can not be transcoded. For example :
Unsupported codec with id 0 for input stream 4
I read how to parse the video meta data into json from the tuple the ff.run() gives back (from the first ff[0]), but how would i gracefully handle errors from ff[1] is there any standard, or recommended way using the ffmpy wrapper ? Below is what i currently have, but wonder if there is a more graceful way of handling specific errors ?
import ffmpy
ff = ffmpy.FFprobe(
inputs={file_to_probe: None},
global_options=[
'-v', 'warning',
'-print_format', 'json',
'-show_format', '-show_streams',
]
).run(stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# to load meta data works great!!
video_meta_data = json.loads(ff[0].decode('utf-8'))
# ideally i'd like to do something like: but is there a better way?!
if ff[1] is not null:
print('handle errors here')