Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (79)

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

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (11147)

  • Chrome "stalling" when streaming mp3 file from nodejs windows only

    8 octobre 2015, par Alan Hollis

    We’ve got a really annoying bug when trying to send mp3 data. We’ve got the following set up.

    Web cam producing aac -> ffmpeg convert to adts -> send to nodejs server -> ffmpeg on server converts adts to mp3 -> mp3 then streamed to browser.

    This works *perfectly" on Linux ( chrome with HTML5 and flash, firefox flash only )

    However on windows the sound just "stalls", no matter what combination we use ( browser/html5/flash ). If however we shutdown the server the sound then immediately starts to play as we expect.

    For some reason on windows based machines it’s as if the sound is being buffered "waiting" for something but we don’t know what that is.

    Any help would be greatly appreciated.

    Relevant code in node

       res.setHeader('Connection', 'Transfer-Encoding');
       res.setHeader('Content-Type', 'audio/mpeg');
       res.setHeader('Transfer-Encoding', 'chunked');
       res.writeHeader('206');

       that.eventEmitter.on('soundData', function (data) {
           debug("Got sound data" + data.cameraId + " " + req.params.camera_id);
           if (req.params.camera_id == data.cameraId) {
               debug("Sending data direct to browser");
               res.write(data.sound);
           }
       });

    Code on browser

          soundManager.setup({
                               url: 'http://dashboard.agricamera.co.uk/themes/agricamv2/swf/soundmanager2.swf',
                               useHTML5Audio: false,
                               onready: function () {
                                   that.log("Sound manager is now ready")
                                   var mySound = soundManager.createSound({
                                       url: src,
                                       autoLoad: true,
                                       autoPlay: true,
                                       stream: true,
                                   });
                               }
                           });
  • How do I allow my discord bot to stream audio ? (FFMPEG is not found)

    8 avril 2022, par Sir Daniel Fortesque

    I got everything with Youtube_DL. The bot finds the music, adds it to the queue without problems and even logs in to the call but not play any sound , and now he needs to actually play the music.

    


    I look at the positions and put him as Administrator and the bot has the audio permission in developer portal too.

    


    This is my error code :

    


    Traceback (most recent call last):
  File "C:\Python310\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "C:\Python310\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "C:\Python310\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientException: ffmpeg was not found.


    


  • Merge commit ’4a664224502b42e3b28949d905a8de7769892184’

    17 septembre 2015, par Hendrik Leppkes
    Merge commit ’4a664224502b42e3b28949d905a8de7769892184’
    

    * commit ’4a664224502b42e3b28949d905a8de7769892184’ :
    pixfmt : Add new SMPTE color primaries and transfer characteristic values

    Merged-by : Hendrik Leppkes <h.leppkes@gmail.com>