Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13597)

  • pngdec : Stop trying to decode once inflate returns Z_STREAM_END

    28 septembre 2013, par Martin Storsjö
    pngdec : Stop trying to decode once inflate returns Z_STREAM_END
    

    If the input buffer contains more data after the deflate stream,
    the loop previously left running infinitely, with inflate returning
    Z_STREAM_END.

    Reported-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC : libav-stable@libav.org
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/pngdec.c
  • Code returns AttributeError : 'VoiceChannel' object has no attribute 'play' when running on Discloud

    18 septembre 2023, par Sc4rl3ttfir3

    So, my code works fine when I run it locally, but even after adapting it to run on Discloud, it returns an error I can't solve.

    &#xA;

    Code :

    &#xA;

    @bot.command(name=&#x27;play&#x27;, help=&#x27;To play song&#x27;)&#xA;async def play(ctx, url):&#xA;    voice_channel = ctx.author.voice.channel&#xA;&#xA;    if voice_channel is None:&#xA;        return await ctx.send(&#x27;You are not connected to a voice channel.&#x27;)&#xA;&#xA;    async with ctx.typing():&#xA;        filename = await YTDLSource.from_url(url, loop=bot.loop)&#xA;        &#xA;        if ctx.voice_client is not None:&#xA;            ctx.voice_client.stop()&#xA;&#xA;        source = discord.FFmpegPCMAudio(&#xA;            executable="ffmpeg",&#xA;            source=filename&#xA;        )&#xA;        &#xA;        voice_channel.play(source)&#xA;&#xA;    await ctx.send(&#x27;**Now playing:** {}&#x27;.format(filename))&#xA;

    &#xA;

    When it runs on the Discloud server, it returns the following error/traceback message :

    &#xA;

    Traceback (most recent call last):&#xA;File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped&#xA;ret = await coro(*args, **kwargs)&#xA;^^^^^^^^^^^^^^^^^^^^^^^^^^^&#xA;File "/home/user_686208406444572830/Sc4rl3ttb0t.py", line 357, in play &#xA;voice_channel.play(source)&#xA;^^^^^^^^^^^^^^^^^^&#xA;AttributeError: &#x27;VoiceChannel&#x27; object has no attribute &#x27;play&#x27;&#xA;

    &#xA;

    Anybody with any idea of what is going wrong would be greatly appreciated for helping out

    &#xA;

  • lavf/http: handle case where the server returns a redirect during a seek

    13 avril 2015, par Rodger Combs
    lavf/http: handle case where the server returns a redirect during a seek
    

    txoffer (e.g. http://tori.aoi-chan.com/ ) redirects to the same URI on your
    first request, and serves the actual file on the second. It’s stupid, but AFAIK
    technically compliant. We’d previously see the server not handing back a Range
    header and return an error ; now, instead, we see that there’s a redirect and
    keep track of the offset we want while trying again at the new URL.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/http.c