Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (111)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (5683)

  • log : allow color highlighting in Cygwin’s mintty

    4 avril 2014, par James Darnley
    log : allow color highlighting in Cygwin’s mintty
    

    Configure will detect the availability of the Windows’ console functions and set
    HAVE_SETCONSOLETEXTATTRIBUTE. Meaning av_log will use those functions to
    control colours. When ffmpeg is run in Cygwin’s mintty terminal emulator it
    will not use colour highlighting in this case.

    Mintty responds to the usual escape code colours (it even supports 256 colours).
    Windows’ cmd.exe does not. Fortunately it seems that Cygwin’s emulation layer
    now translates the basic 16 colours into Windows’ Console command functions.

    That means that we can have av_log use the standard colour commands and let
    ffmpeg print colours in both mintty and cmd.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavutil/log.c
  • Make sure CMake build files end up in release tarball

    29 septembre 2019, par Erik de Castro Lopo
    Make sure CMake build files end up in release tarball
    
    • [DH] Makefile.am
    • [DH] doc/Makefile.am
    • [DH] doc/html/Makefile.am
    • [DH] doc/html/images/Makefile.am
    • [DH] examples/Makefile.am
    • [DH] examples/c/Makefile.am
    • [DH] examples/c/decode/file/Makefile.am
    • [DH] examples/c/encode/file/Makefile.am
    • [DH] examples/cpp/Makefile.am
    • [DH] examples/cpp/decode/file/Makefile.am
    • [DH] examples/cpp/encode/file/Makefile.am
    • [DH] microbench/Makefile.am
    • [DH] src/Makefile.am
    • [DH] src/flac/Makefile.am
    • [DH] src/libFLAC++/Makefile.am
    • [DH] src/libFLAC/Makefile.am
    • [DH] src/libFLAC/ia32/Makefile.am
    • [DH] src/metaflac/Makefile.am
    • [DH] src/plugin_common/Makefile.am
    • [DH] src/plugin_xmms/Makefile.am
    • [DH] src/share/Makefile.am
    • [DH] src/test_grabbag/Makefile.am
    • [DH] src/test_grabbag/cuesheet/Makefile.am
    • [DH] src/test_grabbag/picture/Makefile.am
    • [DH] src/test_libFLAC++/Makefile.am
    • [DH] src/test_libFLAC/Makefile.am
    • [DH] src/test_libs_common/Makefile.am
    • [DH] src/test_seeking/Makefile.am
    • [DH] src/test_streams/Makefile.am
    • [DH] src/utils/Makefile.am
    • [DH] src/utils/flacdiff/Makefile.am
    • [DH] src/utils/flactimer/Makefile.am
    • [DH] test/Makefile.am
  • ffmpeg ProcessBuilder No such file or directory

    24 avril 2020, par silentsudo

    I am trying to get media duration using ffmpeg command from a java program. I am calling this method from within spring boot application.&#xA;I am using ProcessBuilder.

    &#xA;&#xA;

    File object is valid and exists for privacy I have replaced file path in error logs.

    &#xA;&#xA;

    My Code is as below :

    &#xA;&#xA;

    private String getMediaDuration(File file) {&#xA;        final String command = "/usr/bin/ffmpeg -version";//-i " &#x2B; file.getAbsolutePath() &#x2B; " 2>&amp;1 | grep Duration | cut -c 13-20";&#xA;        try {&#xA;            ProcessBuilder builder = new ProcessBuilder("/usr/bin/ffmpeg",&#xA;                    "-version");&#xA;            builder.directory(file.getParentFile());&#xA;&#xA;            System.out.println("Directory : " &#x2B; builder.directory().exists());&#xA;            System.out.println("Directory : " &#x2B; builder.directory().getAbsolutePath());&#xA;            final Process process = builder.start();&#xA;            final InputStream is = process.getInputStream();&#xA;            final InputStreamReader isr = new InputStreamReader(is);&#xA;            final BufferedReader br = new BufferedReader(isr);&#xA;            String line;&#xA;            while ((line = br.readLine()) != null) {&#xA;                System.out.println(line);&#xA;            }&#xA;            return line;&#xA;        } catch (Exception e) {&#xA;            e.printStackTrace();&#xA;        }&#xA;        return null;&#xA;    }&#xA;

    &#xA;&#xA;

    Unfortunately nothing seems to be working&#xA;Error below :

    &#xA;&#xA;

    java.io.IOException: Cannot run program "/usr/bin/ffmpeg -version" (in directory "/abc/xyz"): error=2, No such file or directory&#xA;    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)&#xA;    at ....getMediaDuration(FFmpegRunner.java:208)&#xA;    at ....ffmpegprocessor.FFmpegRunner.run(FFmpegRunner.java:61)&#xA;    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&#xA;    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&#xA;    at java.lang.Thread.run(Thread.java:748)&#xA;Caused by: java.io.IOException: error=2, No such file or directory&#xA;    at java.lang.UNIXProcess.forkAndExec(Native Method)&#xA;    at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)&#xA;    at java.lang.ProcessImpl.start(ProcessImpl.java:134)&#xA;    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)&#xA;    ... 5 more&#xA;</init>

    &#xA;&#xA;

    Output for whereis ffmpeg

    &#xA;&#xA;

    ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz&#xA;

    &#xA;&#xA;

    Please help me understand where it is going wrong. Thank you.

    &#xA;