Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (45)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

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

Sur d’autres sites (8001)

  • Record screen and save to .mp4 video

    10 avril 2023, par Freddy J

    I have created an animation in Pyglet and I want to save this animation as a video retaining the same quality as the Pyglet window. I attempt to use imageio and FFMPEG with Pyglet. See relevant snippets below.

    


    import numpy as np
import pyglet
import imageio.v2 as iio

writer = iio.get_writer("out.mp4")

@window.event
def on_draw():
    # Draw
    # ...

    # Capture frame
    color_buffer = pyglet.image.get_buffer_manager().get_color_buffer()
    image_data = buffer.get_image_data()
    buffer = image_data.get_data("RGBA", image_data.pitch)

    # 4 channels: RGBA
    frame = np.frombuffer(buffer).reshape((image_data.height, image_data.width, 4))
    writer.append_data(frame)


    


    Problem :

    


    buffer has expected size of window width * window height * 4.
    
However, np.frombuffer(buffer) has size buffer size / 8. I do not know why. I expect the size to be equal. Hence, the program fails at the reshape step.

    


  • arm : vp9itxfm : Avoid .irp when it doesn’t save any lines

    4 février 2017, par Martin Storsjö
    arm : vp9itxfm : Avoid .irp when it doesn’t save any lines
    

    This makes it more readable.

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

    • [DBH] libavcodec/arm/vp9itxfm_neon.S
  • Decoding h.264 in node.js without ffmpeg and send it to front or save it in fs

    5 mars 2019, par JT.v26

    I’m doing the final project of a bootcamp.

    The project consists of controlling a drone (Tello) with a mobile phone. So for this project I’m using react native. In which I insert a node.js inside the application (Node.js for Mobile Apps React Native) since the drone creates a wifi and I lose internet access to connect to a remote server.

    All right so far, the drone has three udp ports enabled on the sdk to receive instructions, send status and send video.
    The video gives it to me in raw.

    I did a test on the computer, downloading ffmpeg and converting that data and I could effectively have the video retransmission.

    My questions are :

    Is there any way I can use the same technique on the mobile without needing ffmpeg ?

    Is there any way to import ffmpeg into android and communicate with nodejs ?

    Is there any other solution where I can use another node that doesn’t have to be on the phone ?

    Or you may even find some other solution to address this problem.

    Thank you very much in advance