Recherche avancée

Médias (91)

Autres articles (71)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6966)

  • Neutral net or neutered

    4 juin 2013, par Mans — Law and liberty

    In recent weeks, a number of high-profile events, in the UK and elsewhere, have been quickly seized upon to promote a variety of schemes for monitoring or filtering Internet access. These proposals, despite their good intentions of protecting children or fighting terrorism, pose a serious threat to fundamental liberties. Although … Continue reading

  • Monit not restarting ffmpeg live stream when disconnected

    21 juillet 2017, par digibread

    No 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:31

    My 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_file

    My /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
  • Neutral net or neutered

    4 juin 2013, par Mans — Law and liberty

    In recent weeks, a number of high-profile events, in the UK and elsewhere, have been quickly seized upon to promote a variety of schemes for monitoring or filtering Internet access. These proposals, despite their good intentions of protecting children or fighting terrorism, pose a serious threat to fundamental liberties. Although … Continue reading