Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (86)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (13513)

  • Live HTML5 Video to Node.js to HTML5 Video streaming

    28 mars 2017, par sandorvasas

    I’ve searched around in similar topics, but haven’t really found the answer for my question.
    I’m making a webcam live-streaming site, and reading video input from HTML5 , periodically uploading the frames via WebSocket to a Node.js server, which -so far as I understood-, should write the incoming frames’ data to a videofile, so that file can be streamed with ffmpeg or gstreamer to broadcast the live stream to multiple viewers.

    I’m planning to use livecam, since it can stream from a file as well.

    My uncertainty arises at the point when the frames are received from the broadcaster :

    I have this simple node RTC endpoint :

    const RTCAPI = (apiServer) => {

     let primus = new Primus(apiServer, {
       transformer: 'uws',
       parser: 'binary',
       pathname: '/messaging',
       plugin: {
         rooms: PrimusRooms,
         responder: PrimusResponder
       }
     });


     let clients = {};

     primus.on('connection', spark => {
       clients[spark.id] = spark;

       spark.on('data', data => {

           // here -- fs.createWriteStream?

       });

     });

    }

    A side question is, how can I safely write the frames to a file that ffmpeg/gstreamer could stream ? Is it safe append raw incoming data to the file ?

    Since this would be live-stream only, I won’t need to keep the recorded files, so I guess the file should only keep the last N frames, deleting the last one when adding a new. I’m not sure how can I achieve this. I’m not even sure I have to deal with these manually or ffmpeg/gstreamer supports the ’moving window of frames’ out of the box.

    Any advice would be greatly appreciated !

    Thanks.

  • FFprobe, how to get frame rate of animated gif as a decimal in JSON format

    18 mars 2017, par codingatty

    When I used ffprobe against an animated gif, I get, among other things, this :

    > ffprobe.exe  foo.gif
    . . .
    Stream #0:0: Video: gif, bgra, 500x372, 6.67 fps, 6.67 tbr, 100 tbn, 100 tbc

    Great ; this tells me the frame rate is 6.67 frames per second. But I’m going to be using this in a program and want it in a parsed format. ffprobe does json, but when I use it :

    > ffprobe.exe -show_streams -of json foo.gif

    The json shows :

    "r_frame_rate": "20/3",
    "avg_frame_rate": "20/3",

    But I want the decimal form 6.67 instead of 20/3. Is there a way to have FFProbe produce its JSON output in decimal ? I can’t seem to find it in the docs.

    My platform is Windows ; FFProbe is version N-68482-g92a596f.

    I did look into using ImageMagick, but the GIF file in question is corrupted (I’m working on a simple repair program) ; IM’s "identify" command halts on it, while FFMpeg & FFProbe handle it just fine.

    Addition : this is kind of academic now ; I just used (in Python) :

    framerate_as_decimal = "%4.2f" % (float(fractions.Fraction(framerate_as_fraction)))

    But I’m still kind of curious if there’s an answer.

  • Revision 106686 : paquet.xml et plugin.xml doivent avoir la même version et même bornes ...

    9 octobre 2017, par spip.franck@… — Log

    paquet.xml et plugin.xml doivent avoir la même version et même bornes de compatibilité, car il s’agit d’un même plug