Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (57)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5463)

  • Revision 8830772370 : Multi-arf : Add code to turn it on and off. Add test code to turn multi-arf on a

    30 juin 2014, par Paul Wilkins

    Changed Paths :
     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_encoder.h


     Modify /vp9/encoder/vp9_firstpass.c



    Multi-arf : Add code to turn it on and off.

    Add test code to turn multi-arf on and off depending
    on group length and zero motion.

    Changes to active max group length for mult-arf.

    Fund second arf only from normal frame bits.

    Change-Id : I920287fac1c886428c15a39f731a25d07c2b796c

  • I have an audio data stream from ffmpeg, how can I play it in a browser ?

    9 novembre 2013, par Conor Patrick

    I've been able to successfully stream live audio from my mic to my node server. I would now like to stream that to all connected clients. I have been trying to do it with web sockets.

    I'm streaming the audio with this command

    ffmpeg -f alsa -i hw:0 -acodec mp2 -f mp3 -r 30 http://localhost:8086

    Node gets the buffer array and I write it to all connected clients like so with the 'ws' package

    // HTTP Server to accept incomming MP3 Stream (audio)
    var audioServer = require('http').createServer( function(request, response) {

          audioSocket.broadcast(data, {binary:true});

    }).listen(8086);

    var audioSocket = new (require('ws').Server)({port: 8088});
    audioSocket.broadcast = function(data, opts) {

       for( var i in this.clients ) {
           this.clients[i].send(data);
       }
    };

    Any idea of how I can play this data on a browser ? I tried following this topic but the decodeAudioData() method fails.

    My client side code

    node={};
    var audio = new WebSocket('ws://localhost:8088/');
    audio.binaryType = "arraybuffer";
    var context = new webkitAudioContext();

    audio.onmessage = function(data){
       node.buf=data.data;
       node.sync=0;
       node.retry=0;
       decode(node);
    }

    function syncStream(node){ // should be done by api itself. and hopefully will.
       var buf8 = new Uint8Array(node.buf);
       buf8.indexOf = Array.prototype.indexOf;
       var i=node.sync, b=buf8;
       while(1) {
           node.retry++;
           i=b.indexOf(0xFF,i); if(i==-1 || (b[i+1] & 0xE0 == 0xE0 )) break;
           i++;
       }
       if(i!=-1) {
           var tmp=node.buf.slice(i); //carefull there it returns copy
           delete(node.buf); node.buf=null;
           node.buf=tmp;
           node.sync=i;
           return true;
       }
       return false;
    }

    function decode(node) {
       context.decodeAudioData(node.buf,
       function(decoded){
           node.source  = context.createBufferSource();
           node.source.connect(context.destination);
           node.source.buffer=decoded;
           node.source.noteOn(context.currentTime);
           console.log('IT WORKED!  DECODED', decoded);
       },
       function(){ // only on error attempt to sync on frame boundary
           //console.log('error');
           if(syncStream(node)) decode(node);
       });
    }
  • Autostart Ffmpeg when I connect to Red5 ? [on hold]

    6 novembre 2013, par Alex Scott

    I have setup Red5 media server on my server along with ffmpeg and I can connect to my Red5 server using Flash Media Encoder and I can view my stream within my website.

    My problem is that I know you can now use ffmpeg to convert the stream into segmented files and create the m3u8 playlist.

    Unfortunately, my stream is not live 24/7, only on weekends, so I want to know if it is possible to automatically start the ffmpeg decoding process when the stream is active and end it when the stream finishes ?

    The website which I am using this on is Official Sound FM.

    Thanks in advance for helping me with this matter and if anyone should require my services to setup a similar streaming service with them, please don't hesitate to ask me.