Recherche avancée

Médias (91)

Autres articles (49)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6365)

  • Update a connection to websocket in Meteor

    3 août 2017, par Lucas Carvalho

    I’m new in meteor and i want to create a video stream using JSMpeg and ffmpeg.

    With meteor, i can start a separeted server to receive the ffmpeg data and now i need to pass this data through a websocket connection for the clients logged in the server.

    How I can create this connection or how i can pass this data thru JSMpeg on the client side ?

    This is how i started the http server inside the meteor application :

    var http = require('http');

    var STREAM_PORT = 8081,
     WEBSOCKET_PORT = 8082,
     RECORD_STREAM = false;

    Meteor.startup(() => {
     // HTTP Server to accept incomming MPEG-TS Stream from ffmpeg
     var streamServer = http.createServer( function(request, response) {
       var params = request.url.substr(1).split('/');

       if (params.length != 3){
         console.log(
           'Failed Stream Connection: wrong number of parameters.'
         );
         response.end();
       }

       var userEmail = params[0];

       //here goes an function to get the user id
       var userID;

       var connName = userID + "-" + params[1] + "-" + params[2];

       response.connection.setTimeout(0);
       console.log(
         'Stream Connected: ' +
         request.socket.remoteAddress + ':' +
         request.socket.remotePort, connName
       );
       request.on('data', function(data){
         //here i need to pass the data to an websocket
         socketServer.broadcast(connName, data);
         if (request.socket.recording) {
           request.socket.recording.write(data);
         }
       });

       // Record the stream to a local file?
       if (RECORD_STREAM) {
         var path = 'recordings/' + Date.now() + '.ts';
         request.socket.recording = fs.createWriteStream(path);
       }
     }).listen(STREAM_PORT);
    });
  • How to close the served connections in ffserver

    15 novembre 2018, par prateekjain

    I am trying to close the served connections in ffserver. Everytime i start a new ffmpeg with feed mapped to a stream, a connection is shown in ffserver status page.
    I want to close that connection when a new stream needs to be started.

    I tried to kill ffmpeg on startin a new stream usng stream.kill method which kills ffmpeg but does not close the connection to ffserver.

  • FFmpeg Flags for generating fixed amount of images related to video length

    27 octobre 2015, par Sutekh

    I am using this command :

    ffmpeg -i file.mp4 -vf fps=1/60 -s 274x175  thumb%d.png

    to extract 1 frame from video for every minute of it.
    What i want to learn how to do is :
    Extract a total of 10 images from video regardless of its length that are relative to distance of video.

    Example :

    1.If video length is 15 minutes (900 seconds) it will extract one image from every 90 seconds of video.
    2.If video length is 22 minutes (1320 seconds) it will extract one image from every 132 seconds of video.

    And one more thing , is it possible to use ffmpeg to set output quality of those images or limit maximum size(as in file size , not dimensions) for each image that is going to get outputted ?