Recherche avancée

Médias (91)

Autres articles (71)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (3521)

  • FFmpeg : calculate time to convert images and .mp3 to a video

    6 avril 2013, par DomenK

    Is there any formula that I can use to calculate the time that FFmpeg uses to convert a single .jpg image and .mp3 song to a video ?

    I am using the following code :

    ffmpeg -loop 1 -r ntsc -i image.jpg -i song.mp3 -c:a copy -c:v libx264 \
      -preset fast -threads 0 -shortest
    

    Lets say we have an image with X resolution and .mp3 length of L. Would the formula be :

    time = X * L(in seconds) ?

    Thanks for any tips.

  • How to fix ClientException : ffmpeg was not found

    26 juin 2022, par ESIM dude

    So I have this play command here :

    


        @commands.command(name='play')
    async def play(self, ctx: commands.Context, *, search: str):

        if not ctx.voice_state.voice:
            await ctx.invoke(self.join)

        async with ctx.typing():
            try:
                source = await YTDLSource.create_source(ctx, search, loop=self.bot.loop)
            except YTDLError as e:
                await ctx.reply('An error occurred while processing this request: {}'.format(str(e)))
            else:
                song = Song(source)

                await ctx.voice_state.songs.put(song)
                await ctx.reply('Enqueued {}'.format(str(source)))


    


    And when I do !play disaster kslv, it says this error in the output :
An error occurred: Command raised an exception: ClientException: ffmpeg was not found.
Even though I have the C :\ffmpeg\bin in the path environmental variables, It still shows this error. Can someone help ?

    


  • Python / Discord FFMPEG playing not a audio

    19 août 2022, par F L R U Z

    I wanted to play an mp3 file in a voice channel, however, it gives me an error... I have already installed FFMPEG correctly on my computer.

    


    My Code :

    


    @bot.command()
async def joinandplay(ctx):
   song = os.path.isfile("musik.mp3")
   voice_channel = bot.get_channel(940326390857883648)
   vc = await voice_channel.connect()
   voice = discord.FFmpegPCMAudio(song)
   vc.play(voice)


    


    The error :

    


    AttributeError: 'FFmpegPCMAudio' object has no attribute '_process'