Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (107)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (11342)

  • FFmpeg - add an animated gif (cropped by mask) to the video

    11 mars 2021, par zeromodule

    I have 3 inputs :

    


      

    1. Video file : https://file.io/6jtUlnZ7TGmT
    2. 


    3. Animated GIF with transparent background https://i.imgur.com/Vo3KHZm.gif
    4. 


    5. Mask file (BW) the same resolution as the video https://i.imgur.com/YJXUUrZ.png
    6. 


    


    I want to put the image on the video, but throw out all GIF pixels that are transparent in the mask (replace them with transparent ones).

    


    Video
    
Mask
    
Image
    
Result

    


    My current command, without masking (it works fine) :

    


    ffmpeg -i input.mp4 -ignore_loop 0 -i animation.gif \
-filter_complex "[1]scale=700x700[scaled_gif];\
[0][scaled_gif]overlay=50:30:shortest=1" \
-codec:a copy output.mp4


    


    UPDATE #1

    


    I managed to get closer to my goal with this command :

    


    ffmpeg -y -i input.mp4 -loop 1 -i mask.png \ 
-filter_complex "[1:v]alphaextract[mask]; \
movie=animation.gif,scale=1920x1080[scaled_gif]; \
[scaled_gif][mask]alphamerge[masked]; \
[0:v][masked]overlay=0:0" \
-c:a copy output_masked.mp4


    


    but it has 2 problems :

    


      

    1. GIF loses it's transparency. Transparent pixels become white.
    2. 


    3. GIF plays only once (i.e. no loop)
    4. 


    


    Output : https://file.re/2021/03/11/outputmasked/

    


  • configure : add strip flags checks

    25 novembre 2013, par Vittorio Giovara
    configure : add strip flags checks
    

    This will check if -wN ’..@*’ is available and fall back on -x if not ;
    when none are available, do not run strip at all to prevent removing
    functions that might be actually needed.

    • [DBH] configure
    • [DBH] library.mak
  • build : Strip spurious labels

    12 septembre 2013, par Loren Merritt
    build : Strip spurious labels
    

    The implementation of 25cb0c1a involves lots of spurious labels.

    The effect of keeping those labels around is making debugging harder.
    Those labels are meaningless, and complicate the disassembly. Also,
    gdb can’t tell the difference between them and function entry points.

    This new strip command is irrelevant to any usage of Libav that would
    have used the old fully stripped version, because the old one was for
    non-debug use.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DBH] configure
    • [DBH] library.mak