Recherche avancée

Médias (91)

Autres articles (47)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6459)

  • Anomalie #1701 (Fermé) : mauvais tri dans boucles de forum

    27 juin 2011, par cedric -

    Produit la requete normale SELECT forum.date_thread, id_thread, forum.id_thread, forum.id_forum FROM spip_forum AS ’forum’ WHERE (forum.statut = ’publie’) AND (forum.id_parent = 0) GROUP BY id_thread ORDER BY forum.date_thread DESC Je ne vois pas de bug, et si je test j’ai bien une date_thread (...)

  • How to save recorded ffmpeg webcam video to red5

    20 juillet 2014, par user3451310

    im trying to make a webcam recording program that can be accessed remotely by other users. i completed the recording locally but when i try to save it to red5 rtmp ://localhost/oflaDemo/streams/output.flv, no output produced to the streams directory and i don’t know how to stream it from other users while recording. can someone help me on this problem ?tnx heres my code :

    Thread webcam = new Thread()
    public void run()

       String fileName = new SimpleDateFormat("yyyy-MM-dd-hhmm").format(new Date());
      try {  
      OpenCVFrameGrabber grabber = new OpenCVFrameGrabber(0);  
      grabber.start();  
      opencv_core.IplImage grabbedImage = grabber.grab();  
      CanvasFrame canvasFrame = new CanvasFrame("Video recorder");  
      canvasFrame.setCanvasSize(grabbedImage.width(), grabbedImage.height());  
      grabber.setFrameRate(grabber.getFrameRate());  



      FFmpegFrameRecorder recorder = new FFmpegFrameRecorder("rtmp://localhost/oflaDemo/streams/output.flv", 800, 600);

      recorder.setFormat("flv");  
      recorder.setFrameRate(6);  
      recorder.setVideoBitrate(1024 * 1024);




      recorder.start();



      while (canvasFrame.isVisible() && (grabbedImage = grabber.grab()) != null) {  
        canvasFrame.showImage(grabbedImage);  
        recorder.record(grabbedImage);  
      }  
      recorder.stop();  
      grabber.stop();  
      canvasFrame.dispose();  


      recorder.record();

    } catch (FrameGrabber.Exception ex) {  
      Logger.getLogger(web.class.getName()).log(Level.SEVERE, null, ex);  
    } catch (FrameRecorder.Exception ex) {  
      Logger.getLogger(web.class.getName()).log(Level.SEVERE, null, ex);  
    }  

     ;
    webcam.start() ;

    }        
  • FFmpegFrameGrabber deprecated pixel format error

    14 juin 2018, par TomTom

    I tried to show the images my phone sends over WiFi with JavaCV and the FFmpegFrameGrabber class. Unfortunately I get this error, no matter which pixel format I set (tried from 0 up to 65).

    Input #0, mjpeg, from 'http://IP:PORT/video':
    Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 2:3], 24 tbr, 1200k tbn, 24 tbc    
    [swscaler @ 0x7ff6cc3cba00] deprecated pixel format used, make sure you did set range correctly

    This is how I create the FrameGrabber :

    FrameGrabber grabber = new FFmpegFrameGrabber("http://IP:PORT/video");
    grabber.setFormat("mjpeg");
    grabber.setVideoCodec(8);
    grabber.setFrameRate(24);

    And then getting the frame :

    frame = grabber.grab();

    EDIT :

    Apparently this error comes from the ffmpeg library and has something to do with jpeg.

    It is located in : libswscale/utils.c

    Line 975 and 976 cause this error :

    if(srcFormat!=c->srcFormat || dstFormat!=c->dstFormat)
        av_log(c, AV_LOG_WARNING, "deprecated pixel format used, make sure you did set range correctly\n");

    Unfortunately I am not skilled enough to delete/change this line. So I just ignore this messages as it doesn’t affect the program. Unless someone can recompile an edited version of ffmpeg for mac :)