Recherche avancée

Médias (91)

Autres articles (109)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (16118)

  • 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, &frameFinished, &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 ?

  • doc/issue_tracker : update resolution names

    25 octobre 2013, par Michael Niedermayer
    doc/issue_tracker : update resolution names
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/issue_tracker.txt
  • ffmpeg change resolution by condition

    22 décembre 2013, par Alexey Lisikhin

    I want to change my video resolution with ffmpeg :

    -s 852×480

    How can I do it only when video width or height greater than 852×480 ?

    I want something like this with ffmpeg, not with my programming language :

    if video.width > 852:
      resize width and proportionally resize height

    if video.height > 480:
      resize height and proportionally resize width

    if video.width > 852 and video.height > 480:
      resize height width