
Recherche avancée
Autres articles (80)
-
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 (...) -
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 (...) -
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 (15722)
-
Evolution #2469 : Mode « vacances » : suspension temporaire de toute publication
28 juillet 2017j’ai fait un plugin vacances minimal qui permet d’activer un mode vacances en backoffice.
https://contrib.spip.net/ecrire/?exec=article&id_article=4921il ne fait qu’enregistrer un état donné ensuite aux squelettes et aux plugins de récupérer l’information
-
AWS Lambda tmp disk limit with ffmpeg
21 avril 2022, par AlmajuI am using AWS Lambda to render videos using ffmpeg. It is a basic function that downloads external clips, merges those, then uploads the result to S3.


This function needs to be able to scale quickly because I need to generate a lot of videos in a short time period.


The problem is that I reach the
/tmp
disk limit of 512MB because the same lambda environment is reused by the different requests. I have increased that memory limit to temporarily solve the problem but it does not feel scalable.

I have looked into EFS but the requirement to use a VPC and a NAT to have internet access sounds really heavy for my simple needs.


Is there a way to output the result of ffmpeg directly in S3 (thus not needing the temporary folder) ? Or perhaps force to respawn a clean lambda environment if the memory is about to be full ?


-
Is celery a good choice for long running tasks ?
2 décembre 2024, par jasoosWe are using a combination of django, rabbitmq, celery and ffmpeg to read camera streams and break them into images to be stored into filesystem. This setup works 24x7. Now, for each camera stream we are creating a separate task and each will theoretically run for indefinite period.


If a stream goes down, we wait for n number of frames, create an exception and in the exception handler, after creating a delay of 1 min using time.sleep we rerun the ffmpeg process.


My questions are,
Is this a right approach ?
Should we use celery for reading streams ?
Is celery the right tool to use for this task ?
Can we create delay in celery task using time.sleep ? Will it affect the other tasks ?