Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (58)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6824)

  • How to save a vedostream on an event using ffmpeg

    26 janvier 2015, par Ludo

    I want to record short video sequences of an online stream (IP CCTV or Internet) on a defined event.

    For example : I want to have two minutes before and one minute after an event occures stored in a output file.

    Is it possible to do this using ffmpeg (avconv) and what are the parameters to use.

    Thanks for your help !

  • Correct way to dump yuv values after avcodec_decode_video2

    27 juin 2017, par Peter

    I am decoding H.265 raw data :

    avcodec_decode_video2(decoderCtx, pictYUV, &gotPicture, &packet)

    After the call, the value for pictYUV->format is AV_PIX_FMT_YUV420P as expected.

    I dump raw yuv values to a file as follows :

    fwrite(pictYUV->data[0], 1, w*h, f);
    fwrite(pictYUV->data[2], 1, w*h/4, f);
    fwrite(pictYUV->data[1], 1, w*h/4, f);

    For an input size of 640x480, when the file is viewed (using ImageMagick display utility), the image is what was expected.

    However, for an input size of 864x480, the image appears to be corrupted.

    What is interesting is if I run pictYUV through sws_scale, and dump the resulting yuv output, the image appears to be fine.

    sws_scale(swsCtx, pictYUV->data, pictYUV->linesize, 0, pictYUV->height,
     pictNewYUV->data, pictNewYUV->linesize);

    All I need is yuv data. I am hoping I can avoid the extra call to sws_scale. Wondering what is it that I am missing. Regards.

  • How to manipulate YUV frames obtained from an ffmpeg video decoder ?

    23 juillet 2014, par user3665376

    I wanted to apply effects on video while rendering on android . I decoded the mpeg4 video using ffmpeg to raw YUV(YUV420P) frames .

    I modified the Y(luminescence) bytes using the below snippet and rendered it to screen after converting it to RGB frames .

    AVFrame *frame = [YUV420P frame recieved from ffmpeg decoder]
    uint8_t *tempPtr = NULL;
    tempPtr = frame->data[0];
    int j;
    for(j = 0 ; j < frame->linesize[0] ; j++){
       *(tempPtr++) = 1;
    }

    I applied a Y value of 1 to all pixels of all frames . I expected an output video of low luminescence ie.much darker video . But I was not able to notice any change in luma of the rendered video .

    Note : The YCbCr data planes at AVFRame.data[0] , AVFrame.data[1] , Avframe.data[2] of the decoded frame has expected values . The AVFrame.buf pointers were all pointing to NULL (Don’t know whether it has anything to do with data).

    Wanted to know whether anybody has encountered this situation before ??Links to related opics also will be very much helpful.

    Thanks.