Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (42)

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

  • 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 tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (8673)

  • Why my log printed many times using c api of ffmpeg decoder v2.8 which should be printed once when the callback return value is 1

    30 juillet 2019, par user10960024

    Documentation said when the callback functor interrupt_cb return 1, the blocking operation will be aborted. However, my program echo the log many times which should be printed only once log before it quit. How can I fix it ?

    AVFormatContext* formatContext = libffmpeg::avformat_alloc_context();
    formatContext->interrupt_callback.callback = interrupt_cb;
    formatContext->interrupt_callback.opaque = formatContext;

    int interrupt_cb(void *ctx)
    {
       if (...)
       {
           LOG(WARNING) << "decoder timeout!"; // it print many times
           return 1;
       }
       return 0;
    }

    I expect the output would be printed only once.

  • swscale : make handle_formats() safe to be called multiple times

    14 juillet 2013, par Michael Niedermayer
    swscale : make handle_formats() safe to be called multiple times
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/utils.c
  • FFmeg : How to apply one unique filter type with varying durations at different times in a video

    26 janvier 2023, par Faxopita

    I'd like to crop top and bottom black bars of a movie. Unfortunately, black bar thickness varies during movie runtime at specific times. So I use the following command to collect crop data at specific times in the movie :

    &#xA;

    $ ffmpeg -ss 00:03:00 -i "$f" -t 1 -vf cropdetect -f null - 2>&amp;1 | awk &#x27;/crop/ { print $NF }&#x27; | tail -1&#xA;

    &#xA;

    Then, I execute again this command at a different start time (replacing, e.g. 00:03:00 by 00:43:17) to collect another crop data.

    &#xA;

    Now, I'd like to use those crop data in a filter. First crop data to be applied for specific duration beginning from specific time and second crop data to be applied for another specific duration beginning from another specific time in the movie.

    &#xA;

    I thought I could use something like :

    &#xA;

    -vf="crop=3840:2016:0:72,enable=between(t,0,10),crop=2832:1600:1008:280,enable=between(t,10,50)"&#xA;

    &#xA;

    But not working.

    &#xA;