Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (86)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5733)

  • im currently trying to concat multiple videos from a array of videos in state with react native ffmpeg but its showing no object or file

    20 août 2020, par Suraj Lalla

    I'm trying to concat videos from an array of videos in react native state using react-native ffmpeg,but the error is showing no file created, please help ,
im trying to add an array of objects containing the video uri

    


  • Create a video preview image like youtube or whatsapp from a Video file (.mp4) using JAVA Code

    27 novembre 2017, par Ravi Dua

    Issue 1. When I use FFmpeg Java api, program doesn’t run and print anything after grabber.start(). No preview generated.

    Code Sample :

    public static boolean generatePreviewImage(String filePath, String previewFileName ) throws IOException {
           boolean isPreviewGenerated = false;
           System.out.println("Request received to generate thumbnail for video.");
           System.out.println("VideoFilePath : "+filePath);
           System.out.println("ResultFileName : "+previewFileName);
           try {

               FFmpegFrameGrabber fGrabber = new FFmpegFrameGrabber(filePath);
               System.out.println("FrameGrabber found "+fGrabber);
               fGrabber.start();
               System.out.println("Frame started..");
               ImageIO.write(fGrabber.grab().getBufferedImage(), "jpg", new File(previewFileName));
               System.out.println("Image written successfully as "+previewFileName);
               isPreviewGenerated = true;
               fGrabber.stop();
               System.out.println("FrameGrabber stopped.. "+fGrabber);

           } catch(Exception e){
               System.out.println("Exception while creating video thumbnail : "+previewFileName+" - exception - "+e);
               e.printStackTrace();
           }
           System.out.println("Image written successfully? "+previewFileName);
           return isPreviewGenerated;
       }  

    Result :
    Request received to generate thumbnail for video.
    VideoFilePath : /root/appdir/VIDEO20171124143855.mp4
    ResultFileName : /root/appdir/vdthumb_0.jpg
    FrameGrabber found org.bytedeco.javacv.FFmpegFrameGrabber@3529360e

    Nothing happens and gets printed after above statement..


    Additional Information :
    I installed FFmpeg on Linux VPS as well and able to generate preview using command line
    root@vps19984[ /usr/appdir]#ffmpeg -i /root/appdir/.VIDEO20171123165555.mp4 -r 1 -f image2 image-%2d.png
    (above command ffmpeg generates preview successfully on linux box but I want to generate it via Java program)


    Issue 2. When I use JCodec api, program generates a black image but NOT an image from video file.
    Code Sample :

    public static boolean generatePreviewImage(String filePath, String previewFileName ) throws IOException, JCodecException {
       logger.info("Request received to generate thumbnail for video. VideoFilePath : "+filePath+", resultFileName "+previewFileName);
       boolean isPreviewGenerated = false;
       Picture framePic = FrameGrab.getNativeFrame(new File(filePath),20);
       logger.info("Frame grabbed successfully..");
       Transform transform = ColorUtil.getTransform(framePic.getColor(), ColorSpace.RGB);
       Picture rgb = Picture.create(framePic.getWidth(), framePic.getHeight(), ColorSpace.RGB);
       transform.transform(framePic, rgb);
       logger.info("Frame transformed successfully to RGB..");
       BufferedImage dst = new BufferedImage(rgb.getCroppedWidth(), rgb.getCroppedHeight(),
               BufferedImage.TYPE_INT_RGB);
       ImageIO.write(dst, "jpg", new File(previewFileName));
       isPreviewGenerated = true;
       logger.info("Is preview generated.."+isPreviewGenerated);

    }

    Result :
    Request received to generate thumbnail for video. VideoFilePath : /usr/appdir/VIDEO20171123165555.mp4, resultFileName /usr/appdir/vdthumb_0.jpg
    Frame grabbed successfully..
    Frame transformed successfully to RGB..
    Is preview generated..true

    Issue : A black jpg image of 5 KB gets generated by JCodec

  • Anomalie #4634 (En cours) : Supprimer la classe .album ?

    20 janvier 2021, par nicod _

    Dans /squelettes-dist/css/media.css on cible un classe .album et ses éléments, ce qui présuppose du style pour le plugin Albums, alors que je ne trouve pas de trace d’utilisation de .album dans les squelettes dist.

    Pourrait on supprimer ceci ?

    /* album */
    .album 
      margin-bottom : 1.5em ;
    
    .album ul 
      overflow : hidden ;
      margin : 0 ;
      list-style : none ;
    
    .album li 
      float : left ;
      margin : 0 ;
      margin : 0 10px 10px 0 ;
    
    .album .thumb 
      margin : 0 ;