Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (75)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (8160)

  • Can't run command from command line : ffmpeg doesn't convert file

    29 janvier 2020, par parsecer

    I’m trying to convert an audio from one format to another : test.mpga into test.ogg using ffmpeg library. I have this directory structure :

    TestConvert
     ffmpeg
       ffmpeg.exe
       ffplay.exe
       ffprobe.exe
     audio
       test.mpga
     src
       main
         java
           somepackage
             utils
               Utils  <--- CmdTest run from here

    This is my code :

    class CmdTest {
           public static void main(String[] args) throws Exception {
               String path = "C:\\...\\TestConvert";
               Process p = Runtime.getRuntime().exec( path + "/ffmpeg/ffmpeg.exe -i " + path + "\\audio\\test.mpga " + path + "\\audio\\test.ogg");
               BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
               String line;
               while (true) {
                   line = r.readLine();
                   if (line == null) { break; }
                   System.out.println(line);
               }
           }
       }

    However when I run it, it prints nothing and exits with exit code 0. test.ogg doesn’t seem to appear anywhere. What am I doing wrong ?

    I was also wondering if it’s possible to take that file from resources folder ?

    EDIT : I tried to use ProcessBuilder, but it still doesn’t create a test.ogg file and prints something unreadable :

    "C:\Program" �� ���� ����७��� ��� ���譥�
    ��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
    ProcessBuilder builder = new ProcessBuilder(
      "cmd.exe", "/c", path +
      "/ffmpeg/ffmpeg.exe -i " + path +
      "/audio/test.mpga" + path + "/audio/test.ogg");
    builder.redirectErrorStream(true);
    Process p = builder.start();
    BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while (true) {
       line = r.readLine();
       if (line == null) { break; }
             System.out.println(line);
       }

    At the same time, making it cd to the directory with the ffmpeg.exe and, after putting test.mpga inside it, running this works :

    ProcessBuilder builder = new ProcessBuilder(
          "cmd.exe", "/c", "cd " + path + "\\ffmpeg &&" +
          "ffmpeg -i test.mpga test.ogg");

    Potentially, I’d like it all to work inside a jar, so I’d really like to be able to get it to take the .exe and .mpga from the resources.

    EDIT :

    This didn’t work either :

    ProcessBuilder builder = new ProcessBuilder(
      path + "/ffmpeg/ffmpeg.exe",
      "ffmpeg -i " + path + "/audio/test.mpga " + path + "/audio/test.ogg");
  • ExecutionFailureException : ffmpeg failed to execute command

    31 janvier 2020, par ItsJasonn

    I am trying to concat multiple videos to eachother using PHP and the FFMpeg library. I am able to execute the binaries on my 32-bit Linux server flawless, but I am still getting this error saying...

    Fatal error : Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg failed to execute command ’/var/services/web/vendor/libraries/ffmpeg/ffmpeg’ ’-f’ ’concat’ ’-safe’ ’0’ ’-i’ ’/volume1/@tmp/ffmpeg-concatcg8R3L’ ’-c’ ’copy’ ’/volume1/web/vendor/php/out-1580427487.mp4’ : Error Output : ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc-6 —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gmp —enable-libgme —enable-gray —enable-libfribidi —enable-libass —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-librubberband —enable-libsoxr —enable-libspeex —enable-libsrt —enable-libvorbis —enable-libopus —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libv in /volume1/web/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Concat.php on line 149

    Does anyone know what the issue could be ? Thank you !

    EDIT 1 :
    It seems PHP does not let me create files (I think). PHP FFMPEG attempts to create a temporary file in my /volume1/@tmp/ folder, but no file is being created. I have checked everything on Google, but nothing works for me. I have also checked the permissions and I have 777 on all of my folders.

  • configure : don't enable $ARCH_external if $ARCH is disabled

    26 janvier 2020, par James Almer
    configure : don't enable $ARCH_external if $ARCH is disabled
    

    The check_x86asm() checks would force enable these variables on success,
    bypassing any —disable-* command line option.
    This is important in the case of AVX512, where the relevant define is used
    to choose between different values for memory alignment and strides in
    some allocations.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure