Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (82)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5974)

  • 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, &pHandle->got_picture, &(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, &nWidth, &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;
  • FFMPEG converts HEVC with Alpha mov to PNG sequence not work well

    22 juillet 2023, par topfortune

    I have a mov file with HEVC with Alpha codec on Mac. The mov file has no background color, but have some foreground contents in it. I want to use FFMPEG to grab some PNG pictures from it. Following is the command line I used to grab the first image from the video.

    


    ffmpeg -i hevc-alpha-video.mov -r 1 -pix_fmt rgba -frames:v 1 out.png

    


    I can get the output PNG picture. But it has black background color. What I want is the transparent background PNG picture.

    


    Do you have any idea to handle this ? Thanks.

    


  • Revision 1c39998e39 : Add vp9_int_pro_col_neon. BUG=https://code.google.com/p/webm/issues/detail?id=1

    15 juillet 2015, par Frank Galligan

    Changed Paths :
     Modify /test/vp9_avg_test.cc


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/encoder/arm/neon/vp9_avg_neon.c



    Add vp9_int_pro_col_neon.

    BUG=https://code.google.com/p/webm/issues/detail?id=1023

    Change-Id : I212a1d67b23ce3b5ce08800de369b25b9e375e7d