Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (69)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11219)

  • Revision 1eb6e683f2 : Add superframe support for frame parallel decoding. A superframe is a bunch of

    13 juin 2014, par hkuang

    Changed Paths :
     Modify /vp9/vp9_dx_iface.c



    Add superframe support for frame parallel decoding.

    A superframe is a bunch of frames that bundled as one frame. It is mostly
    used to combine one or more non-displayable frames and one displayable frame.

    For frame parallel decoding, libvpx decoder will only support decoding one
    normal frame or a super frame with superframe index.

    If an application pass a superframe without superframe index or a chunk
    of displayable frames without superframe index to libvpx decoder, libvpx
    will not decode it in frame parallel mode. But libvpx decoder still could
    decode it in serial mode.

    Change-Id : I04c9f2c828373d64e880a8c7bcade5307015ce35

  • Anomalie #3205 : [Plugin-dist Mots] Incompatibilité avec l’API d’édition d’objet ?

    18 juillet 2014, par marcimat ☺☮☯♫

    Hum, en SPIP 3.1-dev, tout comme en 3.0, j’optiens une erreur SQL :
    ERREUR : table spip_groupes_mots has no column named date - INSERT INTO spip_groupes_mots (maj,date,titre,tables_liees) VALUES (datetime(’now’),’2014-07-18 14:58:21’,’Mon super titre’,’articles’)

    Effectivement, les fonctions sont nommées groupemots_xxx(), ce qui ne me semble pas correct, car le texte d’objet déclaré pour la table groupes_mots est bien ’groupe_mots’, avec un espace.

    Je suppose qu’il y a eu ici confusion avec les fonctions d’autorisations, qui elles « mangent » les soulignés, par exemple autoriser_groupemots_supprimer_dist()… Ici l’absence du souligné est du au fonctionnement des autorisations.

  • FFMpeg reading frames from avi files

    6 août 2014, par konsti

    I’m trying to read frames of movies and it is working for all formats except avi.

    When opening avi files I always get the message :

    [mpeg4 @ 0x1030e4e00] Video uses a non-standard and wasteful way to store B-frames (’packed B-frames’). Consider using a tool like VirtualDub or avidemux to fix it.
    [mpeg4 @ 0x1030e4e00] warning : first frame is no keyframe

    What do I have to do to get frames from avi files ?

    Here is my code :

    -(id)initWithVideo:(NSString *)moviePath {

    if (!(self=[super init])) return nil;

    AVCodec         *pCodec;

    // Register all formats and codecs
    avcodec_register_all();
    av_register_all();


    // Open video file

    pFormatCtx = avformat_alloc_context();
    if(avformat_open_input(&pFormatCtx, [moviePath UTF8String], NULL, NULL)!=0)
       goto initError; // Couldn't open file


    // Retrieve stream information
    if(avformat_find_stream_info(pFormatCtx, NULL)<0)
       goto initError; // Couldn't find stream information

    // Find the first video stream
    videoStream=-1;
    for(int i=0; inb_streams; i++)
       if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO)
       {
           videoStream=i;
           break;
       }
    if(videoStream==-1)
       goto initError; // Didn't find a video stream

    // Get a pointer to the codec context for the video stream
    pCodecCtx=pFormatCtx->streams[videoStream]->codec;

    // Find the decoder for the video stream
    pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
    if(pCodec==NULL)
       goto initError; // Codec not found

    AVDictionary *optionsDict = NULL;

    // Open codec
    if(avcodec_open2(pCodecCtx, pCodec, &optionsDict)<0)
       goto initError; // Could not open codec

    // Allocate video frame
    pFrame=av_frame_alloc();

    outputWidth = pCodecCtx->width;
    self.outputHeight = pCodecCtx->height;

    return self;

    initError :
    NSLog(@"an error occurred") ;
    return nil ;
    }