Recherche avancée

Médias (91)

Autres articles (83)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5518)

  • ffmpeg extract video frames from url to a local variable in Node

    8 octobre 2020, par FireBrand

    I'm using the Nodejs spawn() functionality to execute a shell command that goes like this :

    


    ffmpeg -i https://someUrl.com/someVideo.mp4 -vf fps=30 frame-%d.bmp


    


    Which works for me as to saving 30 frames per second into numbered files, but I'd like to save every frame into a local variable so I could parse it in whatever way I need to (specifically to a JSON).

    


    What would be the best way to do so ?

    


    Thanks in advance.

    


  • Image sequence to video stream ?

    22 août 2015, par Hauns TM

    Like many people already seem to have (there are several threads on this subject here) I am looking for ways to create video from a sequence of images.

    I want to implement my functionality in C# !

    Here is what I wan’t to do :

    /*Pseudo code*/
    void CreateVideo(List<image> imageSequence, long durationOfEachImageMs, string outputVideoFileName, string outputFormat)
    {
       // Info: imageSequence.Count will be > 30 000 images
       // Info: durationOfEachImageMs will be &lt; 300 ms

       if (outputFormat = "mpeg")
       {
       }
       else if (outputFormat = "avi")
       {      
       }
       else
       {
       }

       //Save video file do disk
    }
    </image>

    I know there’s a project called Splicer (http://splicer.codeplex.com/) but I can’t find suitable documentation or clear examples that I can follow (these are the examples that I found).

    The closest I want to do, which I find here on CodePlex is this :
    How can I create a video from a directory of images in C# ?

    I have also read a few threads about ffmpeg (for example this : C# and FFmpeg preferably without shell commands ? and this : convert image sequence using ffmpeg) but I find no one to help me with my problem and I don’t think ffmpeg-command-line-style is the best solution for me (because of the amount of images).

    I believe that I can use the Splicer-project in some way (?).

    In my case, it is about about > 30 000 images where each image should be displayed for about 200 ms (in the videostream that I want to create).

    (What the video is about ? Plants growing ...)

    Can anyone help me complete my function ?

  • Android ICS FFMPEG scale video not working

    20 avril 2015, par Android-Developer

    I am using Guardian Project Android Java FFMPEG library to resize videos. Current code which is working on android 5.0.1 / 5.1.0 / 4.4.4 :

       File fileTmp = getCacheDir();
       FfmpegController fc = null;
       try {
           fc = new FfmpegController(this, fileTmp);
       } catch (IOException e) {
           e.printStackTrace();
       }
       String path = Environment.getExternalStorageDirectory().getPath() + "/Movies/nexus.mp4";
       final String outPath = Environment.getExternalStorageDirectory().getPath() + "/Movies/test.mp4";
       final Clip out = new Clip(path);
       try {
           if (fc != null) {
               fc.convert(out, outPath, new ShellUtils.ShellCallback() {
                   @Override
                   public void shellOut(String shellLine) {
                       Log.e("", "SHELL OUT: " + shellLine);
                   }

                   @Override
                   public void processComplete(int exitValue) {
                       Log.e("", "PROCESS COMPLETE: " + exitValue);
                   }
               });
           }
       } catch (Exception e) {
           e.printStackTrace();
       }

    Using this code on Android 4.0.4 (Ice Cream Sandwich) doesn’t do anything. While testing on other devices exitValue in processComplete is always equal to 0, but on ICS it’s 11. Here is the output in LogCat :

    SHELL OUT: /data/data/org.hardartcore.ffmpeg/app_bin/ffmpeg -y -i /mnt/sdcard/Movies/NEXUS.mp4 -ab 160k -r ntsc-film -vf scale=568:320 -strict -2 /mnt/sdcard/Movies/Test.mp4
    PROCESS COMPLETE: 11

    I don’t think it’s something from ffmpeg, more like a problem when the library is trying to execute ffmpeg executable from raw folder in internal memory, but I can’t see any logs or errors which indicate that too.

    So my question is, if there is any mistake which I am doing using / running this code or something which can prevent ffmpeg executable from running on old devices with Android ICS ?

    Thanks in advance !