
Recherche avancée
Autres articles (96)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11762)
-
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
});
});
});
}); -
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 -
How to play multiple video on top of each other with ffmpeg c programming
13 septembre 2016, par Tom GoldbergI’m trying to develop a code which can plays multiple videos simultaneously with ffmpeg.
I need to play a video on a 2x2 matrix background and another video in the top left corner of it.
Problem : The top left corner video is flicking and not stable enough.
top-left video is flicking while playing
code :SDL_Surface *screen = SDL_SetVideoMode(640, 480, 24, 0);
void video_display(VideoState *is) {
SDL_Rect rect;
VideoPicture *vp;
int w, h, x, y;
h = screen->h;
w = ((int)rint(h * aspect_ratio)) ;
if(w > screen->w) {
w = screen->w;
h = ((int)rint(w / aspect_ratio)) ;
}
rect.x = (screen->w - w) / 2;
rect.y = (screen->h - h) / 2;
if( is->video_id == 0 ){
rect.w = w;
rect.h = h;
SDL_DisplayYUVOverlay(vp->bmp, &rect); // i think the problem is over here
}
else if( is->video_id == 1 ){
rect.w = w/2;
rect.h = h/2;
SDL_DisplayYUVOverlay(vp->bmp, &rect);
}When i choose 0/1, i move between audio only.
My question is : What should i code in order to make the top-left video stable to view ?