Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (86)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (13218)

  • Sdd watermark to YUV video data (SDL_Overlay) programmatically

    2 septembre 2012, par user325320

    My application plays video via SDL + ffmpeg library(not the exe tool).

    and I want to add the text onto the video

    The ffmpeg's VHOOK source code shows it converts the data to RGB32.
    Can't it be done in YUV directly ?

    Here my current code, can you please give me some suggestion ?

    SDL_Overlay * pOverlay = SDL_CreateYUVOverlay( pDecodedFrame->width
               , pDecodedFrame->height
               , SDL_YV12_OVERLAY
               , pThis->m_pSurface
               );
    if( pOverlay != NULL )
    {
       SDL_LockYUVOverlay(pOverlay);

       pSwsContext = sws_getCachedContext( pSwsContext
           , pDecodedFrame->width
           , pDecodedFrame->height
           , pThis->m_pMediaFile->GetVideoPixcelFormat()
           , pDecodedFrame->width
           , pDecodedFrame->height
           , PIX_FMT_YUV420P
           , SWS_SPLINE
           , NULL
           , NULL
           , NULL
           );

       AVPicture tPicture;
       tPicture.data[0] = pOverlay->pixels[0];
       tPicture.data[1] = pOverlay->pixels[2];
       tPicture.data[2] = pOverlay->pixels[1];

       tPicture.linesize[0] = pOverlay->pitches[0];
       tPicture.linesize[1] = pOverlay->pitches[2];
       tPicture.linesize[2] = pOverlay->pitches[1];

       int nSliceHeight = sws_scale( pSwsContext
           , pDecodedFrame->data
           , pDecodedFrame->linesize
           , 0
           , pDecodedFrame->height
           , tPicture.data
           , tPicture.linesize
           );


       SDL_UnlockYUVOverlay(pOverlay);
       VideoPicture tVideoPicture = {0};
       tVideoPicture.pOverlay = pOverlay;
       tVideoPicture.nWidth = pDecodedFrame->width;
       tVideoPicture.nHeight = pDecodedFrame->height;
       tVideoPicture.dbPTS = dbPTS;

       pThis->m_pVideoPictureQueue.Append(tVideoPicture);
    }
  • avcodec/webvttenc : Don't copy data around unnecessarily

    17 février 2024, par Andreas Rheinhardt
    avcodec/webvttenc : Don't copy data around unnecessarily
    

    Using av_bprint_init_for_buffer() avoids copying data
    into the internal AVBPrint buffer (or worse : to allocate
    a temporary buffer in case the internal buffer does not
    suffice). It also ensures that the data is always
    0-terminated.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/webvttenc.c
  • How to flush buffer data to disk when using FFmpeg to write a mp4 file ?

    9 juin 2016, par Sean

    I am using FFmpeg to write a mp4 file, I grab bitmap images from remote IP camera and encode it by h.264, the media container is mp4 file, no problem to generate the MP4 file if I only record several minutes, the problem is FFmpeg never flushs buffer data to disk when I call method "av_interleaved_write_frame"(all encoded data in memory, never free them), only when I call method "avio_close(oc->pb) ;", it will flush all encoded data to disk, I tried to call method "avcodec_flush_buffers" every time after calling "av_interleaved_write_frame", but no effect. I am newbie to FFmpeg, if you are familiar with FFmpeg, please help me.

    thanks in advance.

    Sean