Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (39)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (8214)

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

    


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

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