Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (11635)

  • bach scripts run by crontab as root

    5 mai 2017, par Mettavihari

    I run a crontab script to check if ffmpeg is running.
    I want the scripts to inform me if ffmpeg is not running.
    When I run the scripts as root on the command line all is OK
    But when they run called from crontab they never show the error.
    They always show that ffmpeg is running inspite of the fact that sometimes ffmpeg has crashed.

    I have given my crontab file and the scripts below.

    SHELL=/bin/sh
    57 4 * * * pkill -f /usr/bin/python2.7
    57 4 * * * pkill -f /bin/ffmpeg
    2 5 * * * /opt/dls/cron.sh (restarting the process above.)
    */5 * * * * /root/test-ffmpeg.sh  testing if ffmpeg is running
    */5 * * * * /root/test.sh         testing if ffmpeg is running
    */5 * * * * /root/test2.sh        testing if ffmpeg is running

    scripts : test.sh

    #!/bin/bash
    #check if ffmpeg is running
    if pgrep ffmpeg >/dev/null 2>&1
    if ps cax | rev | cut -f1 -d' ' | rev |grep ffmpeg >/dev/null 2>&1
    then
    echo "My Process is running."
    else
    echo "Hello" | mutt -s "fffmpeg is not working" abc@gmail.com
    fi

    script test-ffmpeg.sh

    #!/bin/bash
    #check if ffmpeg is running
    if pgrep ffmpeg >/dev/null 2>&1
    then
    echo "Process is running."
    else
    echo "Hello" | mutt -s "ffmpeg is not working" abc@gmail.com
    fi

    script : test2.sh

    line=$(ps aux | grep ffmpeg)
    if [ -z "$line" ]
    then
    echo "Hello" | mutt -s "fffmpeg is not working" abc@gmail.com    
    else
    echo $line > /dev/null
    echo "Running"
    fi
  • doc/encoders/libx264 : clarify meaning of level option

    26 août 2023, par Stefano Sabatini
    doc/encoders/libx264 : clarify meaning of level option
    

    In particular, clarify that it can either be set as a field of
    AVCodecContext or as an x264 option, using a different specification.

    Should address trac issue :
    http://trac.ffmpeg.org/ticket/3947

    • [DH] doc/encoders.texi
  • eval : add root() to solve f(x)=0

    21 février 2012, par Michael Niedermayer

    eval : add root() to solve f(x)=0