Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (75)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11299)

  • Place logo + change its opacity and scale + add text at random position

    1er mai 2023, par Mark Grindcore

    I have 3 complex filters and can't figure how do i make it in one command to work :

    


      

    1. Random text position
ffmpeg -i video.mp4 -vf drawtext=\"fontsize=40:fontfile=FreeSerif.ttf:fontcolor={color}:text='{watermarkText}':x=if(eq(mod(n\\,20)\\,0)\\,rand(0\\,(w-text_w))\\,x):y=if(eq(mod(n\\,20)\\,0)\\,rand(0\\,(h-text_h))\\,y)\" -c:a copy {outputFile}

      


    2. 


    3. Logo opacity
ffmpeg -i video.mp4 -i pog.png -filter_complex "[1:v]format=argb,geq=r='r(X,Y)':a='0.1*alpha(X,Y)'[zork]; [0:v][zork]overlay" {outputFile}

      


    4. 


    5. Logo scaling
ffmpeg -i video.mp4 -i pog.png -filter_complex "[1][0]scale2ref=w='iw*10/100':h='ow/mdar'[wm][vid];[vid][wm]overlay=10:10" video1.mp4

      


    6. 


    


    Is it even possible to make it as one working command ?

    


  • Best ffmpeg options for creating TikTok-like app ? [closed]

    27 août 2022, par nickcoding

    My app is essentially vertical videos, so I'd like the videos to more or less be cropped to that dimension (especially in the case they are 'landscape mode' videos. In the below picture, if the video is that horizontal black rectangle, we should just crop the video to that dimension of the phone (the red vertical rectangle). I've tried messing around with aspect ratios, but can't seem to get it to work right (where the video is essentially cropped to the correct aspect ratio), but not necessarily hard-coding the dimensions (this would look bad on different size devices).

    


    I'm using this module : https://www.npmjs.com/package/fluent-ffmpeg

    


    How should I do this ?

    


    https://i.stack.imgur.com/bb8qR.png

    


    var ffmpeg = require('fluent-ffmpeg');

  ffmpeg('./original.mp4')
    .fps(25)
    .videoCodec('libx264')
    // here, I've tried .withAspectRatio('16:9') and playing around with .size(), but that seems to do nothing.
    .save('./new.mp4');


    


  • display : Include mathematics.h for fallback definition of NAN

    19 mai 2014, par Martin Storsjö
    display : Include mathematics.h for fallback definition of NAN
    

    This fixes compilation with MSVC.

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

    • [DH] libavutil/display.c