Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (28)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (4421)

  • 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);
       });
     });
    };
  • 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
  • How to run FFMPEG with —enable-libfontconfig on Amazon Linux 2

    22 avril 2024, par Adrien Kaczmarek

    Problem

    &#xA;

    I want to run FFmpeg on AWS Lambda (Amazon Linux 2) with the configuration --enable-libfontconfig enable.

    &#xA;

    Situation

    &#xA;

    I already have FFmpeg running on AWS Lambda without the configuration --enable-libfontconfig.

    &#xA;

    Here is the step I took to run FFmpeg on AWS Lambda (see official guide) :

    &#xA;

      &#xA;
    • Connect to Amazon EC2 running on AL2 (environment used by Lambda for Python 3.11)
    • &#xA;

    • Download and package FFmpeg from John Van Sickle
    • &#xA;

    • Create a Lambda Layer with FFmpeg
    • &#xA;

    &#xA;

    Unfortunately, the version built by John Van Sickle doesn't have the configuration --enable-libfontconfig enabled.

    &#xA;

    Unsuccessful Trials

    &#xA;

    I tried to rebuilt it from scratch following the installation guide but without success (and the guide doesn't install font related dependencies)

    &#xA;

    I tried to install it with brew but the command brew install ffmpeg didn't succeed on AL2.

    &#xA;

    I tried to install ffmpeg from ffmpeg-master-latest-linux64-gpl.tar.xz. Unfortunately, this build of ffmpeg doesn't run on AL2 :

    &#xA;

    ffmpeg: /lib64/libm.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libpthread.so.0: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;

    &#xA;

    Any help would be greatly appreciated,

    &#xA;

    Please make sure your answer is up to date and tested. Too many answers out there are auto-generated, too generic, or simple redirect without context.

    &#xA;

    Thank you

    &#xA;