Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (93)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (3361)

  • Insert video into another video both of different formats in a time efficient way

    7 février 2017, par Sharath Huddar

    I have an assignment which requires that the code I write takes a large video(1 to 3 hrs) and a smaller video (10-60 seconds) and the smaller video is inserted at intervals of 30 minutes into the larger video. Note that the videos are not necessarily in the same format.

    I tried to encode the large and the small video to a common format (mp4) and then split the large video based on time (while encoding it to mp4) and then concat all the videos in a predefined sequence (also while encoding to mp4). All these operations were carried out using FFMPEG.

    Although this method worked, it too close to 20 hours to perform the whole operation on an Intel NUC (having an i5 processor and 8GB RAM)

    Is there a faster way to do this without compromising on quality ?

  • Getting same frame each time using FFmpegFrameGrabber.grabImage() in Android

    12 février 2017, par AlphabateCoder

    Trying to extract each frame from a video file using javaCV, FFFmpegFramGrabber and save as jpg, end up getting the same frame each time.

         FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(cVideoFilePath+ "/" + "VID_20170211_132657.mp4");
       try {
           AndroidFrameConverter convertToBitmap = new AndroidFrameConverter();
           grabber.start();

           for (int i= 0; i< grabber.getFrameRate();i++){

                frame1 = grabber.grabImage();
               Bitmap bitmap = convertToBitmap.convert(frame1);
               String date = simpleDateFormat.format(new Date());
               File picfile = new File(file_name);
               if (!picfile.exists()) {
                   try {
                       picfile.createNewFile();
                   } catch (IOException e) {
                       e.printStackTrace();
                   }
               }
               try {

                   FileOutputStream out = new FileOutputStream(picfile);
                   bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
                   out.flush();
                   out.close();

               } catch (IOException ex) {

               } finally {

               }
    }
  • ffmpeg copy video in video with a specific time

    13 février 2017, par Alkl

    Im new in this topic (beginner) and Im german... So it’s a bit difficult to find the correct words...

    I’ll try to explain what I’ve done and what I want to do :

    1. Extract video area from the original video converted in PRORES codec :

      ffmpeg.exe -i test.mkv -ss 00:06:21.99 -t 00:00:01.94 -async 1 -strict -2 -c:v prores_ks -pix_fmt yuva444p10le -profile:v 4444 -bits_per_mb 8000 -s 1920x1080 cut_video.mov

    2. Edit the cut in After Effects

    3. Convert the PRORES in Matroska

      ffmpeg.exe -i "C :\Users\Alex\Desktop\ffmpeg-20170202-08b0981-win64-static\bin\cut_video\cut_video.mov" -vcodec ffv1 -acodec pcm_s16le temp.mkv

    4. Replace the video area in the originale video file at the time 00:06:21.99...

    I spend 4 hours for the two commands...
    So I despair at the fourth step. Is it possible ? Can you help me ?

    I made a picture, so you can understand better what Im doing... : http://i.imgur.com/HqlNxzW.jpg

    Best regards from germany,

    Alex