Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (20)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6075)

  • is there a good library out there that will split a mp3 with php

    24 janvier 2012, par Tamer

    So i have an application takes a uploaded song and allows the user to purchase it. I would like to also create a 30 second clip that the user can preview, but rather then having the user upload two files I want the application to create the 30 second mp3 file based on the original mp3. I found this library which i am using like this

       $oSplit=new CMP3Split(DIR_DOWNLOAD ."Made_To_Love.mp3",243,DIR_DOWNLOAD ."clips/{$rndString}.mp3",30,0);

    but it seems to not always produce a 30 second clip

    and i also found this question which is using ffmpeg which i dont know how to use in a php setting.

    Any ideas or suggestions

  • 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.

    


  • ffmpeg add loop to this line of code i have

    5 juin 2020, par steve

    the code itself is working fine however the 2.mp3 finishes instead i will like it to just loop all the way keeping the current settings how it is as I am happy with it

    



    ffmpeg -i "C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4" -i "C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3" -filter_complex "[1:a]adelay=3000|60000[1a];[0:a][1a]amix" -vcodec copy -y "C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4"