Recherche avancée

Médias (91)

Autres articles (64)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (9879)

  • avutil/tx_template : Don't waste space for inexistent factors

    22 octobre 2022, par Andreas Rheinhardt
    avutil/tx_template : Don't waste space for inexistent factors
    

    It is possible to avoid the factors array for the power-of-two
    tables for which said array is unused by using a different
    structure for initialization for power-of-two tables than for
    non-power-of-two-tables. This saves 3*15*16B from .data.

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavutil/tx_template.c
  • avcodec/dca_lbr : Hardcode lpc table to save space

    12 septembre 2022, par Andreas Rheinhardt
    avcodec/dca_lbr : Hardcode lpc table to save space
    

    The code to initialize it takes more space (in .text) than
    the table to be initialized (namely 86B vs 64B for GCC 11.2
    with -O3 in an av_cold function), so hardcode the table.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/dca_lbr.c
  • ffmpeg drawtext to overlay text repeatedly over the whole video space

    5 avril 2022, par Osama Bin Saleem

    I want a specific text like Hello world to be spread across multiple rows and over the whole video space/page like this.&#xA;enter image description here

    &#xA;

    I'm running ffmpeg commands in the python script using bash as a subprocess. Sample code :

    &#xA;

    &#xA;

    subprocess.run(&#xA;[&#xA;"ffmpeg",&#xA;"-i",&#xA;input_file,&#xA;"-vf",&#xA;f"drawtext=font=font_family:text=watermark_text:fontcolor=font_color:fontsize=font_sizebackground_box :watermark_position",&#xA;"-codec:a",&#xA;"copy",&#xA;"-preset",&#xA;encoding_preset,&#xA;f"./watermark/media_id.mp4",&#xA;]&#xA;)

    &#xA;

    &#xA;

    Is there any good way to achieve this ?

    &#xA;