Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (59)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

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

Sur d’autres sites (9691)

  • FFMPEG image not updating

    4 juillet 2017, par Liam Martens

    THE INPUT FILES

    1. An overlay image that has is being updated every 5 seconds by a Python script
    2. A small MP4 file that will be looped by a concat input
    3. An MP3 file as audio source

    THE COMMAND (UPDATED)

    This is the command I’m currently using to combine and stream the inputs.

    ffmpeg -re -i music.mp3 -f concat -i videoincludes.txt
    -r 1 -loop 1 -f image2 -i overlay.png
    -c:v libx264 -c:a aac -shortest -crf 23 -pix_fmt yuv420p
    -maxrate 2500k -bufsize 2500k -preset ultrafast -r 30 -g 60 -b:v 2000k -b:a 192k -ar 44100
    -filter_complex "[1:v][2:v] overlay=0:0" -map 0:a -strict -2
    -f flv rtmp://a.rtmp.youtube.com/live2/{key}

    Als tried using -framerate 1 instead of -r 1

    THE ISSUE

    So the issue is that the image doesn’t always update. Sometimes it does update every couple seconds at the start but it stops updating after 10-20 seconds without any difference in log output and sometimes it just doesn’t update.

    I can however confirm that the image is being updated by the Python script but FFmpeg is just not picking this up.

    I read setting the input format of the image to image2 should allow it to update so I am not sure what is wrong or what I can do to improve it.

  • FFmpeg - center crop image overlay

    21 juillet 2020, par ClassA

    Here is the information about my input files, player and command I'm using :

    


    enter image description here

    


      

    • Input Video Dimensions = 1080 x 1920
    • 


    • Input Image Dimensions (overlay - Red in image) = 1080 x 1794
    • 


    • Player dimensions (Black in image) = 1080 x 1794
    • 


    • Video size (scaled to fit in player - Blue in image) = 1010 x 1794
    • 


    


    My current command is :

    


    -ffmpeg -ss valueLeft -i inputVideo -i inputOverlay -t to -filter_complex scale=playerWidth:trunc(ow/a/2)*2,overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 -c:v libx264 -preset ultrafast outputPath


    


    The playerWidth is the width of the video, scaled to fit in the player (blue/video in the image above).

    



    


    The problem I have is that the video is scaled inside the player to fit inside the player, this means that I might have values like 999.

    


    To counter this, I can change the width to 998 or 1000, but the overlay image will be out by one pixel. I know one pixel is not a lot, but in my use case, it has to be precisely the same as it was in the player.

    


    Besides that, the video aspect ratio will also change when doing this.

    


    My question :

    


    How can I center crop the overlay, despite the size of the video or the overlay image, to get the following result :

    


    enter image description here

    


    EDIT :
It would be great if I could instead use the video's original dimensions and crop the overlay (if it is bigger than the video).

    


  • What are the frameworks that can be used to create animated gif out of single image ?

    11 juin 2015, par Kiran Kumar Dash

    Currently I am using ffmpeg to create videos and and imageMagick to create animated gif. and I already got a bit of success and was able to create videos out of just texts and images with some nice cool effects.

    Problem : I am looking for some script using which I can create an animated gif out of a single image(i want the image to move on a transparent background) and then(the easy part) make a video out of it using ffmpeg.

    Also you can check more demos at the URL :

    https://animoto.com