Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (86)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (16201)

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

    


  • aacenc : Save channel configuration for later use.

    20 juin 2011, par Nathan Caldwell

    aacenc : Save channel configuration for later use.