Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (59)

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

  • Play audio files on a channel (Ubuntu Server)

    16 octobre 2018, par danielperales555

    I want to make a "soundboard" on my Discord Bot.

    The bot is currently running on Ubuntu Server 18.04 in a VPS Hosting.

    I installed ffmpeg via aptitude apt-get install ffmpeg, and the respective node modules on my project via npm : npm install ffmpeg-binaries --save and npm install node-opus --save

    I have this provisional code :

    //!play (sound)
    if (!args[0]) return message.channel.send('noCorrectSyntax'); //args is provided by module.run

    let sound = args[0];
    let isReady = true;

    if (isReady) {
       isReady = false;
       let voiceChannel = message.member.voiceChannel;
       if (!voiceChannel) return message.channel.send('noChannel');

       voiceChannel.join().then(connection =>{
           const dispatcher = connection.playFile(`../resources/audios/${sound}.mp3`);
           if (!dispatcher) return message.channel.send('notFound');

           console.log(`${new Date().toUTCString()} 》Playing ${sound} on ${message.member.voiceChannel.name}`);

           dispatcher.on("end", end => {
               voiceChannel.leave();
               console.log(`${new Date().toUTCString()} 》Finished`);
           });
       }).catch(err => console.log(err));
       isReady = true;
    } else {
       return message.channel.send('notAvailable');
    }

    When my bot joins the voice room, it leaves instantly without playing the sound.

    Am I doing something wrong by installing the ffmpeg codec this way ? Is a problem with the VPS ?

    (I tried with a new bot, installing ffmpeg on windows and setting the path and it worked fine)

  • Android and Ffmpeg. Play video (audio and video syncing WITHOUT USING SDL)

    21 janvier 2014, par user1885632

    I have build ffmpeg library and made simple project where I decode video stream and show it on SurfaceView. Now I need to play sound stream of my video file. And the biggest problem for me is synchronization. I saw tutorials but all of them show how to do this using SDL. But for this I need to install SDL, build it (and there are some trouble for me, because of my project structure). So I don't want to use SDL. Are there any ways how to play a videofile with sound synchronously without using SDL ?

  • Evolution #3819 : Pouvoir demander un module PHP dans paquet.xml

    13 juin 2017, par b b

    Heu, je viens de réaliser que cette modification permet de connaître pas mal de choses sur la machine qui héberge le site, exemple :

    https://www.spip.net/local/config.txt

    Et on retrouve une partie de ces infos dans le header des pages forcément.

    Si l’admin d’une machine la configure pour qu’elle utilise des header silencieux en mode prod, cela ne servira presque à rien puisque SPIP va tout dévoiler sur la config PHP. Peut-être faudrait-il exclure ces infos d’une manière ou d’une autre, non ?