Recherche avancée

Médias (91)

Autres articles (97)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (12582)

  • Anomalie #2015 (Fermé) : validation courriel inscription

    31 mars 2011, par stef dn

    le format de courriel test@mail passe l’inscription

  • avcodec/alsdec : Limit maximum channels to 512

    20 août 2019, par Michael Niedermayer
    avcodec/alsdec : Limit maximum channels to 512
    

    There seems to be no limit in the specification and upto 64k could be stored
    512 is choosen as limit as thats the maximum in a conformance sample

    An alternative to this patch would be a max_channels variable

    Fixes : OOM
    Fixes : 16200/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5764788793114624

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Suggested-by : Thilo Borgmann <thilo.borgmann@mail.de>
    Reviewed-by : Thilo Borgmann <thilo.borgmann@mail.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/alsdec.c
  • Cannot play audio from a link using a Discord Bot

    2 mars 2020, par Guilhermeffable

    I’m trying to code a bot so me and my friends can hear the local radio on our Discord Server but I’m having this error.

    This is part of my code, it’s the play.js file that handles the playback stuff.

    module.exports = (client,message) => {

    const voiceChannel = message.member.voiceChannel;
    const idChannel = voiceChannel.id;

    console.log(idChannel)
       //vê se o user está numa sala de voz
    if(!voiceChannel) {
       return message.channel.send("Precisas de estar num voice channel para usar este comando.")
    }
    const permissions = voiceChannel.permissionsFor(message.client.user);

    //vê se tem permissões para entrar na sala
    if(!permissions.has('CONNECT') || !permissions.has('SPEAK')) {
       return message.channel.send("Não tenho permissões para entrar nessa sala.")
    }

    voiceChannel.join()
       .then(connection => {
           console.log("Successfully connected.");
           connection.playStream('http://centova.radios.pt:8401/stream.mp3/1')
    }).catch(e =>{
       console.error(e);

    });

    }

    And this is the error I’m getting :

    TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received an instance of        
    Object
    at validateString (internal/validators.js:117:11)
    at normalizeSpawnArguments (child_process.js:406:3)
    at Object.spawn (child_process.js:542:16)
    at new FfmpegProcess (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\prism-media\src\transcoders\ffmpeg\FfmpegProcess.js:14:33)
    at FfmpegTranscoder.transcode (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\prism-media\src\transcoders\ffmpeg\Ffmpeg.js:34:18)
    at MediaTranscoder.transcode (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\prism-media\src\transcoders\MediaTranscoder.js:27:31)
    at Prism.transcode (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\prism-media\src\Prism.js:13:28)
    at AudioPlayer.playUnknownStream (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\discord.js\src\client\voice\player\AudioPlayer.js:97:35)
    at VoiceConnection.playStream (C:\Users\guilh\desktop\BOT\orbitalbot\node_modules\discord.js\src\client\voice\VoiceConnection.js:546:24)
    at C:\Users\guilh\desktop\BOT\orbitalbot\commands\play.js:24:24 {
     code: 'ERR_INVALID_ARG_TYPE'