Recherche avancée

Médias (91)

Autres articles (93)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • 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

Sur d’autres sites (12024)

  • Next drawtext clears the previous one ffmpeg

    27 août 2021, par Макс Шульдинер
    ffmpeg.exe -i ffmpeg_inputs/zheltiy_chelik.mp4  -vf "[in]drawtext=fonts/Temporarium.otf:text='r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+0:y=0:enable='between(t,0, 11)', drawtext =fonts/Temporarium.otf:text = 'r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+20:y=0:enable='between(t,11, 22)', drawtext =fonts/Temporarium.otf:text = 'r':fontcolor=orange:fontsize=100:x=(w-text_w)/2+40:y=0:enable='between(t,22, 33)'[out]" ffmpeg_outputs/test2.mp4 -y 


    


    There is such a ffmpeg line. Its meaning is to draw a letter 20 pixels to the right of the current position of the word every 11 seconds, and in this way "write the word". But here's the problem - when the second letter starts to render, it overwrites the first, and the third, respectively, overwrites the second. The string seems to have prescribed [in] and [out] but does not help, maybe someone has ideas

    


  • Program not working as expected on DigitalOcean Ubuntu

    22 mai 2022, par Stardust

    Currently, I am writing a discord bot on python and tried to put it on my droplet of Digital Ocean to make it run 24/7 ; however, my play method and radio method will not produce sound in the environment. When I tested on my local python interpreter everything works fine but the statement seems to have no effect when it was run on the server.

    


        @commands.command(name="radio")
    async def radio(self, ctx, url: str = 'https://listen.moe/fallback'):
    print("radio received!")
    channel = ctx.message.author.voice.channel
    self.is_radio = True
    try:
        self.vc = await channel.connect()

    except Exception:
        pass
    if self.vc is None:
        await ctx.send("Sorry but I cannot find where are you...")
    else:
        await ctx.send("Take a look at this! Hope you will like it~")
        self.vc.play(FFmpegPCMAudio('https://listen.moe/fallback'))


    


    I uses the ubuntu provided by the Digital Ocean droplet, and uses git clone to copy the file into the server, then uses python3 main.py to run the code.

    


  • Anomalie #4209 : Les critères {pagination} et {a,b} sont dans un bâteau

    30 octobre 2018, par tcharlss (*´_ゝ`)

    Un exemple concret : un squelette à inclure qui liste des articles, par défaut avec pagination et sans limite du nombre de résultats (en trichant un peu).

    Il est inclus dans plusieurs pages : sur certaines j’ai besoin d’une pagination différente, sur d’autres j’ai besoin de limiter le nombre de résultats.

    liste/articles, pagination=20}>


    liste/articles, nb=10}>