Recherche avancée

Médias (91)

Autres articles (39)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (8442)

  • avcodec/mpegvideo_enc : Fix abort on allocation errors

    5 octobre 2023, par Andreas Rheinhardt
    avcodec/mpegvideo_enc : Fix abort on allocation errors
    

    mpegvideo_enc uses a fixed-size array of Pictures ; a slot is
    considered taken if the Picture's AVFrame is set.
    When an error happens after a slot has been taken, this Picture
    has typically not been reset and is therefore not usable for
    future requests. The code aborts when one runs out of slots
    and this can happen in case of allocation failures.
    Fix this by always unreferencing a Picture in case of errors.

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

    • [DH] libavcodec/mpegvideo_enc.c
  • hw_base_encode : make recon_frames_ref optional

    30 août 2024, par Lynne
    hw_base_encode : make recon_frames_ref optional
    

    Vulkan supports some stupidly odd hardware, that unfortunately,
    most modern GPUs happen to be.
    The DPB images for encoders may be required to be preallocated
    all at once, and rather than be individual frames, be layers of
    a single frame.

    As the hw_base_encode code is written with the thought that either
    the driver or the device itself supports sane image allocation,
    Vulkan does not leave us with this option.

    So, in the case that the hardware does not support individual
    frames to be used as DPBs, make the DBP frames context optional,
    and let the subsystem manage this.

    • [DH] libavcodec/hw_base_encode.c
  • FFmpeg change resolution

    15 mars 2012, par Iva

    I have changed resolution video using next code :

    pFrameOut = avcodec_alloc_frame();
    avpicture_fill((AVPicture *)pFrameOut, video_outbuf, PIX_FMT_YUV420P, video_width_out, video_height_out );          
    avcodec_decode_video2( pCodecCtx, pFrame, &amp;frameFinished, &amp;packet );                
    if(frameFinished)  // Did we get a video frame?
    {

       static struct SwsContext *img_convert_ctx_in = NULL;
       if (img_convert_ctx_in == NULL)
       {
           img_convert_ctx_in =sws_getContext( pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt,video_width_out, video_height_out, PIX_FMT_YUV420P, SWS_BICUBIC,NULL, NULL, NULL );            
           if (img_convert_ctx_in == NULL)
           {
               LOGI(10,"naInitFile::Could no create Software Scale Context");
               return ;
           }
       }

       retval = sws_scale(img_convert_ctx_in, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameOut->data, pFrameOut->linesize);
       SaveVideoFrame();
    }//end  if(frameFinished)  

    But after that time of play increased twofold. Why it could happen ?