Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (81)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (11102)

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