
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (106)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (7490)
-
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>
-
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);
});
});
}; -
lavd/v4l2 : detect device name truncation
25 novembre 2021, par Anton Khirnovlavd/v4l2 : detect device name truncation
Silences the following warning with gcc 10 :
src/libavdevice/v4l2.c : In function ‘v4l2_get_device_list’ :
src/libavdevice/v4l2.c:1042:64 : warning : ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=]
1042 | ret = snprintf(device_name, sizeof(device_name), "/dev/%s", entry->d_name) ;
| ^
src/libavdevice/v4l2.c:1042:15 : note : ‘snprintf’ output between 6 and 261 bytes into a destination of size 256
1042 | ret = snprintf(device_name, sizeof(device_name), "/dev/%s", entry->d_name) ;
| ^Previous patches intending to silence it have proposed increasing the
buffer size, but doing that correctly seems to be tricky. Failing on
truncation is simpler and just as effective (as excessively long device
names are unlikely).