Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (64)

  • 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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10142)

  • Added alternative imagick library implementation for the image handling.

    10 octobre 2013, par blueimp
    Added alternative imagick library implementation for the image handling.
    

    Improved memory management for the GD library image handling.

  • How to loop an image properly for a live stream with FFMPEG

    28 avril 2021, par Xternet

    I'm using the below code to live stream to Instagram, now I want to loop an image so it'll go on forever as long as the process is running, it'll keep streaming. But when I watch the live stream, I keep seeing pauses in the live video. How do I fix it ?

    


    ffmpeg -loop 1 -rtbufsize 256M -re -i "image.png" -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 720x1280 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -t 60 -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv "RTMPstreamURL"


    


  • Creating video from image using FFMPEG

    27 août 2012, par yashprit

    I am creating video editing application using JavaScript, ffmpeg and java. Using FFMPEG i have created extract n frame of video, than using canvas.toDataUrl I am replacing new image with existing image frame rate and everything has taken care, but when I use these image to create video, FFMPEG never include newly created PNG image.

    code to save png image from HTML5 canvas

    Base64 decoder = new Base64();
       byte[] pic = decoder.decodeBase64(request.getParameter("pic"));
       String frameCount = request.getParameter("frame");
       InputStream in = new ByteArrayInputStream(pic);
       BufferedImage bImageFromConvert = ImageIO.read(in);
       String outdir = "output\\"+frameCount;
       //Random rand = new Random();
       File file = new File(outdir);
       if(file.isFile()){
           if(file.delete()){
               File writefile = new File(outdir);
               ImageIO.write(bImageFromConvert, "png", file);
           }
       }

    Code for creating image from video

    String filePath = "D:\\temp\\some.mpg";
       String outdir = "output";
       File file = new File(outdir);
       file.mkdirs();
       Map m = System.getenv();

       /*
        * String command[] =
        * {"D:\\ffmpeg-win32-static\\bin\\ffmpeg","-i",filePath
        * ,"-r 30","-f","image2",outdir,"\\user%03d.jpg"};
        *
        * ProcessBuilder pb = new ProcessBuilder(command); pb.start();
        */
       String commands = "D:\\ffmpeg-win32-static\\bin\\ffmpeg -i " + filePath
               + " -r 30  -f image2 " + outdir + "\\image%05d.png";
       Process p = Runtime.getRuntime().exec(commands);

    code for creating video from image

    String filePath = "output";
       File fileP = new File(filePath);
       String commands = "D:\\ffmpeg-win32-static\\bin\\ffmpeg -f image2 -i "
               + fileP + "\\image%5d.png " + fileP + "\\video.mp4";
       System.out.println(commands);
       Runtime.getRuntime().exec(commands);
       System.out.println(fileP.getAbsolutePath());