Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (84)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • FFMPEG command for video based on ratio [duplicate]

    21 novembre 2017, par pocek

    I am using ffmpeg (in linux server with php)

    and I want to watermark a png logo on the mp4 file, my problem is that

    I want to scale my logo and change it based on source video size(for example 1/4 of height),

    I have this code bellow :

    shell_exec('ffmpeg -i file.mp4 -i logo.png -filter_complex "overlay=10:10" file-watered.mp4");

    it works on every video.

    For Normal (medium) size image :

    enter image description here

    For Small (medium) size image (which is bad !)

    enter image description here

    Ideal output for this size would be :

    enter image description here

    I’ve changed a little bit my first code like this :

    shell_exec('ffmpeg -i file.mp4 -i logo.png -filter_complex "[0:v]scale=500:-1[bg];[bg][1:v]overlay=(main_w-overlay_w):(main_h-overlay_h)" watered.mp4');

    The main problem is that, I want to change the logo size based on video size.

    How can I do it with ffmpeg ?

  • lavc/hevc/cabac : do not infer WPP use based on HEVCContext.threads_number

    1er juin 2024, par Anton Khirnov
    lavc/hevc/cabac : do not infer WPP use based on HEVCContext.threads_number
    

    Pass this information explicitly instead.

    • [DH] libavcodec/hevc/cabac.c
    • [DH] libavcodec/hevc/hevcdec.c
    • [DH] libavcodec/hevc/hevcdec.h
  • ffmpeg : replace custom channel_layout code with an SpecifierOpt based one

    18 mars 2022, par James Almer
    ffmpeg : replace custom channel_layout code with an SpecifierOpt based one
    

    This is cleaner and allows fine tuning which stream the option is applied to.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_opt.c