Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (100)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11134)

  • Revision 87136 : Suite au message de nico du 15-01-2015 ...

    18 janvier 2015, par spip.franck@… — Log

    Suite au message de nico du 15-01-2015 http://archives.rezo.net/archives/spip-zone.mbox/2015/01/
    j’ai fait un up de version aux plug qui en avaient besoin, parfois, il y avait des différence entre paquet et plugins.xml, et d’autres broutilles

  • Revision 87136 : Suite au message de nico du 15-01-2015 ...

    18 janvier 2015, par spip.franck@… — Log

    Suite au message de nico du 15-01-2015 http://archives.rezo.net/archives/spip-zone.mbox/2015/01/
    j’ai fait un up de version aux plug qui en avaient besoin, parfois, il y avait des différence entre paquet et plugins.xml, et d’autres broutilles

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