Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (108)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6626)

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

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