Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (67)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7119)

  • avformat/apvdec : Check before access

    28 avril, par Andreas Rheinhardt
    avformat/apvdec : Check before access
    

    The signature check would segfault in case the packet could not
    be allocated or if nothing could be read.
    Furthermore, read_packet callbacks are supposed to return zero
    on success, yet the current code returned the size of the packet.

    Reviewed-by : Mark Thompson <sw@jkqxz.net>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/apvdec.c
  • rtmp : Don’t send every flv packet in a separate HTTP request in RTMPT

    18 juin 2012, par Samuel Pitoiset

    rtmp : Don’t send every flv packet in a separate HTTP request in RTMPT

  • How to access uploaded file from multer ?

    13 avril 2017, par Somename

    Im able to upload an image to S3. Now, if the file selected is .gif, I want to be able to convert the .gif file to .mp4 and upload the converted file to S3. I am able to convert a .gif to .mp4 with ffmpeg only if I give the path of the file. How do I access the uploaded file from Multer ? Below is my code :

    var express = require('express');
    var bodyParser = require('body-parser');
    var app = express();
    var aws = require('aws-sdk');
    var multer = require('multer');
    var multerS3 = require('multer-s3');
    var s3 = new aws.S3();
    var ffmpeg = require('fluent-ffmpeg');


    var upload = multer({
       storage: multerS3({
           s3: s3,
           bucket: 'myBucket',
           key: function (req, file, cb) {
               console.log(file);
               var extension = file.originalname.substring(file.originalname.lastIndexOf('.')+1).toLowerCase();

                   if(extension=="gif"){
                   console.log("Uploaded a .gif file");

                   ffmpeg(file) //THIS IS NOT WORKING
                       .setFfmpegPath("C:\\ffmpeg\\bin\\ffmpeg.exe")
                         .output('./outputs/2.mp4')    //TRYING TO UPLOAD LOCALLY, WHICH FAILS
                         .on('end', function() {
                           console.log('Finished processing');
                         })
                         .run();
               }

               cb(null, filename);
           }
       })
    });

    I’m trying to access the uploaded file like this : ffmpeg(file) since file is an argument passed in the multer function.

    My form :

    <form action="/upload" method="post" enctype="multipart/form-data">
       <input type="file" /> <br />
       <input type="submit" value="Upload" />
    </form>

    In which part of the process do I convert the file ?

    Please help. Many thanks.