
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (77)
-
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 (7490)
-
voiceclient.play(discord.FFmpegPCMAudio) doesn't play any audio
23 septembre 2021, par mm3239I'm trying to create a private music bot. It joined voice channel, but no sound came out and queue didn't worked. My play function is like this :


async def play_music(self):
 if len(self.music_queue) > 0:
 self.is_playing = True

 index = self.music_queue[0][0]['index']

 #connecting to voice channel
 if not self.vc.is_connected():
 self.vc = await self.music_queue[0][1].connect()
 else:
 await self.vc.move_to(self.music_queue[0][1])

 self.music_queue.pop(0)

 self.vc.play(discord.FFmpegPCMAudio(self.music_files[index], **self.FFMPEG_OPTIONS), after=lambda e: self.play_next())



When I execute the file, it should work like this :


Me: /play abc.mp3
Bot: Song added to queue.
*abc song plays in voice channel*
Me: /play def.mp3
Bot: Song added to queue.
Me: /play ghi.mp3
Bot: Song added to queue.

Me: /queue
Bot: def.mp3
 ghi.mp3



However, in reality, Discord :


Me: /play abc.mp3
Bot: Song added to queue.
*silence*
Me: /play def.mp3
Bot: Song added to queue.
Me: /play ghi.mp3
Bot: Song added to queue.

Me: /queue
Bot: No music in queue.



Console :


music found!
[[{'index': 2, 'title': 'abc.mp3'}, <voicechannel>]]
music found!
[[{'index': 0, 'title': 'def.mp3'}, <voicechannel>]]

music found!
[[{'index': 1, 'title': 'ghi.mp3'}, <voicechannel> position=5 bitrate=64000 user_limit=10 category_id=790202432072187909>]]
</voicechannel></voicechannel></voicechannel>


I can see something's wrong(abc and def prints shorter message in console, middle part of message is skipped), but as you can see, it doesn't raise any error or exception. Could anyone please help me correct my code ? I'm completely stuck, and it would be really appreciated if someone could tell me what the problem is.


-
Anyone can help me in installing FFMPEG to generate thumbnail from video file on virtual hosting
28 janvier 2016, par yuvraj thakurPlease help me in installing FFMPEG in virtual private hosting in Godaddy.
-
Use FFMpeg with pure php and shared hosting
29 octobre 2018, par tour travelSo I want to use FFMpeg library and found standalone PHP version, I used this before on Laravel and installed composer but now in this case, I am trying to install this library on a shared hosting, I just upload src folder and start with this :
<?php
$ffmpeg = FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => 'FFMpeg/FFMpeg.php',
'ffprobe.binaries' => 'FFMpeg/FFProbe.php',
'timeout' => 3600,
'ffmpeg.threads' => 12,
));
$video = $ffmpeg->open('video.mpg');
?>But got error :
PHP Fatal error : Uncaught Error : Class ’FFMpeg\FFMpeg’ not found
in...So how can I use
FFMpeg
on a shared hosting and install it manually (without composer)