Recherche avancée

Médias (91)

Autres articles (93)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7847)

  • Imageio unable to read webcam at correct framerate

    28 mai 2019, par Jason Nick Porter

    I’m trying to read frames from a webcam and analyze them in realtime, but since my function AnalyzeFrame() is faster than the framerate, it ends up pulling the same frame 1-4 times in a row, messing up my data. Here’s basically what I’m running.

    import imageio

    cam = imageio.get_reader('<video0>', fps=30)

    while not cam.closed:
       print(AnalyzeFrame(cam.get_next_data()))
    </video0>

    A few notes : My webcam should be able to handle 30fps, but I’m averaging 12-14 fps. I’ve timed each individual process and there’s very little regularity to the framerate. Some frames only get analyzed once, because they’re in the buffer for 20 or so milliseconds. Others get analyzed 4 times over a span of 100+ ms. Is there something in my code that’s causing this framerate problem ?

  • How do I convert this ffmpeg command to be used in ffmpy ?

    8 janvier 2017, par user7389159

    I have a gif that I am taking apart frame by frame in order to write text onto it. I used ffmpeg to put the frames (saved as individual .png files) back together and it worked nicely. This is the code I used :

    ffmpeg -f image2 -i newimg%d.png out.gif

    But now I want to use the python wrapper ffmpy. Following the docs, I tried a variety of things but I keep getting syntax errors.

    Here is one instance of my efforts :

    ff = ffmpy(FFmpeg(inputs = {ffmpeg -f image2 -i "newimg%d.png"}, outputs = {"gif_with_text.gif"}))
    ff.run()

    In this attempt, the syntax error points to the "2" in image2. Could someone help me out ? Note - I’m new to python, let alone ffmpeg and ffmpy.

  • I need to take a live video stream from wowza and convert it to a JPEG Push for display in HTML5

    10 septembre 2015, par scott m gardner

    I have a live video feed that currently is served by a Wowza server as an RMTP stream. I need to create an Motion JPEG, or JPEG push stream to HTML5. I have FFMpeg, and have used it to generate individual frames from a video file, but do not know how to put it all together. Or how to package the frames together for transmission to the client.

    I am guessing that I will have to do some coding on the server side to package everything up. I will do this in Java or Scala. And on the client to handle the un packaging and display to the canvas in JavaScript.