
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (99)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (10234)
-
My discord bot did work on local, but didn't work on heroku
26 juillet 2022, par PeePI depoly my discord bot on Heroku.
My bot sings normally when running on local,
If I run it on Heroku, the song will not play.
Full code is here


@commands.command(name ="play")
 async def play_music(self, ctx, *keywords):
 if ctx.voice_client is None: 
 if ctx.author.voice:
 await ctx.author.voice.channel.connect()
 else:
 embed = discord.Embed(title = 'erro', description = "use after enter the channel 🤔", color = discord.Color.red())
 await ctx.send(embed=embed)
 raise commands.CommandError("Author not connected to a voice channel.")
 elif ctx.voice_client.is_playing():
 ctx.voice_client.stop()
 
 keyword = ' '.join(keywords)
 url = getUrl(keyword)
 await ctx.send(url)
 embed = discord.Embed(title = 'play', description = 'getting ready to play the song! 😎' , color = discord.Color.red())
 await ctx.send(embed=embed)



It works up to the top code, but it doesn't seem to work on the bottom code.


data = self.DL.extract_info(url, download = False)
 link = data['url']
 title = data['title']

 ffmpeg_options = {
 'options': '-vn',
 "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5"
 }
 player = discord.FFmpegPCMAudio(link, **ffmpeg_options, executable = "./ffmpeg/bin/ffmpeg.exe")
 ctx.voice_client.play(player)
 
 embed = discord.Embed(title = 'play', description = f'{title} start play! 🐥' , color = discord.Color.blue())
 await ctx.send(embed=embed)



My heroku Buildpacks


heroku/python
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
https://github.com/xrisk/heroku-opus
https://github.com/heroku/heroku-buildpack-apt.git
https://github.com/heroku/heroku-buildpack-apt
https://github.com/kitcast/buildpack-ffmpeg.git
https://github.com/codeinteger6/heroku-buildpack-libopus.git
https://github.com/heroku/heroku-buildpack-apt.git



requirements.txt


discord.py
discord.py[voice]
asyncio
openpyxl
youtube_dl
requests
ffmpeg
PyNaCl
wheel
websockets==6.0
gtts
PyGithub
pyssml
gspread
oauth2client
PyOpenSSL
boto3



Aptfile


git
libopus0
libopus-dev
libssl-dev
libffi-dev
libsodium-dev



I really wanna know my problems.
Thank you.


-
avcodec/cbs : Use put_bits63()
18 avril, par Andreas Rheinhardtavcodec/cbs : Use put_bits63()
It is better when BUF_BITS == 64 (i.e. on x64), because
the underlying put_bits can then handle 0..63 bits naturally.
It does not worsen the code when BUF_BITS != 64, because
the compiler can optimize this to the same code as now
(due to the assert).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avformat/mov : ignore old infe box versions
13 avril 2024, par James Almeravformat/mov : ignore old infe box versions
Some files with no image items have them, and were working prior to the recent
HEIF parsing overhaul.
Ignore such boxes instead, to recover the old behavior.Fixes a regression since d9fed9df2a9e70c9375d3b2591db35c09303d369.
Tested-by : Wu Jianhua <toqsxw@outlook.com>
Signed-off-by : James Almer <jamrial@gmail.com>