Recherche avancée

Médias (91)

Autres articles (67)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (9540)

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

    


  • FFmpeg - What muxer do i need to save an AAC audio stream

    1er mars 2017, par David Barishev

    I’m developing Android application, and im using ffmpeg for conversion of files.
    I want my binary file to be as slim as possible since i don’t have many input formats and output formats, and my operation is quite basic.And of course not to bloat the APK.

    In my program ffmpeg receives a file, and copys the audio stream (-acodec copy), the audio stream will always be aac (mp4a). What i need is to save the stream to file.
    My command looks like this : ffmpeg -i {Input} -vn -acodec copy output.aac.

    What muxer do i need to for muxing aac to file ? I have tried flv,mp3,mov but i always get
    Unable to find a suitable output format for 'output.aac', so these options are wrong.
    I don’t need an encoder for stream copy btw.

    Side note : this command work flawlessly on full installation of ffmpeg , but I don’t know which muxer it uses. If there is a way to output the muxer it uses from regular ffmpeg run, it would work too.

  • FFmpeg - What muxer do i need to save an AAC audio stream

    3 août 2022, par David Barishev

    I'm developing Android application, and im using ffmpeg for conversion of files.
    
I want my binary file to be as slim as possible since i don't have many input formats and output formats, and my operation is quite basic.And of course not to bloat the APK.

    



    In my program ffmpeg receives a file, and copys the audio stream (-acodec copy), the audio stream will always be aac (mp4a). What i need is to save the stream to file.
    
My command looks like this : ffmpeg -i {Input} -vn -acodec copy output.aac.

    



    What muxer do i need to for muxing aac to file ? I have tried flv,mp3,mov but i always get
    
Unable to find a suitable output format for 'output.aac', so these options are wrong.
    
I don't need an encoder for stream copy btw.

    



    Side note : this command work flawlessly on full installation of ffmpeg , but I don't know which muxer it uses. If there is a way to output the muxer it uses from regular ffmpeg run, it would work too.