Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (46)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5986)

  • 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

  • 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).

    


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