Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (68)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • GStreamer force decodebin2 output type

    6 septembre 2014, par user975326

    I’m trying to write a program in C which replicates the pipeline :

    gst-launch -v filesrc location="bbb.mp4" ! decodebin2 ! ffmpegcolorspace ! autovideosink

    DecodeBin2 has a dynamic pad and I’ve attached a callback to handle its creation. I am unable to link it to ffmpegcolorspace however because the pad capability is always video/quicktime. I would like it to be video/x-raw-yuv or something else which is compatible with ffmpegcolorspace.

    Is this possible to force/select the output type of decodebin2 ?

    Thanks.

    EDIT : Please do not recommend playbin. I’m trying to learn how how to make pipelines.

  • Incompatible Pointer Type Error, sws_scale, ffmpeg

    28 septembre 2011, par James Felix Black

    My code is very straightforward ; it consumes YUV420P data, resizes it, and produces a PNG or JPEG image (OS X Lion, Apple's gcc 4.2.1). It works fine ; I'm using ffmpeg (HEAD, as of mumble days ago), but when running in -pedantic-errors mode (which I like to do from time to time) :

    zc_libav.c:30: error: passing argument 2 of ‘sws_scale’ from incompatible pointer type

    Ouch ! Well, what's my code look like ?

    sws_scale(sws_ctx,
             in_pic->data,
             in_pic->linesize,
             0,
             in->y,
             out_pic->data,
             out_pic->linesize);

    (You can assume for the sake of argument that the in_pic and out_pic AVPicture structures have been properly initialized, as the code works).

    Well, what're the offending data types ?

    from libswscale/swscale.h :

    int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[], …

    from libavcodec/avcodec.h

    typedef struct AVPicture {
     uint8_t *data[4];
     int linesize[4];       ///< number of bytes per line
    } AVPicture;

    As I noted above, when I change -pedantic-errors to -pedantic, I get the same complaint, but the code compiles and runs correctly. For my own neurotic sanity, is there any way to get the advantages of -pedantic-errors and, you know, compile this code ?

  • mpegvideo_probe : dont be too picky on spec compliance and the lack of system startcodes.

    8 novembre 2011, par Michael Niedermayer

    mpegvideo_probe : dont be too picky on spec compliance and the lack of system startcodes.