
Recherche avancée
Autres articles (106)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (14556)
-
discord.errors.ClientException : C :/ffmpeg/bin/ffmpeg was not found
31 octobre 2020, par OutStrikeI'm trying to create a music bot for my discord. All I want right now is for my discord bot to play a music clip. I've found no solutions at all.


@commands.command()
async def play(self, ctx, url):
 channel = ctx.author.voice.channel
 channel = await channel.connect()
 guild = ctx.guild
 voice_client: discord.VoiceClient = discord.utils.get(self.bot.voice_clients, guild=guild)
 audio_source = discord.FFmpegPCMAudio(executable="C:/ffmpeg/bin/ffmpeg", source="alex_sus.mp3")
 if not voice_client.is_playing():
 voice_client.play(audio_source, after=None)



This is exactly my code but I get the error :


discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientException: C:/ffmpeg/bin/ffmpeg was not found.



The file is most definitely in the location I specified and I put ffmpeg into my env path. I've followed every instruction when installing ffmpeg, but nothing I do works. I just want to note that ffmpeg is on my C drive, while the code is on my D drive. Idk if this makes a difference or not.


-
discord.py 0pusError:Invalid Argument M1 Pro Macbook
16 juin 2022, par xuo

Traceback (most recent call last):
 File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
 ret = await coro(*args, **kwargs)
 File "/Users/xuo/Desktop/coding stuff/musicbot/music.py", line 158, in play
 await self.play_song(ctx, song) #involes player
 File "/Users/xuo/Desktop/coding stuff/musicbot/music.py", line 47, in play_song
 ctx.voice_client.play(discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(url)), after=lambda error: self.bot.loop.create_task(self.check_queue(ctx)))
 File "/opt/homebrew/lib/python3.9/site-packages/discord/voice_client.py", line 564, in play
 self.encoder = opus.Encoder()
 File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 290, in __init__
 self.set_bitrate(128)
 File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 308, in set_bitrate
 _lib.opus_encoder_ctl(self._state, CTL_SET_BITRATE, kbps * 1024)
 File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 92, in _err_lt
 raise OpusError(result)
discord.opus.OpusError: invalid argument

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
 File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
 await ctx.command.invoke(ctx)
 File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
 await injected(*ctx.args, **ctx.kwargs)
 File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
 raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: OpusError: invalid argument



-
FFmpeg similar command get difference result about the video duration
13 juin 2019, par ahxbdtawhen I use this cmd
ffmpeg -i video.mp4 -i music.mp3 -c:v copy -shortest outg.mp4
ffmpeg -i outg.mp4 2>&1 | grep DurationI get
Duration: 00:00:23.13, start: 0.000000, bitrate: 805 kb/s
but when i use
ffmpeg -i video.mp4 -i music.mp3 -shortest outg.mp4
ffmpeg -i outg.mp4 2>&1 | grep DurationI get
Duration: 00:00:23.15, start: 0.000000, bitrate: 780 kb/s
why the duration is different ?