Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (91)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6603)

  • Discord bot js Bot has no audio after joining with play command. No errors in console or chat

    30 mai 2020, par FeX

    I coded a bot with node.js. I used the example by Crawl for his music bot. I did everything similar to him. After I finished my build everything worked. Every other command and the play command. But now after 2 weeks the bot joins the voice channel, light up green but has no sound. I updated ffmpeg, @discordjs/opus and ffmpeg-static but the bot still has no audio. The queue, volume, nowplaying, skip, shuffle, loop everything works. But after I got the video or playlist with the play command the bot only joins light up green but has no audio.

    



    function play(guild, song) {

  try {

    const ServerMusicQueue = queue.get(guild.id);

    if (!song) {

      ServerMusicQueue.textchannel.send(`ퟎ
  • avformat/hls : pass http offset options to http request

    4 octobre 2019, par vectronic
    avformat/hls : pass http offset options to http request
    

    made with persistent connections to prevent incorrect reset of
    offset when demuxing HLS+FMP4

    Signed-off-by : Steven Liu <lq@onvideo.cn>
    Signed-off-by : vectronic <hello.vectronic@gmail.com>

    • [DH] libavformat/hls.c
  • trying to play audio from youtube with ffmpeg on discord.py rewrite

    13 septembre 2021, par Bobby Cook

    im trying to use a discord bot that plays music, but im getting errors when i run this code and python crashes, and i cant quite figure out whats wrong, except for that its around the @client.command(pass_context=True) async def play(self, ctx, *, url): print(url) server = ctx.message.guild voice_channel = server.voice_client&#xA;block. the i apologize for wasting all your time, im really bad at this, and i didnt even write most of this.

    &#xA;

    import random&#xA;import youtube_dl&#xA;from discord.ext import commands&#xA;from discord.ext import tasks&#xA;&#xA;client = commands.Bot(command_prefix = &#x27;f!&#x27;)&#xA;&#xA;@client.command()&#xA;async def join(ctx):&#xA;    channel = ctx.message.author.voice.channel&#xA;    await channel.connect()&#xA;&#xA;@client.command()&#xA;async def leave(ctx):&#xA;    await ctx.voice_client.disconnect()&#xA;&#xA;youtube_dl.utils.bug_reports_message = lambda: &#x27;&#x27;&#xA;&#xA;&#xA;ytdl_format_options = {&#xA;    &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;    &#x27;outtmpl&#x27;: &#x27;%(extractor)s-%(id)s-%(title)s.%(ext)s&#x27;,&#xA;    &#x27;restrictfilenames&#x27;: True,&#xA;    &#x27;noplaylist&#x27;: True,&#xA;    &#x27;nocheckcertificate&#x27;: True,&#xA;    &#x27;ignoreerrors&#x27;: False,&#xA;    &#x27;logtostderr&#x27;: False,&#xA;    &#x27;quiet&#x27;: True,&#xA;    &#x27;no_warnings&#x27;: True,&#xA;    &#x27;default_search&#x27;: &#x27;auto&#x27;,&#xA;    &#x27;source_address&#x27;: &#x27;0.0.0.0&#x27; # bind to ipv4 since ipv6 addresses cause issues sometimes&#xA;}&#xA;&#xA;ffmpeg_options = {&#xA;    &#x27;options&#x27;: &#x27;-vn&#x27;&#xA;}&#xA;&#xA;ytdl = youtube_dl.YoutubeDL(ytdl_format_options)&#xA;&#xA;class YTDLSource(discord.PCMVolumeTransformer):&#xA;    def __init__(self, source, *, data, volume=0.5):&#xA;        super().__init__(source, volume)&#xA;&#xA;        self.data = data&#xA;&#xA;        self.title = data.get(&#x27;title&#x27;)&#xA;        self.url = data.get(&#x27;url&#x27;)&#xA;&#xA;    @classmethod&#xA;    async def from_url(cls, url, *, loop=None, stream=False):&#xA;        loop = loop or asyncio.get_event_loop()&#xA;        data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=not stream))&#xA;&#xA;        if &#x27;entries&#x27; in data:&#xA;            # take first item from a playlist&#xA;            data = data[&#x27;entries&#x27;][0]&#xA;&#xA;        filename = data[&#x27;url&#x27;] if stream else ytdl.prepare_filename(data)&#xA;        return cls(discord.FFmpegPCMAudio(filename, **ffmpeg_options), data=data)&#xA;&#xA;        async with ctx.typing():&#xA;            player = await YTDLSource.from_url(url, loop=self.bot.loop)&#xA;            ctx.voice_channel.play(player, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;        await ctx.send(&#x27;Now playing: {}&#x27;.format(player.title))&#xA;&#xA;@client.command(pass_context=True)&#xA;   async def play(self, ctx, *, url):&#xA;       print(url)&#xA;       server = ctx.message.guild&#xA;       voice_channel = server.voice_client&#xA;

    &#xA;