Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (49)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (7036)

  • fate.sh : Allow setting other make flags for running tests

    21 mai 2013, par Martin Storsjö
    fate.sh : Allow setting other make flags for running tests
    

    If makeopts_fate is set, these makeopts are used for running the
    tests instead of the normal makeopts. If it isn’t set, the normal
    makeopts variable is used as before.

    This is useful if remote testing on a lesser machine where a large
    number of parallel jobs might be undesireable, while wanting to speed
    up the build with many parallel processes.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] doc/fate.texi
    • [DBH] tests/fate.sh
  • Long-running AWS Linux process suddenly freezes once in a while

    12 décembre 2022, par Incredi Blame

    I am running a non-stop process on Ubuntu LTS AWS t2.micro instance. Process is ffmpeg downloading network stream from a CCTV. It crashes every 10 min cause of network errors, so I run it in a cycle script like this :

    &#xA;

    while true&#xA;do&#xA;    ~command~&#xA;done&#xA;

    &#xA;

    The cycler-script itself never crashes.

    &#xA;

    Everything works fine for hours (I check with ssh from time to time). But then sometimes ffmpeg process just freezes. I checked logs, it is writing the stream and it literally freezes mid-way through the stream, no error messages, nothing, as if it is still waiting for the next packet. Just stops working and never wakes up. Usually if the stream goes down ffmpeg complains, spits errors out and crashes. But on this occasion there is nothing and no crash either.

    &#xA;

    Another mystery is that I run several of such ffmpeg processes and they all freeze at the same time.

    &#xA;

    The issue with that freezing is the cycler can't restart ffmpegs, as they haven't crashed. When I check frozen processes with ps -aux they are shown as SL, which doesn't tell much, as they are always marked this way. top -i doesn't display them at all as active. When they work as normal it does. If I kill those frozen processes the cycler restarts them and everything works again as it should.

    &#xA;

    I can always kill those ffmpegs once in a while on some schedule and let cycler restart them. Or check if they froze by timestamps they output and kill them then, so theoretically the problem is solvable. But I just want to know what causes it.

    &#xA;

    I haven't figured out yet if this freezing happens at the same time of the day, trying to track that now. I don't think it could be related to free space shortage, as I have a cleaner cron job and free space is always available.

    &#xA;

    So I have the following questions :

    &#xA;

      &#xA;
    1. Is there anything on AWS itself which could cause this freezing ? Like some kind of regular maintenance job that messes with running processes ?
    2. &#xA;

    3. Could it be caused by Linux freezing long-running processes ? Probably not, as they all freeze at the same time while current running time is different for each.
    4. &#xA;

    5. Last one, my cron job that cleans space also cleans out logs that ffmpeg is appending to. The script goes like this :
    6. &#xA;

    &#xA;

    tail "ffmpeg.log" -n 10000 > "tmp.log" &amp;&amp; \&#xA;    cat "tmp.log" > "ffmpeg.log" &amp;&amp; \&#xA;    rm "tmp.log"&#xA;

    &#xA;

    The logs now are already full and are never fully cleared. Cron job just preserves the last 10000 lines. It runs every 2 min and runs fine for hours. Could it be responsible for this sudden freezing due to some coincidental timing ?

    &#xA;

    If none of the above is responsible for freezing it must be some streaming issue on the server side, which I have no access to. In that case I would have to rely on detecting freezing and restarting ffmpegs.

    &#xA;

  • qpeg : Add checks for running out of rows in qpeg_decode_inter

    19 septembre 2013, par Martin Storsjö
    qpeg : Add checks for running out of rows in qpeg_decode_inter
    

    Reported-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC : libav-stable@libav.org
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/qpeg.c