Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (66)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (5367)

  • IOException when I use Runtime for FFMPEG [duplicate]

    20 octobre 2016, par Kilobyte

    I’m trying to write a java program that converts a video file (mp4) into an audio file (mp3) using FFMPEG, but I have an IOException.
    Is there something wrong in my code ?

    import java.lang.Runtime;

    public class Basketball {

    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
       Process p = Runtime.getRuntime().exec("ffmpeg highlightsCLGS.mp4 -vn -ab 256 highlightsOutput.mp3");
    }
    }

    And this is the error.

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - unreported exception java.io.IOException; must be caught or declared to be thrown
    at basketball.Basketball.main(Basketball.java:21)
  • Merge commit ’5d560d38deca1e4705e6d3784d737363b9c830fe’

    28 septembre 2016, par James Almer
    Merge commit ’5d560d38deca1e4705e6d3784d737363b9c830fe’
    

    * commit ’5d560d38deca1e4705e6d3784d737363b9c830fe’ :
    pixfmt : Add ARIB STD-B76 color transfer characteristic

    See 785038c92cc7fc1da437576382083246ca598fce

    Conflicts :
    libavcodec/options_table.h
    libavcodec/version.h
    libavutil/pixdesc.c
    libavutil/version.h

    Merged-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/options_table.h
    • [DH] libavcodec/version.h
  • unsynchronized graph when h264 stream pause

    24 septembre 2016, par jorp

    Steps to reproduce :

    1.Connect android device to linux PC via USB.

    2.Run command on pc :
    adb shell screenrecord --output-format=h264 - | ffplay -analyzeduration 1 -

    3.Screenrecord(an Android system tool) will start to capture Android screen, encode by MediaCodec, generate h264 stream, send stream data to ffplay via pipe.

    4.PC will pop up ffplay window, and start display Android screen graphs


    If adb command runs when Android screen graph keeps static (no pixel color changes), ffplay window won’t pop up, until I touch somewhere to make Android graph changes.

    Question 1 : how to make ffplay to immidiately display the first frame of video when Android screen keeps static and adb commmand runs ?

    I’m not talking about "latency", if Android graph keeps changing, the graphic latency is within 2 second. It’s fast enough.

    when Android graph is static, run command without ffplay :
    adb shell screenrecord --output-format=h264 -

    screenrecord will output H264 stream data immidiately then pause.(See picture below).
    stream data comes first

    Does the data contain all information of first frame graph ?
    If so, how to make ffplay to display it immidiately ?


    Question 2 : how to make ffplay to immidiately display the latest frame of video when Android screen suddenly become static ?

    When Android screen start casting and Android graph suddenly become static, H264 data stream transfer will pause, while PC graph is different with Android graph.

    For example, I make a popup menu on Android disappear, there has been a fadeoff animation, PC graph pauses and display a translucent popup menu.(See picture below)

    latest graph on pc

    The first and latest frames of stream doesn’t display in ffplay immidiately, they are "missing".
    when Android screen go on changing, the "missing" frames displays.
    So it seems like the latest frames are always in buffer.

    I’ve tried adding these params to ffplay :

    -noinfbuf
    -fflags nobuffer
    -max_delay 0
    -sync ext
    -preset ultrafast
    -tune zerolatency


    They cannot solve the problems

    Modifing Android ROM or screenrecord source, making a pixel color changes every frame, may solve the problems(I guess), but it would enlarge data stream, it’s the last choise.
    Is there any solution by adding params of ffplay, or by modifing screenrecord or ffplay source code ?

    PS : mplayer also has the same problem :
    mplayer -demuxer h264es -