Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (67)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (9109)

  • avformat/rtmpproto : fix memleak when open rtmp failed

    10 octobre 2019, par Steven Liu
    avformat/rtmpproto : fix memleak when open rtmp failed
    

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/rtmpproto.c
  • IContainer.open() fails when using with custom ByteChannel to read from

    13 août 2014, par AnilJ

    I am trying to open an IContainer object which is reading from a custom input buffer rather than reading from a media file. The implementation for this custom input buffer is as below.

    The code to create and open the container is as below.

    // Open up the container for READING
    mInputCStore = new CStore();

    IContainerFormat format = IContainerFormat.make();
    if (format.setInputFormat("flv") &lt; 0) {
       throw new IllegalArgumentException("Failed to initialize the input format");
    }

    // Open up the container
    mInputContainer = IContainer.make();
    int retval = mInputContainer.open(mPlaybackContainerStore, IContainer.Type.READ, format);      
    if (retval &lt; 0) {
       // This little trick converts the non friendly integer return value into  
       // a slightly more friendly object to get a human-readable error name
       IError error = IError.make(retval);
       throw new IllegalArgumentException("could not open input container: " + mPlaybackContainerStore + "; Error: " + error.getDescription());
    }

    The above code throwing an exception saying that —

    Exception in thread "main" java.lang.IllegalArgumentException: could not open input container: com.client.video.ContainerStore@61981853; Error: Operation not permitted

    The same custom buffer when used while writing to the container is working successfully. Can someone pls help me understand what is missing in the custom buffer implementation, as far as using it in READ mode and why the reason it is failing ?

    package test;

    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.channels.ByteChannel;
    import java.util.concurrent.ConcurrentLinkedQueue;

    public class CStore implements ByteChannel {
       private ConcurrentLinkedQueue<datachunk> mChunkQueue = null;
       private int mQueueSize = 0;

       // constructor
       public CStore(String type) {
           mQueueSize = 0;
           mChunkQueue = new ConcurrentLinkedQueue<datachunk>();
           mChunkQueue.clear();
       }

       @Override
       public void close() throws IOException {
           return;
       }

       @Override
       public boolean isOpen() {
           return false;
       }

       @Override
       public int write(ByteBuffer buffer) throws IOException {
           DataChunk chunk = new DataChunk(buffer);
           mChunkQueue.add(chunk);
           mQueueSize += chunk.getLength();
           return 0;
       }

       public int read(ByteBuffer buffer) throws IOException {

           int result = 0;

           DataChunk chunk = mChunkQueue.poll();
           if (chunk != null) {
               buffer = chunk.getBuffer();
               if (buffer != null) {
                   result = 0;
               } else {
                   result = 1;
               }
           }

           return result;
       }
    }
    </datachunk></datachunk>
  • Revision 87422 : l’option popup ne fonctionnait pas, il manquait les options window.open

    12 février 2015, par pierre.troller@… — Log

    l’option popup ne fonctionnait pas, il manquait les options window.open