Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (77)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (10344)

  • ffmpeg : pad filter with transparent background for GIF input/output ?

    23 janvier 2023, par Yami Odymel

    I'm trying to pad the GIF source to a square thumbnail and the extended area should be transparent.

    


    (image source : https://store.steampowered.com/app/2113680/The_Dot/)

    


    enter image description here

    


    To achieve the goal, I used the following command :

    


    ffmpeg -i ./test/source.gif -filter_complex "[0]scale=255:144[s1];[s1]pad=256:256:0:-56:blue[s2];[s2]split[s3][s4];[s3]palettegen=reserve_transparent=on:transparency_color=blue[p];[s4][p]paletteuse[s5]" -map [s5] -loop 0  ./test/output.gif -y


    


      

    1. [0]scale=255:144[s1]
      First I scale down the image.

      


    2. 


    3. [s1]pad=256:256:0:-56:blue[s2]
      Then pad the image with an uncommon background color : blue

      


    4. 


    5. [s2]split[s3][s4]
      And I split to two streams. One for palettegen and another for paletteuse.

      


    6. 


    7. [s3]palettegen=reserve_transparent=on:transparency_color=blue[p]
      Generate the color palette that indicates blue as the transparency_color

      


    8. 


    9. [s4][p]paletteuse[s5]
      Use the new color palette for output. The padded image with blue background color should be treated as a transparent background.

      


    10. 


    


    But the output animated GIF still has a visible blue background color no matter if I put the paletteuse at first or in the end.

    


    enter image description here

    


    Related posts :

    


    


  • Anomalie #4506 : Supprimer les CSS inline des modèles de documents

    9 juin 2020

    J’ai testé l’astuce de @tcharlss qui fonctionne bien
    C’est effectivement la seule solution qui fonctionne bien. Les autres solutions inline-flex, flex, translate, .... ont toujours une limite

    Reste donc à voir si :
    - on reste sur l’existant avec sa largeur en dur qui marche bien et qui est robuste
    - sur la solution de @tcharlss qui est plus élégante car ne produit pas de style-inline mais qui réclame une css-dist avec l’astuce sur les captions.

  • How to efficiently upload a GIF to twitter from a MP4 ?

    29 septembre 2019, par arl505

    I’m writing a Java (Spring-Boot) application which, when prompted, downloads media from Twitter via the twitter-api. Then, when prompted later, reposts the media.

    Twitter stores GIFs as MP4s. So when a tweet is sent with a GIF, I download it as a MP4. Then, when reposting, it is tweeted as a video.

    How can I best overcome this conversion issue so that media that is originally sent as a GIF is reposted as a GIF also ?

    I am thinking that I will need to use ffmpeg to convert the downloaded MP4 into a GIF and then upload the GIF. This just seems like potentially unnecessary overhead and so I was hoping to find a cleaner and more efficient solution.

    For a greater understanding on the requirements see the README here : https://github.com/arl505/twitter-memeDatabaseBot