Recherche avancée

Médias (91)

Autres articles (33)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

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

Sur d’autres sites (3960)

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

  • Revision 83646 : Bug de vérification de la saisie Destinataires. Car sa valeur c’est ...

    12 juillet 2014, par rastapopoulos@… — Log

    Bug de vérification de la saisie Destinataires. Car sa valeur c’est toujours un tableau, or si on a activé un premier choix vide, ça fait un tableau non vide, donc l’obligation n’était pas bien vérifiée.