Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (86)

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

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (3272)

  • FFMPEG Vs MediaCodec

    25 juin 2015, par Utkarsh Shrivastava

    I just want to add retrieved bitmap at the last frame of a video That’s all So which is better and less time consuming ffmpeg or media codec for this work I am not much interested in doing it with ffmpeg (because of ndk, coding inc, even not an eclipse) But please also tell me which way is more efficient for better product, I am beginner in android so please don’t spam this or delete this question I just want an answer

  • Odd X server error with ffmpeg

    4 novembre 2013, par jhc

    I am building a weather data acquisition system. One of the things I would like to do would be to animate the satellite data that is arriving every 15 minutes. In fact, I have already devised a script (called animate) that successfully joins eight hours worth of PNG images into an AVI video file. This runs fine when run manually from the terminal.

    Unfortunately, the same cannot be said when run from my (as in my user, not root) crontab.

    Below is the cron job that I mentioned :

    1,16,31,46 * * * * /home/daniella/bin/anim_all > /home/daniella/logs/anim_all.log 2>&1

    anim_all simply calls animate for each distinct data product :

    #!/bin/bash
    set -x
    cd /home/daniella/data/imager

    rm -rf HRIT_MSG3_*.avi

    animate HRIT_MSG3_CTT
    animate HRIT_MSG3_IR108
    animate HRIT_MSG3_VIS006
    animate HRIT_MSG3_WV062

    And animate itself calls ffmpeg.

    #!/bin/bash

    set -x
    cd /home/daniella/data/imager
    product=$1
    hl="$product.8hl"

    declare -i i=0
    for file in $(cat $hl); do
       link=$(printf "images%02d.png" $i)
       ln -sf $file $link
       i=$((i+1))
       echo $i
    done

    ffmpeg -sameq -r 15 -i images%02d.png $product.avi
    rm -rf images*.png

    Just to be clear, the .8hl file is simply a list of PNG file paths that refer to that last 8 hours of data. Since there is new data every 15 minutes, that is a text file with 32 lines. Finally, this is the error that is returned when examining anim_all.log (referred in the crontab) file.

    + animate HRIT_MSG3_CTT
    animate: unable to open X server `' @ animate.c/AnimateImageCommand/365.
    + animate HRIT_MSG3_IR108
    animate: unable to open X server `' @ animate.c/AnimateImageCommand/365.
    + animate HRIT_MSG3_VIS006
    animate: unable to open X server `' @ animate.c/AnimateImageCommand/365.
    + animate HRIT_MSG3_WV062
    animate: unable to open X server `' @ animate.c/AnimateImageCommand/365.

    Please note that anim_all works fine, when called manually from the terminal. This error exists only when called by cron. I would imagine that this has to do with environment variables, but I have sourced my .bashrc inside the script to no prevail.

    EDIT -
    Investigating the animate.c file itself (see the full code here), at lines 365-368, there is this :

    if (display == (Display *) NULL)
       ThrowAnimateException(XServerError,"UnableToOpenXServer",
       XDisplayName(server_name));
    (void) XSetErrorHandler(XError);

    In response, I have attempted to export the $DISPLAY variable to 127.0.0.0:0 in the animate script, but this has not worked.

  • Anomalie #4084 (Fermé) : Date de publication en ligne : erreur et comportement bizarre

    1er février 2018, par Eric Camus

    Bonjour,

    Quand on veux changer la date de publication en ligne, une fois l’affichage de cette dernière et si l’heure contient 23:XX ou XX:59 : impossible de refermer le formulaire : tout appuis sur "Annuler" affiche une erreur ?
    Il faut obligatoirement une date / heure valide pour refermer le formulaire sans faire de changement !!!!! et 23hXX et XXh59 sont interdit !!!! :

    1) 23:XX et XX:59 interdit, modifier ligne 358 de /prive/formulaires/dater.php

    <code>if ($regs[1] >= 23 or $regs[2] >= 59) {

    => supprimer les deux "=" !!!

    <code>if ($regs[1] > 23 or $regs[2] > 59) {

    2) Pourquoi faut-il une date / heure correcte pour fermer (cacher) le formulaire sans changement (annuler) ?
    Fichier /prive/formulaires/dater.php, ligne 212 :

    <code>function formulaires_dater_verifier_dist($objet, $id_objet, $retour = '', $options = array()) {<br />        $erreurs = array();

    après ces lignes, ajouter :

    <code>if(_request('annuler')) {  // annuler sans verif !!<br />        return $erreurs;<br />    }

    Nota : numéro de ligne avant dernière MAJ.