Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (74)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (6398)

  • 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

  • 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
  • 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);
    }