Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (89)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (5753)

  • How to play local video using ffplay and nginx ?

    17 février 2016, par Bhoomi Loriya
    • I want to play video using ffplay.I store data in local machine.
      directory path is like :
      C:\ffmpeg\bin
    • Using this command i cant play this video.

      ffplay frlive.m3u8
    • Above code can’t work.
    • If i am play live video than they work fine this code is like :
      ffplay -i  <a href="http://media.webtvlive.eu/rtc/_definst_/mp4:live_720p.stream/playlist.m3u" rel="nofollow">http://media.webtvlive.eu/rtc/<em>definst</em>/mp4:live_720p.stream/playlist.m3u</a>
      - This code work properly.
  • rtpdec_qt : Use a local variable instead of RTP_FLAG_KEY

    4 mars 2015, par Martin Storsjö
    rtpdec_qt : Use a local variable instead of RTP_FLAG_KEY
    

    The only case where RTP_FLAG_KEY actually is needed is
    in RDT, where such a flag needs to be passed via the
    rtpdec parse function’s flags parameter.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtpdec_qt.c
  • Making ffmpeg/javacv less verbose in java

    16 octobre 2022, par lejlot

    I have a Java application that uses ffmpeg library and javacv to load and process video files.

    &#xA;&#xA;

    I am currently using following code, for loading videofile to my data container.

    &#xA;&#xA;

    public boolean add(String videofile) {&#xA;        FrameGrabber g = new OpenCVFrameGrabber( videofile );&#xA;        try{ &#xA;            g.start();&#xA;        }&#xA;        catch(Exception e){&#xA;            g = new FFmpegFrameGrabber( videofile );&#xA;            try {&#xA;                g.start();&#xA;            }catch(Exception x){&#xA;                return false;&#xA;            }&#xA;        }&#xA;        grabbers.add( new Pair(videofile, g) );&#xA;        frames.add( 0 );&#xA;        preprocessed=false;&#xA;        return true;        &#xA;    }&#xA;

    &#xA;&#xA;

    Each time video is loaded, a library outputs a lot of meta information regarding video itself :

    &#xA;&#xA;

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/lejlot/data/test.mp4' : &#xA; Metadata :&#xA; major_brand : isom&#xA; minor_version : 512&#xA; compatible_brands : isomiso2mp41&#xA; encoder : Lavf53.21.1 Duration : 00:04:36.27, start : 0.000000, bitrate : 305 kb/s&#xA; Stream #0:0(und) : Video : mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 303 kb/s, 20,85&#xA; fps, 30 tbr, 1k tbn, 1k tbc&#xA; Metadata :&#xA; handler_name : VideoHandler

    &#xA;

    &#xA;&#xA;

    which obviously I do not want to see. I cannot (do not want) to modify the libraries source codes, but rather modify my own so it can intercept this log and discard it.

    &#xA;&#xA;

    As far I tried to temporarly block the stdout/stderr streams through

    &#xA;&#xA;

    private static final devnull = new PrintStream(new OutputStream() {&#xA;        @Override&#xA;        public void write(int b) {&#xA;            //DO NOTHING&#xA;        }&#xA;        @Override&#xA;        public void write(byte[] b,int x,int y){&#xA;        }&#xA;   });&#xA;&#xA;   /**&#xA;   * Blocks messages to stdout&#xA;   */&#xA;   public static void silentStdOut(){&#xA;     System.setOut(devnull);&#xA;   }&#xA;&#xA;   /**&#xA;   * Blocks messages to stderr&#xA;   */&#xA;   public static void silentStdErr(){&#xA;     System.setErr(devnull);&#xA;   }&#xA;

    &#xA;&#xA;

    but it does not seem to help, log message is still displayed

    &#xA;&#xA;

    public boolean add(String videofile) {&#xA;    Utils.silentStdErr();&#xA;    Utils.silentStdOut();&#xA;    FrameGrabber g = new OpenCVFrameGrabber( videofile );&#xA;    try{ &#xA;        g.start();&#xA;    }&#xA;    ,,,&#xA;

    &#xA;&#xA;

    "Raw" ffmpeg can be set to be less verbose using

    &#xA;&#xA;

    ffmpeg -loglevel panic&#xA;

    &#xA;&#xA;

    but neither OpenCVFrameGrabber not FFmpegFrameGrabber give access to the tool's parameters.

    &#xA;&#xA;

    To sum up - how can I discard these log messages without modifing the libraries' source codes ?

    &#xA;