Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (79)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (12019)

  • My discord bot did work on local, but didn't work on heroku

    26 juillet 2022, par PeeP

    I depoly my discord bot on Heroku.
My bot sings normally when running on local,
If I run it on Heroku, the song will not play.
Full code is here

    


    @commands.command(name ="play")
    async def play_music(self, ctx, *keywords):
        if ctx.voice_client is None: 
            if ctx.author.voice:
                await ctx.author.voice.channel.connect()
            else:
                embed = discord.Embed(title = 'erro', description = "use after enter the channel 🤔", color = discord.Color.red())
                await ctx.send(embed=embed)
                raise commands.CommandError("Author not connected to a voice channel.")
        elif ctx.voice_client.is_playing():
            ctx.voice_client.stop()
        
        keyword = ' '.join(keywords)
        url = getUrl(keyword)
        await ctx.send(url)
        embed = discord.Embed(title = 'play', description = 'getting ready to play the song! 😎' , color = discord.Color.red())
        await ctx.send(embed=embed)


    


    It works up to the top code, but it doesn't seem to work on the bottom code.

    


            data = self.DL.extract_info(url, download = False)
        link = data['url']
        title = data['title']

        ffmpeg_options = {
            'options': '-vn',
            "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5"
        }
        player = discord.FFmpegPCMAudio(link, **ffmpeg_options, executable = "./ffmpeg/bin/ffmpeg.exe")
        ctx.voice_client.play(player)
        
        embed = discord.Embed(title = 'play', description = f'{title} start play! 🐥' , color = discord.Color.blue())
        await ctx.send(embed=embed)


    


    My heroku Buildpacks

    


    heroku/python
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
https://github.com/xrisk/heroku-opus
https://github.com/heroku/heroku-buildpack-apt.git
https://github.com/heroku/heroku-buildpack-apt
https://github.com/kitcast/buildpack-ffmpeg.git
https://github.com/codeinteger6/heroku-buildpack-libopus.git
https://github.com/heroku/heroku-buildpack-apt.git


    


    requirements.txt

    


    discord.py
discord.py[voice]
asyncio
openpyxl
youtube_dl
requests
ffmpeg
PyNaCl
wheel
websockets==6.0
gtts
PyGithub
pyssml
gspread
oauth2client
PyOpenSSL
boto3


    


    Aptfile

    


    git
libopus0
libopus-dev
libssl-dev
libffi-dev
libsodium-dev


    


    I really wanna know my problems.
Thank you.

    


  • What do these FFmpeg APNG encoder prediction methods mean ?

    15 septembre 2021, par Nicke Manarin

    By running ffmpeg -h encoder=apng, I get this :

    


    APNG encoder AVOptions:&#xA;  -dpi               <int>        E..V..... Set image resolution (in dots per inch) (from 0 to 65536) (default 0)&#xA;  -dpm               <int>        E..V..... Set image resolution (in dots per meter) (from 0 to 65536) (default 0)&#xA;  -pred              <int>        E..V..... Prediction method (from 0 to 5) (default none)&#xA;     none                         E..V.....&#xA;     sub                          E..V.....&#xA;     up                           E..V.....&#xA;     avg                          E..V.....&#xA;     paeth                        E..V.....&#xA;     mixed                        E..V.....&#xA;</int></int></int>

    &#xA;

    What are the differences among these prediction methods specified with -pred ?

    &#xA;

    I could not find any documentation on ffmpeg.org or anywhere else.

    &#xA;

  • Revision 1d60b6bcb5 : Merge "Replace as_mv struct with array" into experimental

    12 février 2013, par John Koleszar

    Changed Paths : Modify /vp9/common/vp9_blockd.h Modify /vp9/decoder/vp9_decodemv.c Modify /vp9/encoder/vp9_rdopt.c Merge "Replace as_mv struct with array" into experimental