Recherche avancée

Médias (91)

Autres articles (106)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (8957)

  • doc/examples/decoding_encoding : Check all av_samples_get_buffer_size() returns

    31 janvier 2014, par Michael Niedermayer
    doc/examples/decoding_encoding : Check all av_samples_get_buffer_size() returns
    

    Fixed CID1135755
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/examples/decoding_encoding.c
  • avfilter/vf_corr : for all zero returns zero score instead of 1

    3 décembre 2023, par Paul B Mahol
    avfilter/vf_corr : for all zero returns zero score instead of 1
    
    • [DH] libavfilter/vf_corr.c
  • libavcodec avcodec_open2 returns -22

    28 juillet 2012, par buchtak

    I am trying to learn how to encode video using libavcodec library. I use the following initialization :

    avcodec_register_all();

    // This works fine.
    AVCodec *avcodec = avcodec_find_encoder( CODEC_ID_H264 );

    AVCodecContext *avctx = avcodec_alloc_context3( avcodec );
    avctx->bit_rate      = 400000;
    avctx->width         = 640;
    avctx->height        = 480;
    avctx->time_base.den = 15;
    avctx->time_base.num = 1;
    avctx->gop_size      = 10;
    avctx->max_b_frames  = 1;
    avctx->pix_fmt       = PIX_FMT_YUV420P;
    av_opt_set( avctx->priv_data, "preset", "slow", 0 );

    // ret should be zero, but it&#39;s negative
    int ret = avcodec_open2( avctx, avcodec, NULL );

    However, avcodec_open2(...) always returns a negative value. The avcodec_find_encoder(...) works fine and the returned pointer is not NULL. I use Win7 x64, 64-bit Zeranoe FFmpeg build from

    http://ffmpeg.zeranoe.com/builds/

    According to the readme the FFmpeg version is 2012-06-22 git-c17808c built with --enable-libx264. I also tried CODEC_ID_MPEG1VIDEO and changing some of the initialization parameters, but no matter what I do, the avcodec_open2(...) always returns value -22. The decoding/encoding example provided with the Zeranoe build (it's the same one as http://ffmpeg.org/doxygen/trunk/api-example_8c-source.html) does not work either...