Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (16220)

  • 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 :)

  • FFmpegFrameGrabber deprecated pixel format error

    6 janvier 2015, 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 :)