Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (54)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (3873)

  • 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);
    }
  • Strange error [adding watermark to flv video with ffmpeg on linux centos 6]

    20 juillet 2012, par igor

    I have tried to do the job with following code :

    ffmpeg -i /home/igordr/video.flv -vf "movie=/home/igordr/wm.jpg [watermark]; [in][watermark] overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2 [out]" /home/igordr/outputvideo.flv

    Also tried :

    ffmpeg -i /home/igordr/video.flv -b:a 300k -ar 22050 -t 10 -f flv -s 352x288 -vf "movie = /home/igordr/wm.png [watermark]; [in][watermark] overlay =0:0 [out]" /home/igordr/out.flv

    I get errors :

    Unrecognized option 'vf'

    Unrecognized option 'b:a'

    Also, I am interested, how I can add just one big image, before video starts, without watermark, and does it possible ?

    How can i check ffmpeg version, and install new one if it's old ?

  • FFMPEG audio not working when adding watermark

    19 novembre 2013, par Anisha Virat

    I can successfully add watermark to mp4 video , But Audio is not working in new mp4.please help me out.And also please tell me is there way to compress a file during this conversion..60mb file is converted to 110 mb file while adding watermark.

    print exec('/usr/local/bin/ffmpeg -y -i video.mp4 -vf "movie=hi.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" video1.mp4');