Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (51)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7725)

  • Discord.py, ffmpeg and pytube to play audio, but it keeps stopping early. Why ? [closed]

    15 septembre 2023, par LowEloTV

    I tried to program a discord,py bot to play audio, but the audio kept cutting out in the middle.

    


    @bot.command()
async def play(ctx, url: str):
    global ffmpeg_executable
    if discord.utils.get(ctx.guild.roles, name='music'):
        role = discord.utils.get(ctx.guild.roles, name='music')
        if role in ctx.author.roles:
            voice_client = ctx.voice_client


            if voice_client is None:
                channel = ctx.author.voice.channel
                voice_client = await channel.connect()
                print("Bot joined voice channel successfully.")


            try:
                # Fetch the audio stream URL using pytube
                yt = YouTube(url)
                audio_stream = yt.streams.filter(only_audio=True).first()


                # Play the audio stream using the VoiceProtocol
                if voice_client.is_playing():
                    voice_client.stop()
                voice_client.play(discord.FFmpegPCMAudio(audio_stream.url, executable=ffmpeg_executable))
            except Exception as e:
                await ctx.reply(f"An error occurred: {str(e)}")
        else:
            await ctx.reply('You don\'t have the permission for this command!')
    else:
        await ctx.reply('This Feature is not available on this guild, ask an Admin to add it!')




    


    I tried to program a discord,py bot to play audio, but the audio kept cutting out in the middle.

    


  • aarch64 : NEON asm for 8x16c intra prediction

    13 août 2014, par Janne Grunau
    aarch64 : NEON asm for 8x16c intra prediction
    

    Between 10% and 40% faster than C.

    • [DH] common/aarch64/predict-a.S
    • [DH] common/aarch64/predict-c.c
    • [DH] common/aarch64/predict.h
    • [DH] common/pixel.c
    • [DH] common/predict.c
  • avcodec/vvc : Add aarch64 neon optimization for ALF

    15 juillet 2024, par Zhao Zhili
    avcodec/vvc : Add aarch64 neon optimization for ALF
    

    vvc_alf_filter_chroma_4x4_8_c : 3.0
    vvc_alf_filter_chroma_4x4_8_neon : 1.0
    vvc_alf_filter_chroma_4x4_10_c : 2.7
    vvc_alf_filter_chroma_4x4_10_neon : 1.0
    vvc_alf_filter_chroma_4x4_12_c : 2.7
    vvc_alf_filter_chroma_4x4_12_neon : 1.0
    vvc_alf_filter_chroma_8x8_8_c : 10.2
    vvc_alf_filter_chroma_8x8_8_neon : 3.0
    vvc_alf_filter_chroma_8x8_10_c : 10.0
    vvc_alf_filter_chroma_8x8_10_neon : 2.5
    vvc_alf_filter_chroma_8x8_12_c : 10.0
    vvc_alf_filter_chroma_8x8_12_neon : 2.5
    vvc_alf_filter_chroma_16x16_8_c : 41.7
    vvc_alf_filter_chroma_16x16_8_neon : 11.2
    vvc_alf_filter_chroma_16x16_10_c : 39.0
    vvc_alf_filter_chroma_16x16_10_neon : 10.0
    vvc_alf_filter_chroma_16x16_12_c : 40.2
    vvc_alf_filter_chroma_16x16_12_neon : 10.2
    vvc_alf_filter_chroma_32x32_8_c : 162.0
    vvc_alf_filter_chroma_32x32_8_neon : 45.0
    vvc_alf_filter_chroma_32x32_10_c : 155.5
    vvc_alf_filter_chroma_32x32_10_neon : 39.5
    vvc_alf_filter_chroma_32x32_12_c : 155.5
    vvc_alf_filter_chroma_32x32_12_neon : 40.0
    vvc_alf_filter_chroma_64x64_8_c : 646.0
    vvc_alf_filter_chroma_64x64_8_neon : 175.5
    vvc_alf_filter_chroma_64x64_10_c : 708.2
    vvc_alf_filter_chroma_64x64_10_neon : 166.7
    vvc_alf_filter_chroma_64x64_12_c : 619.2
    vvc_alf_filter_chroma_64x64_12_neon : 157.2
    vvc_alf_filter_chroma_128x128_8_c : 2611.5
    vvc_alf_filter_chroma_128x128_8_neon : 698.2
    vvc_alf_filter_chroma_128x128_10_c : 2470.0
    vvc_alf_filter_chroma_128x128_10_neon : 616.0
    vvc_alf_filter_chroma_128x128_12_c : 2531.5
    vvc_alf_filter_chroma_128x128_12_neon : 620.2
    vvc_alf_filter_luma_8x8_8_c : 25.2
    vvc_alf_filter_luma_8x8_8_neon : 4.2
    vvc_alf_filter_luma_8x8_10_c : 18.5
    vvc_alf_filter_luma_8x8_10_neon : 4.0
    vvc_alf_filter_luma_8x8_12_c : 19.0
    vvc_alf_filter_luma_8x8_12_neon : 4.0
    vvc_alf_filter_luma_16x16_8_c : 106.5
    vvc_alf_filter_luma_16x16_8_neon : 16.2
    vvc_alf_filter_luma_16x16_10_c : 75.2
    vvc_alf_filter_luma_16x16_10_neon : 14.7
    vvc_alf_filter_luma_16x16_12_c : 79.7
    vvc_alf_filter_luma_16x16_12_neon : 14.7
    vvc_alf_filter_luma_32x32_8_c : 400.5
    vvc_alf_filter_luma_32x32_8_neon : 63.2
    vvc_alf_filter_luma_32x32_10_c : 299.2
    vvc_alf_filter_luma_32x32_10_neon : 57.7
    vvc_alf_filter_luma_32x32_12_c : 299.2
    vvc_alf_filter_luma_32x32_12_neon : 57.7
    vvc_alf_filter_luma_64x64_8_c : 1602.5
    vvc_alf_filter_luma_64x64_8_neon : 251.7
    vvc_alf_filter_luma_64x64_10_c : 1197.0
    vvc_alf_filter_luma_64x64_10_neon : 235.5
    vvc_alf_filter_luma_64x64_12_c : 1220.2
    vvc_alf_filter_luma_64x64_12_neon : 235.7
    vvc_alf_filter_luma_128x128_8_c : 6570.2
    vvc_alf_filter_luma_128x128_8_neon : 1007.7
    vvc_alf_filter_luma_128x128_10_c : 4822.7
    vvc_alf_filter_luma_128x128_10_neon : 936.2
    vvc_alf_filter_luma_128x128_12_c : 4791.2
    vvc_alf_filter_luma_128x128_12_neon : 938.5

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavcodec/aarch64/vvc/Makefile
    • [DH] libavcodec/aarch64/vvc/alf.S
    • [DH] libavcodec/aarch64/vvc/alf_template.c
    • [DH] libavcodec/aarch64/vvc/dsp_init.c
    • [DH] libavcodec/vvc/dsp.c
    • [DH] libavcodec/vvc/dsp.h