Recherche avancée

Médias (91)

Autres articles (63)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (6058)

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

  • 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 ?

  • Concatenate multiple mp2 files with constant frame rate 30 results in output with variable frame rate 29.xxx

    2 juin 2020, par cipacda

    I am looking to concatenate multiple mp4 files (hundreds) that I am generating using ffmpeg previously.

    &#xA;&#xA;

    I am making sure they have the same codec details and all of them have a constant frame rate of 30FPS.

    &#xA;&#xA;

    However, when I concat them using either demuxer or protocol methods, the result has a lower frame rate (i.e. 29.96).

    &#xA;&#xA;

    Investigating using ffprobe, looks like the total number of frames match, but the duration is the one that changes.

    &#xA;&#xA;

    It is important to be able to do the concatenation without re-encoding as a fast result is needed (all the individual files are created in parallel tasks).

    &#xA;