
Recherche avancée
Autres articles (74)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (3409)
-
bash script to start/stop ffmpeg x11grab
13 décembre 2018, par lunacafuA application is storing its status in a file on the server
/temp/status.txt
. There are 4 status possible :wait
,ready
,recording
,finished
. With a cronjob I would like to start a shell script that checks this file and take action as follows :- wait -> do nothing
- ready -> execute
ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg
. Now whileffmpeg
captures, the status.txt file still has to be checked for a change to the status, - recording -> do nothing
- finished -> send
q
command toffmpeg
process to quit capturing process and finish script.
I tried to solve it with
expect
andxdotool
to realize that this absolutely the wrong way. My problem is that I acutally have no experience inbash
and handling processes, child processes etc. -
avcodec/dnxhdenc : stop leaking memory when initalization fails
30 août 2018, par Paul B Mahol -
How to stop FFMPEG from running if connection to input stream is lost ?
12 septembre 2018, par Ryan GriggsI am capturing thumbnails from a webcam RTMP stream every 1 second to JPG files. Here’s my command line :
ffmpeg -i rtsp://192.168.1.89:554/11 -f image2 -r 1 thumb%03d.jpg
How can I make FFMPEG die with an error if the input RTMP stream is lost for a given timeout period ? Currently, if I lose connection to the webcam, FFMPEG starts throwing "Unknown error" messages, but when the network reconnects, ffmpeg appears to reconnect to the stream, but does not output any more captured frames. I have to manually kill the process and restart it to again start capturing frames.
It would be nice to simply have ffmpeg die when it loses connection for a specific timeout period. Then I could monitor the process and restart when it ends.
Any ideas ?