Recherche avancée

Médias (91)

Autres articles (85)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (8831)

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

  • Android - 360 video metadata

    11 mai 2017, par Xys

    So with ffmpeg I’ve concatenated two 360 videos into one. The problem is that I lost all the 360 video metadata in the final video (so it’s not recognized as a 360 video anymore). If I use exiftool on the final video, I lack those metadatas :

    • Spherical : true
    • Stitched : true
    • Stitching Software : Spherical Metadata Tool
    • Projection Type : equirectangular

    I’ve tried to inject those metadatas with ffmpeg, like this for example :

    ffmpeg -i  -metadata Spherical="true" -codec copy

    I don’t get any errors doing that, but exiftool still doesn’t show the metadatas.

    I know Google has a Python script that does this well, here .

    But I would like to inject metadatas in my app as well, any help would be much appreciated,

    thanks !