
Recherche avancée
Autres articles (43)
-
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. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8921)
-
How to Play Video using FFMpeg with Qt5 ?
24 mai 2013, par user2311434I have downloaded the ffmpeg libraries, include and dll from ffmpeg website for windows 32 bit system.
Until now i have gathered information that the below two headers are useful for playing videos, but actually I dont know.
libavcodec/avcodec.h
libavformat/avformat.h -
Discord Bot Audio wont play
13 décembre 2016, par DomIm trying to get a dicord bot to play a simple mp3 saved locally.
Ive followed
https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord
On how to authenticate my bot and used
https://izy521.gitbooks.io/discord-io/content/Methods/Handling_audio.html
for the code to follow. My bot joins the voice channel but will not play the mp3 file. I know it finds the file and have downloaded and pathed ffmpeg, but have no idea what else may be causing the issue. Any help with be appreciatedvar Discord = require('discord.io');
var Lame = require('lame');
var fs = require('fs');
var spawn = require('child_process').spawn;
var bot = new Discord.Client({
autorun: true,
token: "#"
});
var voiceChannelID = "#",
file = "Nonsense.mp3";
bot.on('ready', function() {
console.log(bot.username + " - (" + bot.id + ")");
bot.joinVoiceChannel(voiceChannelID, function(error, events) {
//Check to see if any errors happen while joining.
if (error) return console.error(error);
//Then get the audio context
bot.getAudioContext(voiceChannelID, function(error, stream) {
//Once again, check to see if any errors exist
if (error) return console.error(error);
//Create a stream to your file and pipe it to the stream
//Without {end: false}, it would close up the stream, so make sure to include that.
fs.createReadStream(file).pipe(stream, {end: false});
console.log(stream);
//The stream fires `done` when it's got nothing else to send to Discord.
stream.on('done', function() {
//Handle
});
});
});
}); -
Fail to play videos using ffplay in concat protocol
13 janvier 2017, par Jian GuoI was trying to play multiple videos online using ffplay with
concat
protocol. According to the Documentation I tried this command in my terminal :ffplay -safe 0 -protocol_whitelist file,http,https,tcp,tls,concat concat:http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear1/prog_index.m3u8\|http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear2/prog_index.m3u8
But it fails to play those two videos :
Error when loading first segment 'concat:http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear1/prog_index.m3u8|http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear2/fileSequence0.ts'
concat:http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear1/prog_index.m3u8|http://devimages.apple.com.edgekey.net/streaming/examples/bipbop_4x3/gear2/prog_index.m3u8: Invalid data found when processing inputI searched the error for a while but found nothing helps. Any ideas ?