Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (65)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (7244)

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

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

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