
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (74)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (6254)
-
Révision 23679 : report de r23678
20 juillet 2017, par brunobergot@gmail.comBugfix dans recup_date() quand on lui passe une chaîne du type 2017-07
-
Monit not restarting ffmpeg live stream when disconnected
21 juillet 2017, par digibreadNo matter what I try I cannot get Monit to restart my ffmpeg live stream even though my bash script works from the command line. I start the ffmpeg live stream and all is working. Monit status shows that is ffmpeg is running. I then reboot the camera and the connection is lost, Monit tries to start it with the log file entries below. the config files.
Here is my setup. Any help is greatly appreciated.Monit Status
Process 'ffmpeg'
status Running
monitoring status Monitored
monitoring mode active
on reboot start
pid 17349
parent pid 1
uid 0
effective uid 0
gid 0
uptime 0m
threads 1
children 0
cpu 0.0%
cpu total 0.0%
memory 8.3% [40.4 MB]
memory total 8.3% [40.4 MB]
port response time -
data collected Fri, 21 Jul 2017 15:36:31My bash file in /etc/init.d/monitoring1.sh
#!/bin/bash
pid_file="/var/run/ffmpeg.pid"
case "$1" in
restart)
/etc/init.d/monitoring1.sh stop
/etc/init.d/monitoring1.sh start
;;
start)
rm $pid_file
/usr/bin/ffmpeg -timeout -1 -i rtsp://user:pw@mydomain:port/h264Preview_01_sub http://localhost:8090/monitoring1.ffm &
ch_pid=$!
echo "Start Monitoring1: ffmpeg = $ch_pid";
echo $ch_pid > $pid_file
;;
stop)
echo "Stop ffmpeg Monitoring1";
kill `cat $pid_file` &> /dev/null
;;
*)
echo "Usage: /etc/init.d/streambash.sh {start|stop|restart}"
exit 1
;;
esac
exit 0
echo $pid_fileMy /etc/monit/conf-available/ffmpeg
check process ffmpeg with pidfile /var/run/ffmpeg.pid
group nogroup
start program = "/bin/bash /etc/init.d/monitoring1.sh start"
stop program = "/bin/bash /etc/init.d/monitoring1.sh stop"
if failed host localhost port 8090 type tcp with timeout 15 seconds for 5 cycles
then restart/var/log/monit.log
[UTC Jul 21 15:36:31] info : 'ffmpeg' process is running with pid 17349
[UTC Jul 21 15:36:31] debug : 'ffmpeg' zombie check succeeded
[UTC Jul 21 15:36:31] debug : 'ffmpeg' connection test paused for 13 s while the process is starting
[UTC Jul 21 15:37:01] debug : 'ffmpeg' process is running with pid 17349
[UTC Jul 21 15:37:01] debug : 'ffmpeg' zombie check succeeded
[UTC Jul 21 15:37:01] debug : 'ffmpeg' succeeded testing protocol [DEFAULT] at [localhost]:8090 [TCP/IP] [response time 1.152 ms]
[UTC Jul 21 15:37:01] debug : 'ffmpeg' connection succeeded to [localhost]:8090 [TCP/IP]
[UTC Jul 21 15:43:02] debug : 'ffmpeg' process test failed [pid=17349] -- No such process
[UTC Jul 21 15:43:02] error : 'ffmpeg' process is not running
[UTC Jul 21 15:43:02] info : 'ffmpeg' trying to restart
[UTC Jul 21 15:43:02] debug : 'ffmpeg' process test failed [pid=17349] -- No such process
[UTC Jul 21 15:43:02] debug : 'ffmpeg' process test failed [pid=17349] -- No such process
[UTC Jul 21 15:43:02] info : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
[UTC Jul 21 15:43:02] debug : Start Monitoring1: ffmpeg = 17421
[UTC Jul 21 15:43:02] debug : 'ffmpeg' started
[UTC Jul 21 15:43:32] debug : 'ffmpeg' process test failed [pid=17421] -- No such process
[UTC Jul 21 15:43:32] error : 'ffmpeg' process is not running
[UTC Jul 21 15:43:32] info : 'ffmpeg' trying to restart
[UTC Jul 21 15:43:32] debug : 'ffmpeg' process test failed [pid=17421] -- No such process
[UTC Jul 21 15:43:32] debug : 'ffmpeg' process test failed [pid=17421] -- No such process
[UTC Jul 21 15:43:32] info : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
[UTC Jul 21 15:43:32] debug : Start Monitoring1: ffmpeg = 17430
[UTC Jul 21 15:43:32] debug : 'ffmpeg' started
[UTC Jul 21 15:44:02] debug : 'ffmpeg' process test failed [pid=17430] -- No such process
[UTC Jul 21 15:44:02] error : 'ffmpeg' process is not running
[UTC Jul 21 15:44:02] info : 'ffmpeg' trying to restart
[UTC Jul 21 15:44:02] debug : 'ffmpeg' process test failed [pid=17430] -- No such process
[UTC Jul 21 15:44:02] debug : 'ffmpeg' process test failed [pid=17430] -- No such process
[UTC Jul 21 15:44:02] info : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
[UTC Jul 21 15:44:02] debug : Start Monitoring1: ffmpeg = 17436
[UTC Jul 21 15:44:02] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:03] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:03] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:04] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:05] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:06] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:07] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:08] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:09] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:10] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:11] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:12] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:13] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:14] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:15] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:16] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:17] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:18] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:19] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:20] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:21] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:22] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:23] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:24] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:25] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:26] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:27] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:28] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:29] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:30] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:31] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:32] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:44:32] error : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17436
[UTC Jul 21 15:45:02] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:45:02] error : 'ffmpeg' process is not running
[UTC Jul 21 15:45:02] info : 'ffmpeg' trying to restart
[UTC Jul 21 15:45:02] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:45:02] debug : 'ffmpeg' process test failed [pid=17436] -- No such process
[UTC Jul 21 15:45:02] info : 'ffmpeg' start: '/bin/bash /etc/init.d/monitoring1.sh start'
[UTC Jul 21 15:45:03] debug : Start Monitoring1: ffmpeg = 17448
[UTC Jul 21 15:45:03] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:03] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:03] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:04] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:06] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:07] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:08] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:09] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:10] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:11] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:12] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:13] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:14] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:15] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:16] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:17] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:18] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:19] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:20] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:21] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:22] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:23] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:24] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:25] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:26] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:27] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:28] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:29] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:30] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:31] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:32] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:33] debug : 'ffmpeg' process test failed [pid=17448] -- No such process
[UTC Jul 21 15:45:33] error : 'ffmpeg' failed to start (exit status 0) -- '/bin/bash /etc/init.d/monitoring1.sh start': Start Monitoring1: ffmpeg = 17448 -
Correct recording time of the first frame of a video
27 juillet 2017, par Vítor CézarHow do I get the correct time of the first frame recorded on a video ? I executed the command
ffprobe -v error -show_streams [file_path]
and got these values of timecode and creation time for the first stream :
TAG:creation_time=2017-07-26T16:48:10.000000Z
TAG:language=eng
TAG:handler_name= GoPro AVC
TAG:encoder=GoPro AVC encoder
TAG:timecode=17:21:54:28The problem is that the video started being recorded on 16:48:11:504 and neither timecode nor creation time shows this value. If possible I need the precision on milliseconds.