Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (44)

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

  • Revision 05a79f2fbf : Move EOB to per-plane data Continue migrating data from BLOCKD/MACROBLOCKD to t

    4 avril 2013, par John Koleszar

    Changed Paths : Modify /vp9/common/vp9_blockd.h Modify /vp9/common/vp9_invtrans.c Modify /vp9/decoder/vp9_decodframe.c Modify /vp9/decoder/vp9_detokenize.c Modify /vp9/decoder/vp9_idct_blk.c Modify /vp9/encoder/vp9_block.h Modify /vp9/encoder/vp9_encodeintra.c (...)

  • how to save audio stream bitrate from video file and get it in my app ?

    20 novembre 2019, par Vinal Lathiya

    I want to get audio bitrate from video file adn save it for use in my app. Is it possible to get audio track bitrate form video file using ffmpeg ? and if possible then how to do it ?...Any suggestion will be appreciated

  • WebSocket video MP4 stream, save video and make snapshot

    6 janvier 2024, par Aleksandr Rogonov

    There is a WebSocket server, wss ://stoa-wsez-e01.ezvds.net/ezs/60/ezugi_5_hd/websocketstream2. If you connect to it, for example, here at https://piehost.com/websocket-tester and send {"eventType":"PLAY","stream":"ezugi_5_hd","requestId":0}, messages with the stream will be received.

    


    Let's imagine Node.js connects, takes a screenshot, and disconnects.

    


    I tried something like this :

    


    const videoPath = path.join(outputDirectory, `video_${timestamp}.webm`);
const videoStream = fs.createWriteStream(videoPath);


ws.on('message', (data: Buffer) => {
  videoStream.write(data);
});

ws.on('close', () => {
  videoStream.end();
  ffmpeg(videoPath)
    .output(path.join(outputDirectory, `screenshot_${timestamp}_%d.png`))
    .on('end', () => {
      fs.unlinkSync(videoPath);
    })
    .run();
});


    


    The saved video files cannot be opened, and ffmpeg gives an error :

    


    video_1704549199939.webm: Invalid data found when processing input.


    


    So clearly, I'm doing something wrong.

    


    UPD
In general, I am confident that I can take a snapshot from the video. The problem is how to capture and save this video to the disk. That's where I need help.