Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (72)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (9434)

  • ffmpeg commands execution failed when run from Java. Executed successfully when the command is run in the terminal

    28 septembre 2022, par Kaung Myat Khaing

    I'm working on a java project which works with audio file manipulation(I'm newbie to Java). I want to get the start and end time of silence in the audio with ffmpeg "silencedetect" audio filter and write the results to a text file.
I run the filter command within the following function, but it always result in failure(prints "Silence Detection failed"). Then, I tried running the command in the terminal and it was successful(prints "Silence Detection successful"). I don't know what's wrong with my java code. I have other functions which execute other ffmpeg commands with the same flow as provided, but they works fine.
Here's the function.

    


    public static void getSilence(String filePath) throws InterruptedException, IOException {
        //                detect silence
        System.out.println("Silence Detection cmd: ffmpeg -i " + filePath
                + " -af silencedetect=d=1:noise=-60dB -f null - |& awk '/silencedetect/ {print $4,$5}' > "
                + SOURCE_PATH + "/silence_detections/silenceInfo.txt");
        Process silenceDetect = Runtime.getRuntime().exec("ffmpeg -i " + filePath
                + " -af silencedetect=d=1:noise=-60dB -f null - |& awk '/silencedetect/ {print $4,$5}' > "
                + SOURCE_PATH + "/silence_detections/silenceInfo.txt");

        if (silenceDetect.waitFor() == 0) {
            System.out.println("Silence Detection successful");
        } else System.out.println("Silence Detection failed");
    }


    


  • Command works on terminal but not with Kotlin

    9 novembre 2019, par Antony

    I’m trying to use an FFMPEG command for concatenating different videos. The command is

    ffmpeg -i video.mp4 -i video-2.mp4 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4

    This command works good when I run on Windows PowerShell. But when I try to run with Kotlin code it doesn’t work.

    val firstVideo = "D:\\Videos\\ffmpeg\\video.mp4"
    val secondVideo = "D:\\Videos\\ffmpeg\\video-2.mp4"
    val resultPath = "D:\\Videos\\ffmpeg\\result-2.mp4"

    val cmd = "ffmpeg -i $firstVideo -i $secondVideo -filter_complex \"[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]\" -map \"[v]\" -map \"[a]\" $resultPath"
    .split(" ").toTypedArray()

    Runtime.getRuntime().exec(cmd)

    I’m not taking any error messages since I’m using FFMPEG cli.

    Also, this piece of Kotlin works perfect when I’m trying to run other FFMPEG operations.

  • PHP FFMPEG command not working and working in terminal

    1er mars 2019, par Saurabh Sharma

    My FFMPEG path /usr/bin/ffmpeg
    My FFMPEG command

    $result = exec('/usr/bin/ffmpeg -i 1551361268_video.webm -i
    1551361289_video.webm -i 1551361500_video.webm -i 1551361518_video.webm -i
    1551361555_video.webm -i 1551361626_video.webm -i 1551361647_video.webm -i
     1551361682_video.webm \
    -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0][3:v:0][3:a:0]
    [4:v:0][4:a:0][5:v:0][5:a:0][6:v:0][6:a:0][7:v:0]
    [7:a:0]concat=n=8:v=1:a=1[outv][outa]" \
    -map "[outv]" -map "[outa]" php.mkv');

    When I run this code nothing happens. I’m using centos 7. If I run this command on terminal, This works fine.