
Recherche avancée
Autres articles (81)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (12108)
-
ffmpeg node js s3 stream screenshots qestion
20 octobre 2015, par user3564443On my Node js server I need get video from s3, generate thumbnail for it, set thumbnail to s3, without saving video or thumbnail on my server. So I need to use streams for this. For thumbnail generation I use fluent-ffmpeg.
Is it possible to get screenshots from streams using fluent-ffmpeg ?
Is the correct way to intercept s3 getObject stream, that there was no need to download full video ?
var config = require('../config');
var AWS = require('aws-sdk');
AWS.config.update({
accessKeyId: config.AWS_accessKeyId,
secretAccessKey: config.AWS_secretAccessKey,
region: 'eu-west-1'
});
var s3 = new AWS.S3();
var fs = require('fs');
var ffmpeg = require('fluent-ffmpeg');
exports.generateVideoThumbnail = function(fileId, url, done) {
var params = {
Bucket: config.AWS_bucket,
Key: url
};
var input = s3.getObject(params);
var stream = fs.createWriteStream('./screenshot.png');
return ffmpeg(input).screenshots({
timestamps: ['0.1', '0.2'],
size: '200x200'
}).output('./screenshot.png').output(stream).on('error', function(err) {
return done(err);
}).on('end', function() {
input.close();
var _key = "files/" + fileId + "/thumbnail.png";
return s3.putObject({
Bucket: config.AWS_bucket,
Key: _key,
Body: stream,
ContentType: 'image/jpeg'
}, function(err) {
return done(err);
});
});
}; -
checkasm : Implement helpers for defining and checking padded rects
21 mars, par Martin Storsjöcheckasm : Implement helpers for defining and checking padded rects
This backports similar functionality from dav1d, from commits
35d1d011fda4a92bcaf42d30ed137583b27d7f6d and
d130da9c315d5a1d3968d278bbee2238ad9051e7.This allows detecting writes out of bounds, on all 4 sides of
the intended destination rectangle.The bounds checking also can optionally allow small overwrites
(up to a specified alignment), while still checking for larger
overwrites past the intended allowed region.Signed-off-by : Martin Storsjö <martin@martin.st>
-
Anomalie #2024 (Nouveau) : langue des boutons d’admin
7 avril 2011, par jluc -Sur spip.net, depuis plusieurs années, le texte des boutons d’admin m’apparaît en espagnol alors que tous mes paramétrages (espace perso, navigateur etc) sont en français. Je me souviens qu’un habitué d’IRC constatait également ce même (...)