
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 (45)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (8467)
-
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
-
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.
-
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 ?