Advanced search

Medias (91)

Other articles (17)

  • Installation en mode ferme

    4 February 2011, by

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Emballe médias : à quoi cela sert?

    4 February 2011, by

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel; un seul document ne peut être lié à un article dit "média";

  • Configuration spécifique d’Apache

    4 February 2011, by

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

On other websites (3351)

  • ffmpeg: Crop webm file with circular .png mask [closed]

    26 March 2021, by Beneos Battlemaps

    I tried everything for hours and can get it working by myself. I want to create animated Pen&Paper tokens for virtuale tabletops. I have a .webm video file with 720x720 pixel showing an animation of a render file created out of a png sequence via

    


    ffmpeg -framerate 24 -f image2 -i face.%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p face1.mp4

    


    See here: https://webmshare.com/play/ZxZa0

    


    Now i want to overlay this .webm with an circle image as frame:

    


    overlay

    


    and crop the black part so its transparent in the end result as well as keeping the transparent area in the center for the video itself.

    


    So the endresult is from this:

    


    Face1

    


    to this:

    


    Face2

    


    Can you help me out with that? If its easier i can split the steps, making first the alpha mask crop via png and adding the circle in it later.

    


    Beste regards in advance
-Ben

    


  • Minimise GPU load during re-encode [closed]

    14 March 2021, by Spedwards

    I've been re-encoding the contents of my media server from h264 to h265 and it's all going well except 4K video files tend to cause my GPU to crash, leaving me having to restart my computer and try again. Sometimes I'll get lucky but most of the time it will crash about 10 minutes into the process.

    


    Today it crashed with only a few minutes remaining. Below I have included the command I use and other relevant information. I'm hoping someone can help me out minimising these crashes.

    


    ffmpeg command:

    


    ffmpeg -hwaccel auto -hide_banner -i in.mp4 -pix_fmt yuv420p -map 0:v -map 0:a -map_metadata 0 -c:v hevc_nvenc -rc constqp -qp 24 -b:v 0K -c:a copy -movflags +faststart -movflags use_metadata_tags out.mp4


    


    GPU: RTX 2080 Ti (only a factory OC)

    


  • Bash: Variable Expansion in Single Quote / Double Quote

    15 March 2012, by Susan Mayer

    I want to add a variable ${date} in the following bash script:

    ffmpeg -i in.flv -vf drawtext="fontfile=Sans.ttf:text='Today is ${date}':fontsize=6" out.flv

    Obviously, ${date} won't expand in single quote, please also note that there is a double quote beyond the single quote, which makes it even more complicated.

    Thanks a lot. I am on CentOS 6.