Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (53)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (9219)

  • A Soundboard for Discord with Discord.py with already downloaded .mp3 files

    8 août 2019, par Kerberos Kev

    I’m setting up a discord bot with discord.py, and want to implement an soundboard.The soundboard should take already downloaded .mp3 files and play them in the discord. The bot already automatically joins and disconnects from a voice channel but does not play any of my sound files.

    I tried converting the mp3 file into an opus one and just play it without ffmpeg but this didn’t work either.

    import discord
    from discord.ext import commands
    from discord.utils import get
    from mutagen.mp3 import MP3
    import time
    import os

    client = commands.Bot(command_prefix='<')
    a = './'+'kurz-kacken.mp3'


    class Soundboard(commands.Cog):

       def __init__(self, client):
           self.client = self

       @commands.command(pass_context=True)
       async def soundboard(self, ctx, songname: str):
           channel = ctx.message.author.voice.channel
           voice = get(client.voice_clients, guild=ctx.guild)

           if voice and voice.is_connected():
               await voice.move_to(channel)
           else:
               voice = await channel.connect()

               print(f"The bot has connected to {channel}\n")

           # audio = MP3('./'+'kurz-kacken.mp3')
           # a = audio.info.length
           voice.play(discord.FFmpegPCMAudio('./'+'kurz-kacken.mp3'),
                      after=lambda e: print("Song done!"))
           voice.source = discord.PCMVolumeTransformer(voice.source)
           voice.source.volume = 0.07
           # time.sleep(a)
           await ctx.send(f'ended')

           if voice and voice.is_connected():
               await voice.disconnect()


    def setup(client):
       client.add_cog(Soundboard(client))
  • Thumbnails from S3 Videos using FFMPEG - "No such file or directory : '/bin/ffmpeg'"

    28 juin 2022, par Nico

    I am trying to generate thumbnails from videos in an S3 bucket every x frames by following this documentation : https://aws.amazon.com/blogs/media/processing-user-generated-content-using-aws-lambda-and-ffmpeg/

    


    I am at the point where I'm testing the Lambda code provided in the documentation, but receive this error in CloudWatch Logs :

    


    enter image description here

    


    Here is the portion of the Lambda code associated with this error :

    


    enter image description here

    


    Any help is appreciated. Thanks !

    


  • How we compressed videofile (all format) in android programmatically

    29 mars 2017, par prakash choudhary

    i am stuck with the funtionality for the compressed video before upload to the Amazon s3. i am looking functionality like the whatsup that compressed all the video of the gallery and camera after R&D i got FFmpeg library but that is increasing size of the app apk.Please there is any alternative t ? Any idea about this problem