Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (91)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3074)

  • How to open MIL avi video fiile

    12 février 2017, par ahme0307

    I have some (AVI) videos with MIL(Matrox Imaging Library) codec. I have tried multiple codecs but i am not able to open.
    I have tried VLC, K-lite codecs,ffmpeg, here is the log file from k-Lite

    >##LAV Splitter Source (internal)::Video
    >
    >Media Type 0:
    >--------------------------
    >Video: MIL  256x256 5fps 489kbps
    >AM_MEDIA_TYPE:
    >majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
    >subtype: Unknown GUID Name {204C494D-0000-0010-8000-00AA00389B71}
    >formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
    >bFixedSizeSamples: 0
    >bTemporalCompression: 1
    >lSampleSize: 1
    >cbFormat: 128
    >
    >VIDEOINFOHEADER:
    >rcSource: (0,0)-(256,256)
    >rcTarget: (0,0)-(256,256)
    >dwBitRate: 489508
    >dwBitErrorRate: 0
    >AvgTimePerFrame: 2000000
    >
    >BITMAPINFOHEADER:
    >biSize: 80
    >biWidth: 256
    >biHeight: 256
    >biPlanes: 1
    >biBitCount: 24
    >biCompression: MIL
    >biSizeImage: 196608
    >biXPelsPerMeter: 0
    >biYPelsPerMeter: 0
    >biClrUsed: 0
    >biClrImportant: 0
    >
    >pbFormat:
    >
    >

    I also tried ffplay and here is the output
    enter image description here

    The only software i came across that can open this video is from Matrox and it doesn’t allow exporting to other formats
    enter image description here
    I appreciate if some one can direct me to codecs that can handle this videos. I would like convert to other video formats for further processing.

  • avformat_open_input cannot open a file with raw opus audio data

    4 novembre 2020, par bbdd

    I have a problem when trying to open a binary file containing raw audio data in opus format. When I try to open this file, the library returns an error : Unknown input format : opus.

    


    How can I open this file ?

    


    I need to open it and write all the raw audio data to an audio container. I understand that the opus format is intended only for encoding. I realized this using command :

    


    $ ffmpeg -formats | grep Opus

ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
  E opus Ogg Opus # For only encoding


    


    Then what format should I use to open this file ? With ogg ? I tried, but there are also problems with opening the outgoing file. I provide the code that shows only the necessary part to open the file :

    


    int main(int argc, char *argv[])
{
    // ...

    av_register_all();

    AVFormatContext *iFrmCtx = nullptr;
    AVFormatContext *oFrmCtx = nullptr;
    AVPacket packet;

    const char *iFilename = "opus.bin"; // Raw audio data with `opus` format
    const char *oFilename = "opus.mka"; // Audio file with `opus` audio format

    AVDictionary* frmOpts = nullptr;
    const qint32 smpRateErrorCode = av_dict_set_int(&frmOpts, "sample_rate", 8000,  0);
    const qint32 bitRateErrorCode = av_dict_set_int(&frmOpts, "bit_rate",    64000, 0);
    const qint32 channelErrorCode = av_dict_set_int(&frmOpts, "channels",    2,     0);
    if (smpRateErrorCode < 0 ||
            bitRateErrorCode < 0 ||
                channelErrorCode < 0) {
        return EXIT_FAILURE;
    }

    AVInputFormat *iFrm = av_find_input_format("opus"); // Error: Unknown input format
    if (iFrm == nullptr) {
        av_dict_free(&frmOpts);
        return EXIT_FAILURE;
    }

    qint32 ret = 0;
    if ((ret = avformat_open_input(&iFrmCtx, iFilename, iFrm, &frmOpts)) < 0) {
        av_dict_free(&frmOpts);
        return EXIT_FAILURE;
    }

    // We're doing something...
}


    


  • win32 : Allow other programs to open the same files

    20 janvier 2012, par Reimar Döffinger

    win32 : Allow other programs to open the same files