Recherche avancée

Médias (91)

Autres articles (78)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (4757)

  • How do I add a cool down to a command for a discord music bot [closed]

    22 mars 2021, par sherbit fish

    I'm making a music bot in discord and I need to add a cool down into this command so that people don't spam it and crash the bot. What should I do to fix this problem ?

    


    const ytdl = require("ytdl-core");

client.on('message', async message => {
  if (message.member.voice.channel) {
    const connection = await message.member.voice.channel.join();
    console.log(`sound was just played`);
connection.play(ytdl('https://www.youtube.com/watch?v=jRxSRyrTANY',{ highWaterMark: 50 },{ quality: 'highestaudio' },{ type: 'opus' }));
setTimeout(() => {
  connection.disconnect();
}, 12000); 
  }
});


    


  • FFMPEG, last message repeated 1 times

    30 octobre 2023, par byeolki
    def play_queue(self, id:str, title:str):
    music_data = Music_Data(self.inter.guild)
    FFMPEG_OPTIONS = {'options': '-vn'}
    ydl_opts = {'format': 'bestaudio'}
    if not music_data.check_guild() or not music_data.is_playing():
        with yt_dlp.YoutubeDL(ydl_opts) as ydl:
            info = ydl.extract_info(f'https://www.youtube.com/watch?v={id}', download=False)
        URL = info['url']
        music_data.start_music(id, title, self.inter, self.voice_channel)
        self.voice_client.play(source=nextcord.FFmpegPCMAudio(URL, **FFMPEG_OPTIONS), after=lambda e: asyncio.run_coroutine_threadsafe(self.next_play(), self.client.loop))
        return True
    else:
        music_data.add_queue(id, title, self.inter)
        return False


    


    It's My source
my module : yt-dlp

    


    It originally worked well.
How fix ?

    


  • For converting video to frames, should I do client or server side processing ?

    23 mars 2024, par Tomas Marson

    Here is the thing, I have a Nodejs API that serves one video at a time when client request it.

    


    The client (made in react) receives the video, which has no more than 15 seconds, watch it and decide if he wants to approve or deny it.
If he approves the video, it must be displayed in a sort of frames carousel, with one frame per second, so there is no more than 15 images/frames.

    


    So the question is, should I do the conversion video-to-frames on client once he approves the video or should I do it on server-side and then request each frame (or streaming all frames with one request if possible) ?

    


    Now, I'm doing the conversion on server with ffmpeg, but it seems tricky to send all the frames when the client already have them inside the video.