Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (6379)

  • lavfi/selectivecolor : rename adjust_range to scale

    31 décembre 2016, par Clément Bœsch
    lavfi/selectivecolor : rename adjust_range to scale
    

    This variable corresponds to the final scale of the adjustement for a
    given color range.

    • [DH] libavfilter/vf_selectivecolor.c
  • How to scale watermark in percent with ffmpeg ? [duplicate]

    31 décembre 2015, par user3390767

    This question already has an answer here :

    I run a video site, but watermark logo still in different sizes in every video with different resolution.
    My question : is there a way to scale watermark image in every video by some kind of percentage ?
    I use next command :

    /usr/bin/ffmpeg -i video_in.mp4 -f mp4 -vcodec libx264 -r 30 -movflags
    faststart -profile:v baseline -vf "movie=logo.png, scale=200:37
    [watermark] ; [in][watermark] overlay=10:10 [out]" -s 640x360 -acodec
    libfaac -ab 128k -ar 44100 video_out.mp4

    So as you see the scale of watermark is static, but I want to make it dynamic. Is there way to do this in percentage by depending of video resolution ?

    Cheers !

  • ffmpeg : RGB to YUV conversion loses color and scale

    27 avril 2015, par learner

    I am trying to convert RGB frames to YUV420P format in ffmpeg/libav. Following is the code for conversion and also the images before and after conversion. The converted image loses all color information and also the scale changes significantly. Does anybody have idea how to handle this ? I am completely new to ffmpeg/libav !

    // Did we get a video frame?
      if(frameFinished)
      {
          i++;
          sws_scale(img_convert_ctx, (const uint8_t * const *)pFrame->data,
                    pFrame->linesize, 0, pCodecCtx->height,
                    pFrameRGB->data, pFrameRGB->linesize);                  

          //==============================================================
          AVFrame *pFrameYUV = avcodec_alloc_frame();
          // Determine required buffer size and allocate buffer
          int numBytes2 = avpicture_get_size(PIX_FMT_RGB24, pCodecCtx->width,                                
                                             pCodecCtx->height);
          uint8_t *buffer = (uint8_t *)av_malloc(numBytes2*sizeof(uint8_t));

          avpicture_fill((AVPicture *)pFrameYUV, buffer, PIX_FMT_RGB24,
                          pCodecCtx->width, pCodecCtx->height);


          rgb_to_yuv_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height,  
                                          PIX_FMT_RGB24,
                                          pCodecCtx->width,pCodecCtx->height,
                                          PIX_FMT_RGB24,
                                          SWS_BICUBIC, NULL,NULL,NULL);

          sws_scale(rgb_to_yuv_ctx, pFrameRGB->data, pFrameRGB->linesize, 0,
                    pCodecCtx->height, pFrameYUV->data, pFrameYUV->linesize);

          sws_freeContext(rgb_to_yuv_ctx);

          SaveFrame(pFrameYUV, pCodecCtx->width, pCodecCtx->height, i);

          av_free(buffer);
          av_free(pFrameYUV);
      }

    original RGB24 frame

    frame after RGB24- width='300' height='220' />YUV420P conversion