Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (94)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (14979)

  • Use ffmpeg to resize one input's dimension to match another input's dimension

    18 novembre 2022, par Hans GD

    I need to resize one image A to match one dimension of another input B (make height of A match the height of B, for example). I will do this for several pairs of images in a folder, for which I will use a script in the end, but I wanted to know if this particular operation can be done only with ffmpeg.

    


    Again, the final script could read the image, find the size and use scale=-1:height to accomplish the final goal, but is it posible to make the title's operation only with ffmpeg ?

    


  • Create 256 color palette video

    2 mars 2020, par rlcabral

    I already have this working by converting the source video to GIF with :

    ffmpeg -y -t 5 source.mp4 -vf fps=10,scale=480:-1,smartblur=ls=-0.5,crop=iw:ih-2:0:0 -hide_banner -loglevel panic output.gif

    And then converting the GIF to MP4, like so :

    ffmpeg -y animated.gif -hide_banner -pix_fmt yuvj420p -loglevel panic -an -loglevel panic final.mp4

    What I want is to convert source.mp4 directly to final.mp4, and have the same 256 color palette as a normal GIF.

    I tried merging both commands together, and although it generates a MP4, the result is a 16 bit video, surprisingly smaller than a 8 bit video.

    Do I need to generate a palette first with palettegen and then re-encode the video with this palette ?

  • Xuggle IMediaWriter error

    10 décembre 2013, par prinsen

    Im testing xuggle and ran into a strange error. I have looked at the example in the documentation, and the xuggle-related code is identical. (http://www.xuggle.com/public/documentation/java/api/com/xuggle/mediatool/IMediaWriter.html)

    public class StorageServer {

    private final static String storage = "storage.mp4";
    private final static IMediaWriter writer = ToolFactory.makeWriter(storage);

    private final static Dimension dimension = new Dimension(320, 240);
    protected final static Logger logger = LoggerFactory.getLogger(StorageServer.class);

    public static void main(String[] args) {

       writer.addVideoStream(0, 0, ICodec.ID.CODEC_ID_MPEG4,
               320, 240);
       //setup the connection
       StreamServerAgent serverAgent = new StreamServerAgent(new StreamFrameListenerIMPL(), dimension);
       serverAgent.start(new InetSocketAddress("localhost", 1337));
    }


    protected static class StreamFrameListenerIMPL implements StreamFrameListener {
       private volatile long count = 0;

       @Override
       public void onFrameReceived(IVideoPicture image) {
           logger.info("frame received :{}", count++);
           if (count < 100) {
               logger.info("Writing frame");
               writer.encodeVideo(0, image);
           } else if (count > 220) {
               // writer.flush(); // doesn't matter
               writer.close();
           }
       }

    }

    When writer.close is called I get a runtime exception :

    Error: cannot write packet to read only container

    Which seems really strange..