
Recherche avancée
Autres articles (85)
-
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 (16154)
-
Announcement of a new Translation platform for Piwik translators : Transifex
21 avril 2015, par Piwik Core TeamTo our dear Translators community,
Thank you for helping us to translate Piwik into one of the many languages Piwik is available in.
In this blog post, we are happy to announce a new and better way for you to contribute translations to Piwik.
From today onwards, all the translations for the Piwik platform, plugins and for the Piwik Mobile app are managed in the public Piwik Transifex project.
As part of a community request, we decided to switch to a more modern translation tool in order to provide everyone with an easier and better way to contribute to translations. Transifex provides us with a powerful and flexible online translation platform.
It’s easy to contribute to Piwik translations : sign up to our Transifex project at https://www.transifex.com/projects/p/piwik/ to get started.
If you have any questions, feel free to come back to us.
Happy translating !
-
ffmpeg rtsp does not terminate from Python subprocess
14 mai 2021, par trycatch22I am trying to read from a POE streaming camera and write to file. I have it working from the command line with the following command :


ffmpeg -y -i rtsp://admin:admin@192.168.1.200 -acodec copy -vcodec copy out.mp4



When I hit Ctrl+C, it exits with :


Exiting normally, received signal 2.


and I am able to view the saved file.


I need to wrap this in Python. From reading online, it appears that using the subprocess library would be best. This is the bare bones code :


import ffmpeg
from subprocess import Popen
import signal
import time


handle = Popen("ffmpeg -y -i rtsp://admin:ambi1234@192.168.1.200 -acodec copy -vcodec copy out.mp4",shell=True)
time.sleep(5)
handle.kill()
# handle.send_signal(signal.SIGINT) # This doesn't work either



The behavior I see is that after 5s, the script exits, but ffmpeg is still working. No matter how many times I send ctrl+C, it continues. Closing the Terminal stops it, but the file is unplayable.


How do I terminate the process cleanly ?


-
Introducing MatomoCamp !
24 juin 2021, par Ben Erskine — Community