
Recherche avancée
Autres articles (73)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (5493)
-
Music discord js bot issue
12 mars 2019, par Eric SimDoes anyone know how I would go about resolving this error ?
My Discord.JS music bot would just simply crashes when trying to play some old songs. The Discord.JS bot is currently being hosted on herokuapp.
19-03-12T15:08:08.576483+00:00 app[worker.1]: /app/node_modules/ytdl-core-discord/node_modules/prism-media/src/core/FFmpeg.js:41
2019-03-12T15:08:08.576496+00:00 app[worker.1]: this._readableState = this._reader._readableState;
2019-03-12T15:08:08.576499+00:00 app[worker.1]: ^
2019-03-12T15:08:08.576501+00:00 app[worker.1]:
2019-03-12T15:08:08.576502+00:00 app[worker.1]: TypeError: Cannot read property '_readableState' of undefined
2019-03-12T15:08:08.576504+00:00 app[worker.1]: at new FFmpeg (/app/node_modules/ytdl-core-discord/node_modules/prism-media/src/core/FFmpeg.js:41:40)
2019-03-12T15:08:08.576506+00:00 app[worker.1]: at ytdl.getInfo (/app/node_modules/ytdl-core-discord/index.js:23:24)
2019-03-12T15:08:08.576508+00:00 app[worker.1]: at fn (/app/node_modules/ytdl-core/lib/info.js:365:9)
2019-03-12T15:08:08.576510+00:00 app[worker.1]: at util.parallel (/app/node_modules/ytdl-core/lib/info.js:232:11)
2019-03-12T15:08:08.576511+00:00 app[worker.1]: at checkDone (/app/node_modules/ytdl-core/lib/util.js:405:7)
2019-03-12T15:08:08.576513+00:00 app[worker.1]: at SAXParser.parser.onend (/app/node_modules/ytdl-core/lib/info.js:288:26)
2019-03-12T15:08:08.576515+00:00 app[worker.1]: at emit (/app/node_modules/sax/lib/sax.js:624:35)
2019-03-12T15:08:08.576517+00:00 app[worker.1]: at end (/app/node_modules/sax/lib/sax.js:667:5)
2019-03-12T15:08:08.576519+00:00 app[worker.1]: at SAXParser.write (/app/node_modules/sax/lib/sax.js:975:14)
2019-03-12T15:08:08.576520+00:00 app[worker.1]: at SAXParser.close (/app/node_modules/sax/lib/sax.js:157:38) -
how to fade in and out background music when speech play and fade out audio at the end and mix them together using ffmpeg
3 avril 2019, par Harshil DholakiyaI am using below command in my project to mix background music with my speech audio and background music slow down volume level when speech play :
ffmpeg -y -i speech.mp3 -stream_loop -1 -i music.mp3 -filter_complex "[0:a]asplit=2[sc][mix];[1:a][sc]sidechaincompress=threshold=0.01:ratio=5[bg];[mix][bg]amix=inputs=2:duration=first:dropout_transition=0[final]" -map [final] finalAudio.mp3
i want to add this two filter to audio :
1) Fade-in effect to background music for 1.5 sec when speech arrive and fade-out effect when speech is finish for 1.5 sec. speech.mp3 has more than one speech and silence in between speech.
2) Fade out effect at the end of audio for 1.5 sec.
can anyone help me to achieve both of above filter using ffmpeg with my above command ?
-
My own music bot randomly stops when playing a song, no errors, just like the song has ended
18 avril 2019, par StasioI made a discord music bot but there is one problem :
When i play something it works perfectly for a moment but then sometimes music ends in the middle of the song just like the song has ended.
When there are some songs in queue and this bug happens the bot starts playing another song from the queue. Im using ffmpeg, ytdl-core, simple-youtube-api,
opusscript. What do u guys think about it ? I don’t think that this problem is caused by my code cuz this error happens randomly, sometimes 3 songs in a row are played normaly and sometimes it crashes in the middle of the 1 song, so he starts playing the next song in queue.const arg = msg.content.split(' ');
const searchString = arg.slice(1).join(' ');
const url = arg[1] ? arg[1].replace(/<(.+)>/g, '$1') : '';
const serverQueue = queue.get(msg.guild.id);
let command = msg.content.toLowerCase().split(' ')[0];
command = command.slice(PREFIX.length)
if (command === 'play' || command === 'p') {
msg.delete()
const voiceChannel = msg.member.voiceChannel;
let emoji = msg.guild.emojis.find(x => x.name === "2Head")
if (!voiceChannel) return msg.channel.send('Nie jesteś nawet na kanale głosowym zjebie ' + emoji);
const permissions = voiceChannel.permissionsFor(msg.client.user);
if (!permissions.has('CONNECT')) {
return msg.channel.send('Nie mam permisji zeby sie polaczyc ;/');
}
if (!permissions.has('SPEAK')) {
return msg.channel.send('Nie moge mowic odmutujcie mnie : )');
}
if (url.match(/^https?:\/\/(www.youtube.com|youtube.com)\/playlist(.*)$/)) {
const playlist = await youtube.getPlaylist(url);
const videos = await playlist.getVideos();
for (const video of Object.values(videos)) {
const video2 = await youtube.getVideoByID(video.id);
await handleVideo(video2, msg, voiceChannel, true);
}
return msg.channel.send(`✅ Playlist: **${playlist.title}** has been added to the queue!`);
} else {
try {
var video = await youtube.getVideo(url);
} catch (error) {
try {
var videos = await youtube.searchVideos(searchString, 1);
var video = await youtube.getVideoByID(videos[0].id);
} catch (err) {
console.error(err);
let emoji = msg.guild.emojis.find(x => x.name === "autism")
return msg.channel.send('Nie ma takiego filmu na całym youtubie ' + emoji );
}
}
return handleVideo(video, msg, voiceChannel);
}
}