
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (65)
-
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 (...) -
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 ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (8170)
-
Discord Music Bot No Playback Issue
6 août 2021, par KusunokiI'm trying to configure a discord music bot and my code is working (Other people have tried my code and it works perfectly on their side) but the problem is whenever the bot joins the voice channel, it doesn't play any music then it will queue the video but not play it then the bot will leave the channel.


The code also works on repl.it and I've tried it several times and it seems to be working fine. I'm running Windows 10 LTSC on my PC.


I've tried reinstalling the packages, trying the node.js v14 and 15, reinstalling ffmpeg and nothing seems to be working.


Code :


module.exports = {
 name: 'play',
 category: 'music',
 description: 'Play music from discord!',
 async execute(message, args, ytdl, ytSearch) {
 const voiceChannel = message.member.voice.channel;

 if (!voiceChannel) return message.channel.send("Connect to a music channel.");
 const userPermissions = voiceChannel.permissionsFor(message.client.user);
 if (!userPermissions.has('CONNECT')) return message.channel.send("You\'re not allowed to play music.");
 if (!userPermissions.has('SPEAK')) return message.channel.send("You\'re not allowed to play music.");

 const connection = await voiceChannel.join();
 const videoFinder = async (query) => {
 const videoResult = await ytSearch(query);
 return (videoResult.videos.length > 1) ? videoResult.videos[1] : null;
 }
 const video = await videoFinder(args.join(' '));
 if (video){
 const stream = ytdl(video.url, {filter: 'audioonly'});
 connection.play(stream, {seek: 0, volume: 1})
 .on('finish', () =>{
 voiceChannel.leave();
 console.error
 });

 await message.channel.send(`Now Playing: **${video.title}**.`);
 } else {
 message.channel.send('No results found.');
 }
 }
}



-
movenc : allow alternative hvc1 h.265 codec tag
15 juin 2017, par John Stebbinsmovenc : allow alternative hvc1 h.265 codec tag
If AVCodecParameters.codec_tag is 'hvc1' use it instead of 'hev1' for
h.265 streams. QuickTime (and other Apple software) requires 'hvc1'.(cherry picked from commit 84ab1cc437fa47a00532f305b9fe15b5b66c8c5e)
Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com> -
Mask dynamic logo using ffmpeg
27 mars 2018, par Francesco De PazziI am trying to detect and hide a logo that dynamically positioned in a video.
In this video the logo is positioned at the top and after a few minutes down etc.
it’s possible to detect every time the logo when it changes place and hide it with ffmpeg ?
I tried with delogo but I must tell the position x/y, so it is not possible in my case !
Thank you very much !