Recherche avancée

Médias (91)

Autres articles (102)

  • 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 (11698)

  • avformat/matroskadec : Use AV_DICT_DONT_STRDUP_VAL to save av_strdup

    10 novembre 2019, par Andreas Rheinhardt
    avformat/matroskadec : Use AV_DICT_DONT_STRDUP_VAL to save av_strdup
    

    This will likely also fix CID 1452562, a false positive resulting from
    Coverity thinking that av_dict_set() automatically frees its key and
    value parameters (even without the AV_DICT_DONT_STRDUP_* flags).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/matroskadec.c
  • apng : Add a basic APNG muxer

    28 mars 2015, par Donny Yang
    apng : Add a basic APNG muxer
    

    Additionally, update some documentation with support for APNG

    Signed-off-by : Donny Yang <work@kota.moe>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] Changelog
    • [DH] doc/general.texi
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/apngenc.c
  • Shell script works fine from shell but doesn’t work as expected when executed via PHP “shell_exec” code

    9 décembre 2019, par Eric Feillant

    This record.sh script shell is here and works fine on command line to record an MP4 file from a local flv live stream :

    DATE=`date +"%d-%m-%Y-%T"`
    if [ -s NAMESTREAM ]
    then
    cat config.php | dos2unix | grep auth | grep username | \
    awk -F ' ' '{print $3}' | sed "s/'//g" | sed "s/;//g" | while read VAR
    do echo $VAR > RECSTREAM
    echo "Starting recording ..."
    ffmpeg -i "rtmp://localhost/hls/$VAR" -crf 19 videos/"$VAR"_"$DATE".mp4
    done
    else
    echo "Streaming is not started, please start it before"
    fi

    I send a shell_exec to call the last shell script in a php script like this :

    $old_path = getcwd();
    chdir('/usr/local/nginx/html/mydir');
    $output = shell_exec('nohup ./record.sh >/dev/null 2>/dev/null &amp;');
    chdir($old_path);

    The MP4 video files are generated but unreadable with VLC, etc… It seems that the problem is due to my PHP script but I am not able to know why.

    When executing from the shell command line : PHP myphpscript.php works fine, MP4 video files are OK. But from the PHP web page, the MP4 video files are corrupted.

    Any ideas ? Any param to test in FFmpeg to have a good mp4 video file ?