
Recherche avancée
Médias (91)
-
#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
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (73)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (5111)
-
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 -
Live stream images to a compressed video stream that's serveable in the browser
20 juillet 2017, par MattI’m looking to take a live stream of jpeg convert them into a compressed video and serve that video to the browser. Does anyone know the best way to accomplish that ? It looks like this :
source => jpeg stream => codec => video stream => browser
This is a live interactive source, so this whole process would need to be pretty snappy.
-
I want live stream 1 folder on youtube by ffmpeg
19 octobre 2017, par Duy HoàngI have code for live any video, but I don’t know how to live 1 folder have several videos.
ffmpeg -re -stream_loop -1 -i "1.mp4" -vcodec libx264 -preset veryfast -maxrate 2000k -bufsize 1000k -vf “scale=1280:720,format=yuv420p” -g 50 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/*****