Recherche avancée

Médias (91)

Autres articles (84)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8080)

  • How to correctly install ffmpeg on windows XP ?

    11 avril 2012, par pipen

    I'm working on C++ project on Windows which involve FFmpeg library.
    The problem is that I can't include ffmpeg library to my project. I can't even run any of ffmpeg tutorials or examples. I'm always getting errors like the following :

    tutorial01.c:22:28: ffmpeg/avcodec.h: No such file or directory
    tutorial01.c:23:29: ffmpeg/avformat.h: No such file or directory

    and lots of errors like :

    tutorial01.c:33: error: `iFrame' undeclared (first use in this function)

    I found the tutorial with this instructions :

    //gcc -o tutorial01 tutorial01.c -lavformat -lavcodec -lz
    //to build (assuming libavformat and libavcodec are correctly installed
    //your system).

    After further searching I found out that I should get a static build library version from here :
    http://ffmpeg.zeranoe.com/builds/
    Then I installed this library following these instructions :

    1. Get the latest build from the arrozcru autobuilds page
    2. Unzip the folder into C :/Program Files/ffmpeg
    3. Add C :/Program Files/ffmpeg/bin to your system’s PATH environment variable

    But I still have compilation errors of the same kind.
    So, it seems it was not correct installation.

    What should I do to connect ffmpeg library to my project on Windows ?

  • StdioURLProtocolHandlerTest failed while Xuggler build under Windows

    26 mars 2012, par Dims

    Trying to build Xuggler under Windows. My Windows is x64 Win 7 prof, but all used libraries are 32bit. I am running build procedure under MinGW/MSys, from under Msys shell with the followinf script :

    #!/bin/sh
    export JAVA_HOME=/C/Program\ Files\ \(x86\)/Java/jdk1.6.0_25
    export XUGGLE_HOME=/C/Xuggler

    PATH=$XUGGLE_HOME/bin:/C/Program\ Files\ \(x86\)/Java/jdk1.6.0_25/bin:/d/APPS/msysgit/msysgit/bin/git:/D/APPS/MinGW/bin:/bin:/D/APPS/apa    che-ant-1.8.2/bin:/D/Users/Dims/Design/MinGW/Util:$PATH
    ant -Dbuild.m64=no run-tests

    The error follows

    [exec] Running 6 tests..
    [exec] In StdioURLProtocolHandlerTest::testRead:
    [exec] ../../../../../../../../../test/csrc/com/xuggle/xuggler/io/StdioURLProtocolHandlerTest.cpp:108: Error: Expected (4546420 == totalBytes), found (4546420 != 1042)
    [exec] In StdioURLProtocolHandlerTest::testReadWrite:
    [exec] ../../../../../../../../../test/csrc/com/xuggle/xuggler/io/StdioURLProtocolHandlerTest.cpp:185: Error: Expected (4546420 == totalBytes), found (4546420 != 1042)
    [exec] In StdioURLProtocolHandlerTest::testSeek:
    [exec] ../../../../../../../../../test/csrc/com/xuggle/xuggler/io/StdioURLProtocolHandlerTest.cpp:139: Error: Expected (4546420 == totalBytes), found (4546420 != 1042)
    [exec] .
    [exec] Failed 3 of 6 tests
    [exec] Success rate: 50%
    [exec] FAIL: xugglerioTestStdioURLProtocolHandler.exe

    My questions is : did anybody did this on Windows and did he/she have this test passed ? :)

    UPDATE 1

    The test code is follows :

    int32_t totalBytes = 0;
    do {
       unsigned char buf[2048];
       retval = handler->url_read(buf, (int)sizeof(buf));
       if (retval > 0)
            totalBytes+= retval;
    } while (retval > 0);
    VS_TUT_ENSURE_EQUALS("", 4546420, totalBytes);

    While the url_read code is follows :

    int
    StdioURLProtocolHandler :: url_read(unsigned char* buf, int size)
    {
       if (!mFile)
           return -1;
       return (int) fread(buf, 1, size, mFile);
    }

    I don't understand, under what circumstances it can return 1042 ??? May be 64 bits play here somehow ?

    UPDATE 2

    I printed out filename used and it was

    d:/......./../../../test/fixtures/testfile.flv

    the path is correct, but started with d:/ not with /d/

    Can this play a role under Msys ?

  • extract audio with youtube-dl on windows

    12 mars 2017, par FlyingNimbus

    I want to extract audio from a video downloaded with youtube-dl on windows. I got youtube-dl working, but am unable to extract the audio. This problem is caused due to not having the correct audio codes installed. When i try to extract audio it tells me the following :

    WARNING : unable to obtain file audio codes with ffprobe

    youtube-dl man sais the following :
    - x -extract-audio convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe)

    How do I install ffprobe or ffmpeg ? Do I install this on windows, or do I install this as a python extension ? I have no idea, can someone point me in the right direction ?

    OS : windows 7