Recherche avancée

Médias (91)

Autres articles (93)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8062)

  • Set audio language and subtitle language using php-ffmeg

    2 septembre 2020, par Kermit

    Is that possible to set a desired audio language and a subtitle language using php-ffmeg ?
Something like :

    


    $format
->setAudioLanguage('eng')
->setSubtitle('eng');


    


    I tried to look into the documentation but I wasn't able to find anything about it...

    


    My goal is to make a clip using a video containing several audio languages and subtitles, so I need to be able to choose which channel I want for my output.

    


  • Bot connects to chat but doesn't play audio - Discord.py Rewrite

    14 mai 2020, par William Anstey

    Here is the command
It passes no errors but still doesn't play any audio

    



    @bot.command(pass_context=True,aliases=["Play,Song"])
async def playSongs(ctx):
    channel = ctx.message.author.voice.channel
    if not channel:
        await ctx.send("You are not connected to a voice channel")
        return
    voice = get(bot.voice_clients, guild=ctx.guild)
    if voice and voice.is_connected():
        await voice.move_to(channel)
    else:
        voice = await channel.connect()
    source = FFmpegPCMAudio('song.m4a')
    player = voice.play(source)


    


  • how to locate the voice chat that the discord bot is connected to

    10 mars 2019, par SwaggZ ReYan

    I am making a discord bot that is being activated by voice recognition, im at the very beginning right now im making him join a voice channel (which is working), and im trying to make a command to make him leave.

    const commando = require('discord.js-commando');

    class LeaveChannelCommand extends commando.Command
    {
       constructor(client){!
           super(client,{
               name: 'leave',
               group: 'music',
               memberName: 'leave',
               description: 'leaves a voice channel'
           });
       }
       async run(message, args)
       {
           if(message.guild.voiceConnection)
           {
               message.guild.voiceConnection.disconnect();
           }
           else
           {
               message.channel.sendMessage("seccessfully left")
           }
       }
    }

    module.exports = LeaveChannelCommand;

    right now you can type !leave from anywhere in the server and the bot leaves,
    i want to make it possible to control him only from the same voice channel,
    what should i do