Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (55)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • 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

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (7781)

  • pixfmt : Support chroma-derived and ictcp color matrices

    8 août 2017, par Vittorio Giovara
    pixfmt : Support chroma-derived and ictcp color matrices
    

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DBH] libavutil/pixdesc.c
    • [DBH] libavutil/pixfmt.h
    • [DBH] libavutil/version.h
  • mjpeg video from ip camera decoding use ffmpeg color display error

    17 avril 2015, par Evan

    I use ffmpeg to decode camera mjpeg,and the picture color is missed

    init
    ====
    av_register_all();
    //
    MJPEG_Decoder_Handle *pHandle = (MJPEG_Decoder_Handle *)malloc(sizeof(MJPEG_Decoder_Handle));
    // Init
    pHandle->codec = avcodec_find_decoder(AV_CODEC_ID_MJPEG);
    pHandle->codecContext = avcodec_alloc_context3(pHandle->codec);
    pHandle->picture = av_frame_alloc();
    pHandle->codecContext->width = 640;
    pHandle->codecContext->height = 480;
    pHandle->codecContext->codec_id = CODEC_ID_MJPEG;
    pHandle->codecContext->pix_fmt = AV_PIX_FMT_YUV410P;

    // open this context
    if (avcodec_open2(pHandle->codecContext, pHandle->codec, NULL)) {
       printf("Could not open codec\n");
       return -1;
    }

    pHandle->frame_count = 0;
    printf("VideoDecoder init Successful!\n");

    decode
    ===
    MJPEG_Decoder_Handle *pHandle = (MJPEG_Decoder_Handle *)dwHandle;

    pHandle->avpkt.size = nInSize;
    pHandle->avpkt.data = pDataIn;

    pHandle->comsumedSize = avcodec_decode_video2(pHandle->codecContext, pHandle->picture, &amp;pHandle->got_picture, &amp;(pHandle->avpkt));

    avpicture_layout((AVPicture *)pHandle->picture, pHandle->codecContext->pix_fmt, pHandle->codecContext->width, pHandle->codecContext->height, pDataOut, nOutSize);

    conver and display
    ==
    if (decode(handle, pFrameBuffer, nBufferLen, buffOut, outSize, &amp;nWidth, &amp;nHeight) == 0) {
           ConvertYUV2RGB(buffOut, rgbBuffer, nWidth, nHeight);
           flip(rgbBuffer, nWidth, nHeight);
           [display decodeOneFrame:rgbBuffer];
       }

    struct
    ===

    typedef struct
    {
    struct AVCodec          *codec;
    struct AVCodecContext   *codecContext;
    int                     frame_count;
    struct AVFrame          *picture;
    AVPacket                avpkt;

    int     iWidth;
    int     iHeight;
    int     inSize;
    int     comsumedSize;
    int     got_picture;
    uint8_t inbuf[INBUF_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
    uint8_t *inbuf_ptr;
    char    buf[1024];
    } MJPEG_Decoder_Handle;
  • Trim video around pixel color at specified coordinate [closed]

    22 février 2020, par Modf

    I have some videos I would like to trim programatically. They have a keyboard/mouse overlay. The overlay changes colour in response to keypresses, for example, when left mouse is pressed, it looks like this :

    enter image description here

    I want to remove all frames from the video except those that are within one second of a left mouse press frame (as pictured above, where the left mouse button is now filled with the yellow colour).

    Can this be achieved with ffmpeg filters ?