Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

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

Autres articles (58)

  • 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

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7008)

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

  • smackaud : use uint8_t* for 8-bit output buffer type

    9 novembre 2011, par Justin Ruggles

    smackaud : use uint8_t* for 8-bit output buffer type