Recherche avancée

Médias (91)

Autres articles (54)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (9677)

  • Live Streaming over HTTP using CloudFront and FFMPEG having delay issue

    23 avril 2021, par jitendra-gautam

    Live Streaming using CloudFront and FFMPEG having delay issue I am using the NodeJS server with FFMPEG and live streaming to CloudFront, which is then consumed by many people via CloudFront. Below is the data received at the user's end.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1317
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:1
#EXTINF:0.833333,
1317.ts
#EXTINF:0.833333,
1318.ts
#EXTINF:0.833333,
1319.ts


    


    The problem is the next .ts file that is 1320.ts is taking time to create on the server, thus the user is seeing the loading sign, and when this 1320.ts is created on the server, thereafter only the user is able to see the next live stream frame. How can the streaming be continuous ?? Below is the FFMPEG command that is being used :

    


    process = child_process.spawn('ffmpeg', commandArgs);



    


    let commandArgs = [
  '-loglevel',
  'debug',
  '-protocol_whitelist',
  'pipe,udp,rtp,rtmp,http,https,tcp',
  '-fflags',
  '+genpts',
  '-f',
  'sdp',
  '-i',
  'pipe:0',
  '-c:v',
  'libx264',
  '-crf',
  '21',
  '-preset',
  'veryfast',
  '-g',
  '25',
  '-sc_threshold',
  '0',
  '-c:a',
  'aac',
  '-b:a',
  '128k',
  '-ac',
  '2',
  '-hls_flags',
  'delete_segments+append_list',
  '-f',
  'segment',
  '-segment_list_flags',
  'live',
  '-segment_time',
  '1',
  '-segment_list_size',
  '3',
  '-segment_format',
  'mpegts',
  '-segment_list',
  `${RECORD_FILE_LOCATION_PATH}/${fileName}.m3u8`,
  `-segment_list_type`,
  'm3u8',
  `${RECORD_FILE_LOCATION_PATH}/%d.ts`
];



    


  • Is there a way i can live stream in real time a canvas and send it to another web server [closed]

    7 mai 2024, par N0edL

    I'm working on a project where I have a canvas displaying gameplay, which is currently being live-streamed to the client canvas. Now, I want to stream this gameplay canvas to a third-party web server in real time using HLS or RTMP, but I'm unsure where to start. Could anyone provide some guidance or tips on how to achieve this ?

    


    Here's what I've tried so far :

    


      

    • I experimented with FFmpeg for the streaming, but didn't make much progress.
    • 


    • I have a system in place that streams the gameplay to the client canvas.
    • 


    


    Any advice on how to set up the live stream from the canvas to the third-party server using HLS/RTMP would be greatly appreciated. Thanks in advance !

    


  • Error using javacv library for live streaming camera to server

    22 juin 2015, par Prathyush Kumar

    I am new to live-streaming i’m following this link
    here for implementing camera streaming to server with ffserver listening on port 8090.But my code breaks at this line

    public void startRecording() {
       try {
           recorder.start();    //breaks here
           startTime = System.currentTimeMillis();
           recording = true;
           audioThread.start();
       } catch (FFmpegFrameRecorder.Exception e) {
           e.printStackTrace();
       }
    }

    I debugged a little bit to find out what is happening and i found out in this line in FFmpegFrameRecorder.class

    if((this.oformat.flags() & 1) == 0) {
       AVIOContext pb1 = new AVIOContext((Pointer)null);
       if((ret = avformat.avio_open(pb1, this.filename, 2)) < 0) {//throwing exception here
           this.release();
           throw new Exception("avio_open error() error " + ret + ": Could not open \'" + this.filename + "\'");
       }

       this.oc.pb(pb1);
    }

    ret is -5 which is less than 0 and so it cannot open the file(rtmp ://live:live@192.168.0.115:8090/live/test.flv).

    I am not able to understand whats happening in avformat.class Please help

    Is this any configuration problem for ffserver or is it anything else ?I’m not able to figure this out please any help would be greatly appreciated.