
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (33)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (5907)
-
Do I really have to go through the whole Facebook App Review process for a single user App ?
11 février 2019, par KOMsandFriendsI want to publish a live video on a Facebook page, using the Facebook API. I have developed a small Facebook "App", which starts a live video stream on a Facebook page and connects ffmpeg to it.
I need this for my own business. The only purpose of this is, to start and stop live video streams from an IP camera on Facebook from a headless server.
This is how I call the API in python to start a new live video stream :
def start(self):
p = {
"status":"LIVE_NOW",
"title":self.Title,
"description":self.Description,
"access_token":self.__token
}
r = requests.post( self.__url + self.__page_id + '/live_videos', pams=p)
if r.status_code == 200:
self.parseResponse(r.text)
return int(r.status_code)After that I immediately run ffmpeg with the stream key returned by this API call :
ffmpeg -i ... -f flv "rtmp://live-api-s.facebook.com:80/rtmp/$STREAMKEY"
This code works and the video appears on Facebook, but the video is only visible for me, even though it is shown as public in the Facebook web interface.
How can I change this ? Do I have to review an App, even though it is just for my own usage ?
-
How to create video with dynamic pictures like Facebook Friend's Day video
21 février 2019, par ViniciusHow to create a video with pictures from a user just like Facebook does with their Facebook Friend’s day video ?
Example : https://www.youtube.com/watch?v=mNWJ_XxfQfU
The intention is to generate this sort of video with images that a visitor will upload to a website. FFMPEG does support images animation but it seems that a bit of 3d animations like the above needs ages to be done with FFMPEG. I wonder if there is an alternative to FFMPEG that can generate this sort of animations, or maybe a software like After Effects that can either generate a template that can be used on ffmpeg (or any command line alternative) or has its own command-line interface that can be executed in a linux machine to do such thing.
Basically, the user would upload the pictures, the server would crop them to have the same size and then it would convert it to a video like the one mentioned above.
-
Live Video Facebook API with FFMPEG nodejs
8 mai 2019, par user3709908I have created Object Live Video as Facebook’s document.
"stream_url": "rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK
"I using https://github.com/fluent-ffmpeg/node-fluent-ffmpeg for stream but I failed.
Does anyone have solutions to stream video file (eg : mp4) to Object Video Facebook API ?
var ffmpeg = require('fluent-ffmpeg'),
fs = require('fs');
// open input stream
var infs = fs.createReadStream(__dirname + '/2.mp4');
infs.on('error', function(err) {
console.log(err);
});
var publish = "rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK";
// make sure you set the correct path to your video file
var proc = ffmpeg(infs)
.format('mp4')
.size('320x?')
.videoBitrate('512k')
.videoCodec('libx264')
.fps(24)
.audioBitrate('96k')
.audioCodec('aac')
.audioFrequency(22050)
.audioChannels(2)
// setup event handlers
.on('end', function() {
console.log('file has been converted succesfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
})
// save to stream
.save(publish); //end = true, close output stream after writingan error happened: ffmpeg exited with code 1: rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK: Operation not permitted