
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (74)
-
Liste des distributions compatibles
26 avril 2011, parLe tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...) -
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 (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (6509)
-
Error when trying to play MP3 in discord VC
27 mars 2019, par QueenInTheNorthI am encountering an error when my discord bot is trying to play an MP3 file in a Voice channel.
My code :
if(message.member.voiceChannel){
const connection = await message.member.voiceChannel.join();
const dispatcher = connection.playFile('./resources/shamebell.mp3');
dispatcher.on('finish', () => {
console.log('Finished playing!');
});
dispatcher.destroy(); // end the stream
}The bot encounters an error when trying to play the MP3 file. It joins the Voice Channel that the user is in just fine. The bot should join the VC, play the MP3 file then leave afterwards.
Error in dispatcher :
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string
I have tried using both the absolute path as well as the relative path to the MP3. FFMPEG is installed and windows PATH set as well as NPM installed "ffmpeg-binaries" : "^3.2.2-3".
Swapping from
connection.playFile('./resources/shamebell.mp3');
toconnection.play('./resources/shamebell.mp3');
Gives the errorconnection.play is not a function
at line 14:43Any help on resolving this issue will be appreciated :)
-
how to play edited videos in mpv [closed]
19 avril 2021, par Eswar THow to play edited videos (before exporting them) like how we can play in ffplay like here an example in ffplay so can we also play them using MPV if yes please convert this command thank you


ffplay -i 1.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30) 



and using a playlist how can we play multiple edited files like


ffplay -i 1.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30) && ffplay -i 2.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30)



-
Discord api, bot play audio but i can't hear it
5 novembre 2023, par BigMautoneJust for fun, i'm trying to make a discord bot with python to play music from youtube. I've implemented some basic function and the bot seems to work fine,except that, once I enter the voice channel, the icon lights up and seems to play audio but I can't hear it.


This is the code that I'm calling from the discord command :


@commands.command(name='play')
 async def play(self, ctx, link):
 try:
 await ctx.invoke(self.connect)
 server = ctx.message.guild
 voice_channel = server.voice_client

 async with ctx.typing():
 link_info = await YTManager.yt_search(link)
 filename = link_info['filename']
 stream = link_info['stream_url']
 try:
 voice_channel.play(discord.FFmpegPCMAudio(source=stream, **ffmpeg_settings))
 voice_channel.source.volume = 1
 except Exception as e:
 pprint(f"error: {e}")

 await ctx.send('**Now playing:** {}'.format(filename))
 except:
 await ctx.send("The bot is not connected to a voice channel.")



Ffmpeg is ok, i've added the bin folder to path and I don't get any error in the console.
What could be the problem ?