Recherche avancée

Médias (91)

Autres articles (49)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (12664)

  • 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
  • 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

    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 ?