
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (71)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 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 les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (11701)
-
Using Python to make a terminal-based YouTube audio streamer
11 août 2015, par Tyson BerryI want to make a terminal-based program that streams YouTube audio for easy listening to music. I’m aware that I’d have to use a converter like ffmpeg to extract the mp3 audio and an audio player like Foobar2000, I’m just unsure how to make it all work together.
I have an idea for commands etc which is here. (Excuse my crude use of MS Paint)
As you can see yap (YouTube Audio Player, a working title) is the command used in front of a YouTube URL to tell the program what video to fetch. It then fetches the title of the video from the YouTube page’s source, which is listed in a text file on the desktop along with the URL. The song is then loaded and played through the audio player which is displayed in the terminal using the song time. When the song has ended, you can see the user has typed list. List opens up the list on the desktop, which displays all the songs previously entered in the program. The user can then select a number and play the corresponding song from the list.
I have found this, which is outdated yet relevant.
-
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.


-
ffmpeg get the audio stream from mp4 and send it to speech recognition
12 juillet 2013, par user1896859I have few .mp4 video files in which at the start of each video file there is a word, I want to load these files get the audio check what is the spoken word and rename the file accordingly.
Currently what i am doing is, converting all the mp4 files to wav and then sending the to speech recognition and then doing the renaming stuff.
Is there a way to cut short the "converting to wav" part out and directly send the mp4 audio stream to speech recognition ??
Thanks,