
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (78)
-
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 (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7995)
-
Python / Discord FFMPEG playing not a audio
19 août 2022, par F L R U ZI 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'



-
How to fix ClientException : ffmpeg was not found
26 juin 2022, par ESIM dudeSo 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 ?

-
FFmpeg : calculate time to convert images and .mp3 to a video
6 avril 2013, par DomenKIs 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.