Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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 (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (14790)

  • Revision 336ca9a43a : Merge "keyframe_test : use a fixed speed step for realtime"

    8 août 2012, par John Koleszar

    Changed Paths : Modify /test/encode_test_driver.h Merge "keyframe_test : use a fixed speed step for realtime"

  • 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>

    • [DH] tests/checkasm/checkasm.c
    • [DH] tests/checkasm/checkasm.h
  • ffmpeg node js s3 stream screenshots qestion

    20 octobre 2015, par user3564443

    On 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);
       });
     });
    };