Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (44)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6975)

  • Silvia Pfeiffer Live Stream

    14 juin, par silvia

    Category : 2
    Uploaded by : Silvia Pfeiffer
    Hosted : youtube

    The post Silvia Pfeiffer Live Stream first appeared on ginger’s thoughts.

  • Cannot build FFmpeg 4.2 whatever I disable/enable (Cygwin)

    19 novembre 2020, par kubinka0505

    I have a strange (or maybe not) problem. As the title says I cannot compile FFmpeg.

    


    First I need to state that I have completely no experience in C, (which FFmpeg is primarily made in) not even mentioning its compilation, so I probably will not be able to change any of its source code.

    


    What I want to achieve - I want to have a static executable binary file (ffmpeg.exe) without any audio encoders/decoders. I mainly want it because of the smaller file size.

    



    


    I'm using :

    


    



    


    Steps that I've done (for testing purposes) :

    


      

    1. I've trying to build it after watching that video
    2. 


    3. With the following command :
    4. 


    


    ./configure --disable-libmp3lame --enable-static


    


    Log is avaliable here

    



    


    Please give me information about what am I doing wrong and how to fix this. I'm struggling with it for over a week.

    


  • Discord bot returning odd error message and not playing sound

    26 février 2020, par Ravenr_

    I am attempting to create a function of my discord bot that will join your voice channel then play something from youtube as specified in the command

    i.e. $play <youtube link="link"></youtube>

    The problem is that my bot joins the voice channel but doesn’t play any sound and outputs an error to the console that I dont know how to fix

    My Code :

    const ytdl = require("ytdl-core");
    module.exports = {
       name: 'play',
       description: 'initiates music methods of the bot',
       execute(msg, args){
           var servers = {};

           function play(connection, msg){
               var server = servers[msg.guild.id];

               server.dispatcher = connection.playStream(ytdl(server.queue[0], {filter: "audioonly"}));
               server.queue.shift();

               server.dispatcher.on("end", function(){
                   if(server.queue[0]){
                       play(connection, msg);
                   }else{
                       connection.disconnect();
                   }
               });


           }
           if(!args[1]){
               return msg.channel.send("you need to provide a link");
           }
           if(!msg.member.voiceChannel){
               return msg.channel.send("You must be in a voice channel to use this feature");
           }
           if(!servers[msg.guild.id]) servers[msg.guild.id] = {
               queue: []
           }
           var server = servers[msg.guild.id];
           server.queue.push(args[1]);
           if(!msg.guild.voiceConnection) msg.member.voiceChannel.join().then(function(connection){
               play(connection, msg);
           })
       }
    }

    The Error :

    2020-02-26T16:31:59.458215+00:00 app[worker.1]: (node:4) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received an instance of Object
    2020-02-26T16:31:59.458223+00:00 app[worker.1]:     at validateString (internal/validators.js:117:11)
    2020-02-26T16:31:59.458224+00:00 app[worker.1]:     at normalizeSpawnArguments (child_process.js:406:3)
    2020-02-26T16:31:59.458224+00:00 app[worker.1]:     at Object.spawn (child_process.js:542:16)
    2020-02-26T16:31:59.458225+00:00 app[worker.1]:     at new FfmpegProcess (/app/node_modules/prism-media/src/transcoders/ffmpeg/FfmpegProcess.js:14:33)
    2020-02-26T16:31:59.458225+00:00 app[worker.1]:     at FfmpegTranscoder.transcode (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:34:18)
    2020-02-26T16:31:59.458226+00:00 app[worker.1]:     at MediaTranscoder.transcode (/app/node_modules/prism-media/src/transcoders/MediaTranscoder.js:27:31)
    2020-02-26T16:31:59.458226+00:00 app[worker.1]:     at Prism.transcode (/app/node_modules/prism-media/src/Prism.js:13:28)
    2020-02-26T16:31:59.458227+00:00 app[worker.1]:     at AudioPlayer.playUnknownStream (/app/node_modules/discord.js/src/client/voice/player/AudioPlayer.js:97:35)
    2020-02-26T16:31:59.458231+00:00 app[worker.1]:     at VoiceConnection.playStream (/app/node_modules/discord.js/src/client/voice/VoiceConnection.js:478:24)
    2020-02-26T16:31:59.458232+00:00 app[worker.1]:     at play (/app/commands/play.js:11:44)

    for reference these are the links I tested it with 1 & 2

    I’m not sure how to make queue[0] a string, which is what I assume the problem is.

    I was thinking of using a toString() i.e. server.queue[0].toString() but I think that will just return the memory address.

    If anyone can help me know what the issue is or how to fix it, that would be great.