Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (37)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (6572)

  • Overlay timelapse video on solid background colour using ffmpeg

    13 septembre 2020, par hamchapman

    I've got a load of screenshots of a homepage that are named homescreen000001.png, homescreen000002.png, etc and I'm trying to create a time-lapse video of these images using ffmpeg.

    



    I've got it working in general when I run the following :

    



    ffmpeg -f image2 \
       -i ~/Desktop/homescreen%06d.png \
       -r 0.5 \
       -s 1440x900 \ 
       -b:v 1M \
       -vcodec libx264 \ 
       -pix_fmt yuv420p \
       ~/Desktop/timelapse.mp4


    



    However, it turns out that some of the images have transparent backgrounds so the background is showing up as black on those images.

    



    I'd like a white background so I've been trying to set that up using ffmpeg as follows :

    



    ffmpeg -f image2 \
       -loop 1 \
       -i ~/Desktop/whitebg.png \
       -i ~/Desktop/homescreen%06d.png \
       -filter_complex overlay \ 
       -r 0.5 \
       -s 1440x900 \ 
       -b:v 1M \
       -vcodec libx264 \ 
       -pix_fmt yuv420p \
       ~/Desktop/timelapse.mp4


    



    Here whitebg.png is 2px x 2px png with a white background, and that's it.

    



    This ffmpeg command produces a really tiny (in file size) video that's just a white background.

    



    Can anyone explain how I can overlay the images as a time-lapse video over a white background using ffmpeg ?

    


  • Overlay timelapse video on solid background colour using ffmpeg

    28 juillet 2014, par hamchapman

    I’ve got a load of screenshots of a homepage that are named homescreen000001.png, homescreen000002.png, etc and I’m trying to create a time-lapse video of these images using ffmpeg.

    I’ve got it working in general when I run the following :

    ffmpeg -f image2 \
          -i ~/Desktop/homescreen%06d.png \
          -r 0.5 \
          -s 1440x900 \
          -b:v 1M \
          -vcodec libx264 \
          -pix_fmt yuv420p \
          ~/Desktop/timelapse.mp4

    However, it turns out that some of the images have transparent backgrounds so the background is showing up as black on those images.

    I’d like a white background so I’ve been trying to set that up using ffmpeg as follows :

    ffmpeg -f image2 \
          -loop 1 \
          -i ~/Desktop/whitebg.png \
          -i ~/Desktop/homescreen%06d.png \
          -filter_complex overlay \
          -r 0.5 \
          -s 1440x900 \
          -b:v 1M \
          -vcodec libx264 \
          -pix_fmt yuv420p \
          ~/Desktop/timelapse.mp4

    Here whitebg.png is 2px x 2px png with a white background, and that’s it.

    This ffmpeg command produces a really tiny (in file size) video that’s just a white background.

    Can anyone explain how I can overlay the images as a time-lapse video over a white background using ffmpeg ?

  • ffmpeg - filter_complex list too long

    2 mars 2016, par Baumi

    Let’s say I want to overlay a clock in the video using special font, color, etc to video that is aprox 30 min long. I end up with command :

    ffmpeg -y -i in.mp4 -filter_complex "
    [0:v]drawtext=fontfile=/var/www/sites/manage/elements/digital-7.ttf:text='00\:00':fontcolor=white@1.0:fontsize=26:x=100:y=65:enable='between(t,0,7)'[tmp];
    [tmp]drawtext=fontfile=/var/www/sites/manage/elements/digital-7.ttf:text='00\:01':fontcolor=white@1.0:fontsize=26:x=100:y=65:enable='between(t,7,8)'[tmp];
    [tmp]drawtext=fontfile=/var/www/sites/manage/elements/digital-7.ttf:text='00\:02':fontcolor=white@1.0:fontsize=26:x=100:y=65:enable='between(t,8,9)'[tmp];
    [tmp]drawtext=fontfile=/var/www/sites/manage/elements/digital-7.ttf:text='00\:03':fontcolor=white@1.0:fontsize=26:x=100:y=65:enable='between(t,9,10)'[tmp];
    [tmp]drawtext=fontfile=/var/www/sites/manage/elements/digital-7.ttf:text='00\:04':fontcolor=white@1.0:fontsize=26:x=100:y=65:enable='between(t,10,11)'[tmp];
    ......."
    -map "[tmp]" -map 0:a -acodec copy -c:v h264 out.mp4

    This clock is not the only overlay I have so finally I have end up with command 216kB long but this I cannot even run in bash because of argument list being too long.

    I wanted to re-encode the video only once. Is there any other way I can do that ?

    Thanks !