Recherche avancée

Médias (91)

Autres articles (67)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11105)

  • How to get FFplay to stop looping last audio packet ?

    29 décembre 2020, par occvtech

    I'm trying to get FFplay to simply stop (pause) on the last image when playing through.

    



    The default behavior for FFplay appears to use the -loops perimeter, which causes the last audio packet to be looped - even though the image appears in a paused state.

    



    Is there a way to also stop playing audio on end of file ?

    


  • How to get FFplay to stop looping last audio packet ?

    2 juillet 2015, par occvtech

    I’m trying to get FFplay to simply stop (pause) on the last image when playing through.

    The default behavior for FFplay appears to use the -loops perimeter, which causes the last audio packet to be looped - even though the image appears in a paused state.

    Is there a way to also stop playing audio on end of file ?

  • My heroku music bot works fine if i launch it through my pc yet when i run it through heroku it doesn't work

    6 mars 2020, par Flii TV

    I have ffmpeg, youtube-dl installed, i have every requirement installed, it downloads the song renames it but then nothing happens !

    @client.command()
    async def play(ctx, *url: str):
       song_there = os.path.isfile("song.mp3")
       try:
           if song_there:
               os.remove("song.mp3")
               print("Removed old song file")
       except PermissionError:
           print("Trying to delete song file, but it's being played")
           await ctx.send("ERROR: Music playing")
           return

       await ctx.send("Getting everything ready now")

       voice =  get(client.voice_clients,  guild=ctx.guild)

       ydl_opts = {
           'format': 'bestaudio/best',
           'quiet': True,
           'outtmpl':"./song.mp3",
           'postprocessors': [{
               'key': 'FFmpegExtractAudio',
               'preferredcodec': 'mp3',
               'preferredquality': '192',
           }],
       }

       song_search = " ".join(url)

       with youtube_dl.YoutubeDL(ydl_opts) as ydl:
           print("Downloading audio now\n")
           ydl.download([f"ytsearch1:{song_search}"])

       for file in os.listdir("./"):
           if file.endswith(".mp3"):
               name = file
               print(f"Renamed File: {file}\n")
               os.rename(file, "song.mp3")

       voice.play(discord.FFmpegPCMAudio("song.mp3"), after=lambda e: print(f"{name} has finished playing"))
       voice.source = discord.PCMVolumeTransformer(voice.source)
       voice.source.volume = 0.10

       nname = name.rsplit("-", 2)
       await ctx.send(f"Currently playing: {nname}")
       print("playing\n")