Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (83)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (11329)

  • 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 ?

  • 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 ?

  • Building ffmpeg for Windows with MSYS and MinGW

    27 février 2014, par Tech Jerk

    I am trying to build ffmpeg for windows (Xp - SP2) as given here.

    ./configure -–extra-cflags=”-mno-cygwin -mms-bitfields” -–extra-ldflags=”-Wl, -add-stdcall-alias” -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32

    The above command is placed in a myconfig file as instructed and when i run ./myconfig, the following error is displayed :

    Broken Shell detected. Trying alternatives.
    Trying Shell bash
    Unknown option "-–extra-cflags=-mno-cygwin".

    As suggested in the link i tried various options but still i was not able to succeed.

    My environment is Win XP with :

    • MinGW-5.1.6,
    • bash-2.05b-MSYS,
    • MSYS-1.0.10,
    • ffmpeg-0.5

    EDIT :

    After certain changes in the above command by referring howto i was able to successfully run the make command and i found the following DLL's in their respective directory

    • ffmpeg\libavcodec\avcodec-51.dll
    • ffmpeg\libavformat\avformat-51.dll
    • ffmpeg\libavutil\avutil-49.dll

    But i didn't see any ffmpeg\ffmpeg.exe file :(

    What could have gone wrong ?