
Recherche avancée
Autres articles (94)
-
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 ;
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (15621)
-
My bot doesn't play any music when hosted on Heroku
25 août 2022, par Lucas SilvaI am creating a music command, working great locally but not on Heroku. I have the following buildpacks :



This is my code :


@commands.command(name="musga", help="coloque um url da musica que deseja reproduzir!")
async def play(self, ctx, arg):
 global vc
 
 try:
 voice_channel = ctx.author.voice.channel
 vc = await voice_channel.connect()
 except:
 print('[ERROR]') #debug

 if vc.is_playing():
 await ctx.send(f'{ctx.author.mention}, Já estou cantando.')

 else:
 with YoutubeDL(self.YDL_OPTIONS) as ydl:
 info = ydl.extract_info(arg, download=False)
 
 URL = info['formats'][0]['url']

 vc.play(discord.FFmpegPCMAudio(executable="ffmpeg", source = URL, **self.FFMPEG_OPTIONS))
 
 while vc.is_playing():
 await sleep(1)



And requirements.txt :


discord.py[voice]
PyNaCL
youtube_dl
ffmpeg



When using the command, my bot joins the channel but doesn't play the music and doesn't print any traceback.


-
How to play video using FFMPEG library in Android ?
3 mai 2015, par MacchiatoI was able to build
ffmpeg
library by using rock player build script.Now I have this
.so
file, how do I play video ? And I want to display this video inside a smallLinearLayout
in myActivity
.Is it possible ?
Update :
I know that it’s easy to play video usingVideoView
orMediaPlayer
+SurfaceView
. I just wanted to understand more aboutffmpeg
library and how to display the frames inside an AndroidActivity
. -
How we use FFMPEG Library in android for play more then one audio file ?
29 novembre 2016, par Mob AppsI want to use FFMPEG library to play audio files and also want to record the output please help me.