Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (104)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • 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

Sur d’autres sites (10209)

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

    


  • FFmpeg save stream to mp3

    17 avril 2015, par Sergey92zp

    I have an iOS project that play online radio streams, it is use FFmpeg to play. Also I added ability to record streams, decode streams via avcodec_decode_audio4 function, and write output to .wav file. But this files are too big, because it is uncompressed format, so I want to decode files to .mp3.

    I have found couple ways to convert audio but only when audio it is ready file, but I want decode to some compressed format as soon as I get chunk of data from stream, not ready file.

    Is it possible ?
    Can you give me some advise how to achieve this ?

  • aacenc : Save channel configuration for later use.

    20 juin 2011, par Nathan Caldwell

    aacenc : Save channel configuration for later use.