Recherche avancée

Médias (91)

Autres articles (33)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (2856)

  • How to apply any mask.png on a video with ffmpeg

    18 novembre 2022, par Talha Khalid

    I am adding a 1.mp4 on a video 2.mp4, and i want to add a mask on overlay video(1.mp4)

    


    mask.png

    


    I want to apply this mask on 1.mp4
    
I'm using chrome key right now

    


        ffmpeg -t 5 -r 30 -f lavfi -i color=c=black:s=640x360
    -i 1.mp4
    -i mask2.png
    -i 2.mp4
    -filter_complex "
    [1:v]scale=500x281[v1];
    [2]scale=500x281[mask];
    [v1][mask]overlay, chromakey=0x00FF00:0.25:0.08 [v2];
    [3:v]scale=640x360[v3];
    [0][v3]overlay [out1];
    [out1][v2]overlay=0:0"
    -y output.mp4


    


    output

    


    But it also removes color from videos.
    
I'm not sure but i think it can be done by negate
    
also i don't need audio command, i already done that part
    
Thanks

    


  • Is it possible for me to put a mask over a transparent image with ffmpeg ?

    14 juin 2019, par Pedro Valle

    I’m trying to make an overlay with a mask over a transparent image with ffmpeg, but the background of the image that gets the mask turns black, is there any way to make this background remain transparent ?

    ffmpeg -i background.jpg -loop 1 -i image.png -loop 1 -i mask.png -filter_complex [0]setpts=PTS-STARTPTS,scale=720:720[background];[2]alphaextract,scale=640x320[mask];[1]scale=640x320[image];[image][mask]alphamerge[final_mask];[background][final_mask]overlay=100:100[final] -map [final] -t 00:00:05.000 -y result.mp4
    result

  • ffmpeg masks more than one overlay, how can I mask only one ?

    6 juin 2020, par Jonathan Winger-Lang

    I am trying to use an alpha mask to mask the corners of a video, it works. But then I try to add another image on top of them and it is also masked.

    



    How can I mask only the one video, not subsequent layers ?

    



    alpha

    



    Here you can see that the phone frame is also masked, since it does not goo beyond the (x-axis) edges of the phone.

    



    My script :

    



    ffmpeg -i input.mp4 \
   -loop 1 -i mask.png \
   -i background.png \
   -loop 1 -i frame2.png \
-filter_complex \
   "[0][1]             alphamerge                                         [masked_video];    \
    [masked_video][3]  overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2  [phone];           \
    [phone]            scale=(iw*0.5):(ih*0.5)                            [scaled_phone];    \
    [2][scaled_phone]  overlay=100:100" \
-shortest out.mp4


    



    Thank you