Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (47)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

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

Sur d’autres sites (5764)

  • avcodec/cbs_av1 : add missing valid range of values for num_cb_points and num_cr_points

    12 décembre 2019, par James Almer
    avcodec/cbs_av1 : add missing valid range of values for num_cb_points and num_cr_points
    

    It is a requirement of bitstream conformance that num_cr_points is less than or equal to 10.
    It is a requirement of bitstream conformance that num_cb_points is less than or equal to 10.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/cbs_av1.h
    • [DH] libavcodec/cbs_av1_syntax_template.c
  • Discord.py - IndexError : list index out of range

    23 novembre 2020, par itsnexn

    Hello i start to learn python and i make bot for practie but i got this error

    &#xA;

    Ignoring exception in command play:&#xA;Traceback (most recent call last):&#xA;  File "C:\Users\sinad\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped&#xA;    ret = await coro(*args, **kwargs)&#xA;  File "d:\Projects\discord\musicbot.py", line 147, in play&#xA;    player = await YTDLSource.from_url(queue[0], loop=client.loop)&#xA;IndexError: list index out of range&#xA;

    &#xA;

    and i use ffmpeg to convert audio&#xA;and i write this bot in youtube and discord.py documentation&#xA;itswork well without music commend but if i use that i got error and isnt working idk why ...&#xA;this is my first python project so this is happening and its normal&#xA;and this is my code :

    &#xA;

    import discord&#xA;from discord.ext import commands, tasks&#xA;from discord.voice_client import VoiceClient&#xA;&#xA;import youtube_dl&#xA;&#xA;from random import choice&#xA;&#xA;from youtube_dl.utils import lowercase_escape&#xA;&#xA;youtube_dl.utils.bug_reports_message = lambda: &#x27;&#x27;&#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;&#xA;client = commands.Bot(command_prefix=&#x27;.&#x27;)&#xA;&#xA;status = [&#x27;&#x27;]&#xA;queue = []&#xA;&#xA;#print on terminal when is bot ready&#xA;@client.event&#xA;async def on_ready():&#xA;    change_status.start()&#xA;    print(&#x27;Bot is online!&#x27;)&#xA;&#xA;#Welcome message&#xA;@client.event&#xA;async def on_member_join(member):&#xA;    channel = discord.utils.get(member.guild.channels, name=&#x27;general&#x27;)&#xA;    await channel.send(f&#x27;Welcome {member.mention}!  Ready to jam out? See `.help` command for details!&#x27;)&#xA;&#xA;#ping&#xA;@client.command(name=&#x27;ping&#x27;, help=&#x27;This command returns the latency&#x27;)&#xA;async def ping(ctx):&#xA;    await ctx.send(f&#x27;**Ping!** Latency: {round(client.latency * 1000)}ms&#x27;)&#xA;&#xA;@client.event&#xA;async def on_message(message):&#xA;&#xA;    if message.content in [&#x27;hello&#x27;, &#x27;Hello&#x27;]:&#xA;        await message.channel.send("**wasaaaaaap**")&#xA;&#xA;    await client.process_commands(message)&#xA;&#xA;&#xA;#join&#xA;@client.command(name=&#x27;join&#x27;, help=&#x27;This command makes the bot join the voice channel&#x27;)&#xA;async def join(ctx):&#xA;    if not ctx.message.author.voice:&#xA;        await ctx.send("You are not connected to a voice channel")&#xA;        return&#xA;&#xA;    else:&#xA;        channel = ctx.message.author.voice.channel&#xA;&#xA;    await channel.connect()&#xA;&#xA;#queue&#xA;@client.command(name=&#x27;queue&#x27;, help=&#x27;This command adds a song to the queue&#x27;)&#xA;async def queue_(ctx, url):&#xA;    global queue&#xA;&#xA;    queue.append(url)&#xA;    await ctx.send(f&#x27;`{url}` added to queue!&#x27;)&#xA;&#xA;#remove&#xA;@client.command(name=&#x27;remove&#x27;, help=&#x27;This command removes an item from the list&#x27;)&#xA;async def remove(ctx, number):&#xA;    global queue&#xA;&#xA;    try:&#xA;        del(queue[int(number)])&#xA;        await ctx.send(f&#x27;Your queue is now `{queue}!`&#x27;)&#xA;&#xA;    except:&#xA;        await ctx.send(&#x27;Your queue is either **empty** or the index is **out of range**&#x27;)&#xA;&#xA;#play&#xA;@client.command(name=&#x27;play&#x27;, help=&#x27;This command plays songs&#x27;)&#xA;async def play(ctx):&#xA;    global queue&#xA;&#xA;    server = ctx.message.guild&#xA;    voice_channel = server.voice_client&#xA;&#xA;    async with ctx.typing():&#xA;        player = await YTDLSource.from_url(queue[0], loop=client.loop)&#xA;        voice_channel.play(player, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;&#xA;    await ctx.send(&#x27;**Now playing:** {}&#x27;.format(player.title))&#xA;    del(queue[0])&#xA;&#xA;#pause&#xA;@client.command(name=&#x27;pause&#x27;, help=&#x27;This command pauses the song&#x27;)&#xA;async def pause(ctx):&#xA;    server = ctx.message.guild&#xA;    voice_channel = server.voice_client&#xA;&#xA;    voice_channel.pause()&#xA;&#xA;#resune&#xA;@client.command(name=&#x27;resume&#x27;, help=&#x27;This command resumes the song!&#x27;)&#xA;async def resume(ctx):&#xA;    server = ctx.message.guild&#xA;    voice_channel = server.voice_client&#xA;&#xA;    voice_channel.resume()&#xA;&#xA;#viow&#xA;@client.command(name=&#x27;view&#x27;, help=&#x27;This command shows the queue&#x27;)&#xA;async def view(ctx):&#xA;    await ctx.send(f&#x27;Your queue is now `{queue}!`&#x27;)&#xA;&#xA;#leave&#xA;@client.command(name=&#x27;leave&#x27;, help=&#x27;This command stops makes the bot leave the voice channel&#x27;)&#xA;async def leave(ctx):&#xA;    voice_client = ctx.message.guild.voice_client&#xA;    await voice_client.disconnect()&#xA;&#xA;#stop&#xA;@client.command(name=&#x27;stop&#x27;, help=&#x27;This command stops the song!&#x27;)&#xA;async def stop(ctx):&#xA;    server = ctx.message.guild&#xA;    voice_channel = server.voice_client&#xA;&#xA;    voice_channel.stop()&#xA;&#xA;@tasks.loop(seconds=20)&#xA;async def change_status():&#xA;    await client.change_presence(activity=discord.Game(choice(status)))&#xA;&#xA;client.run("my_secret")&#xA;

    &#xA;

  • lsws/input : Do not change transparency range.

    15 février 2020, par Carl Eugen Hoyos
    lsws/input : Do not change transparency range.
    

    Fixes ticket #8509.

    • [DH] libswscale/input.c
    • [DH] libswscale/version.h
    • [DH] tests/ref/fate/ffmpeg-filter_colorkey
    • [DH] tests/ref/fate/filter-overlay-dvdsub-2397
    • [DH] tests/ref/fate/filter-overlay_gbrap_gbrap
    • [DH] tests/ref/fate/filter-overlay_gbrp_gbrap
    • [DH] tests/ref/fate/filter-overlay_yuv420_yuva420
    • [DH] tests/ref/fate/filter-overlay_yuv422_yuva422
    • [DH] tests/ref/fate/filter-overlay_yuv444_yuva444
    • [DH] tests/ref/fate/filter-overlay_yuva420_yuva420
    • [DH] tests/ref/fate/filter-overlay_yuva422_yuva422
    • [DH] tests/ref/fate/filter-overlay_yuva444_yuva444