Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (76)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • 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 (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4635)

  • How can I create a process that can be multiplied by a variable number ?

    18 octobre 2019, par Kaden

    A bit hard to explain this one, but I have an ingest of a variable amount of .mp4 files (sometimes it’s 30, other times it’s 10) and I need to have a subproccess.call('code', shell=True) for each of the .mp4 files that are being ingested into that folder. Each file has already been renamed in numeric order (1.mp4, 2.mp4, 3.mp4, etc...) and I can store the number of ingested files into a variable sumlines using the code
    with open(urls.txt", 'r') as file:     sumlines = sum(1 for _ in file)
    So my question is, is there a way I can use the variable sumlines to automatically subproccess call the exact number of files needed ?
    Find a screenshot here

  • Can I use FFMPEG to replace $N number of frames while keeping the audio ?

    16 août 2020, par Ian Arman

    Is this possible with ffmpeg or am I required to use another program.

    


    I have a .mp4 file and I want to replace $n number of frames while keeping the audio.

    


    At this point I'm not concerned about transitions such as fading or anything - I'm only wondering if this is possible through the commands.

    


    Thus the output of the file would be {replaced frames - $N number}{remaining video - minus replaced frames}

    


  • What should I put as the context - FFmpeg - Android/Java

    6 août 2017, par pudility

    I am following the documentation for FFmpeg here and I am wondering what I should put as the context ?

    My function

    public static void conversion(String[] cmd) {

    FFmpeg ffmpeg = FFmpeg.getInstance(context); //what should I put as the context here?

    try {


     // to execute "ffmpeg -version" command you just need to pass "-version"
     ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

       @Override
       public void onStart() {
       }

       @Override
       public void onProgress(String message) {
       }

       @Override
       public void onFailure(String message) {
       }

       @Override
       public void onSuccess(String message) {
       }

       @Override
       public void onFinish() {
       }
     });
    } catch (FFmpegCommandAlreadyRunningException e) {
     // Handle if FFmpeg is already running
     e.printStackTrace();
    }
    }

    And then I call my function like this (from the same class) :

    public void alert(String message) {
         String[] cmd = {"-i"
                 , message
                 , "Image.gif"};
         conversion(cmd);
     }