Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (38)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (4922)

  • 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'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...

  • 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
  • Revision bf58d1725c : Revert "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :"""

    2 juillet 2014, par hkuang

    Changed Paths :
     Modify /test/user_priv_test.cc


     Modify /vp9/decoder/vp9_decoder.c


     Modify /vp9/decoder/vp9_dthread.h


     Modify /vp9/vp9_dx_iface.c



    Revert "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :"""

    This reverts commit 749e0c7b2883139afa14b4886bbd6a940d021f4f.

    Change-Id : I0c63a152baf94d38496dd925a40040366153bf4f