Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (11901)

  • Live Video Facebook API with FFMPEG nodejs

    27 octobre 2016, par user3709908

    I have created Object Live Video as Facebook’s document.

    "stream_url": "rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK"

    I using https://github.com/fluent-ffmpeg/node-fluent-ffmpeg for stream but I failed.

    Does anyone have solutions to stream video file (eg : mp4) to Object Video Facebook API ?

    var ffmpeg = require('fluent-ffmpeg'),
     fs = require('fs');

     // open input stream
    var infs = fs.createReadStream(__dirname + '/2.mp4');

    infs.on('error', function(err) {
     console.log(err);
    });
    var publish = "rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK";
    // make sure you set the correct path to your video file
    var proc = ffmpeg(infs)

     .format('mp4')
     .size('320x?')
     .videoBitrate('512k')
     .videoCodec('libx264')
     .fps(24)
     .audioBitrate('96k')
     .audioCodec('aac')
     .audioFrequency(22050)
     .audioChannels(2)
     // setup event handlers
     .on('end', function() {
       console.log('file has been converted succesfully');
     })
     .on('error', function(err) {
       console.log('an error happened: ' + err.message);
     })
     // save to stream
     .save(publish); //end = true, close output stream after writing

    an error happened: ffmpeg exited with code 1: rtmp://rtmp-api.facebook.com:80/rtmp/641310872699778?ds=1&a=AaYx3JYoFLTXAvBK: Operation not permitted

  • Record and livestream xvfb to facebook with audio

    7 janvier 2017, par boygiandi

    I can live a Xvfb screen to facebook with this ffmpeg command :

    ffmpeg -r 30 -framerate 5 -f x11grab -i :1045.0 -f lavfi -i anullsrc -video_size 640x480 -codec:v libx264 -x264-params keyint=60 -bufsize 500k -c:a aac -ac 1 -ar 44100 -b:a 128k -f flv "rtmp ://rtmp-api.facebook.com:80/rtmp/10208339883840092 ?ds=1&s_l=1&a=ATizxYY-84bloD-H"

    But it doesn’t contain audio. I know that -f lavfi -i anullsrc mean no audio. I tried many ways but I can’t make it record audio from Xvfb screen and live to facebook.
    Any one can help ?

  • Streaming WebRTC via ffmpeg to Facebook Live (RTMP) [on hold]

    5 février 2017, par Frederik Greve

    sorry for my bad english ;)

    I’ve got the following problem :
    I want to stream a Webcam (+audio) to Facebook Live. To capture the media I use getUserMedia. Now I will send the data to Facebook Live via RTMP.

    I tink there are two ways to do it, but I don’t know how.

    1. Create an Stream with WebRTC and encode it with ffmpeg to RTMP.
    2. Save every single frame with HTML5 Canvas and then stream it with ffmpeg. (In this case I don’t know to add sound from microphone.)

    I’m just using html5, Javacript and PHP.