Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (106)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (9203)

  • Revision 6d3bd96607 : BITSTREAM - CLARIFICATION OF MV SIZE RANGE The codec should effectively run wit

    28 septembre 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_entropymv.h


     Modify /vp9/decoder/vp9_decodemv.c



    BITSTREAM - CLARIFICATION OF MV SIZE RANGE

    The codec should effectively run with motion vector of range (-2048, 2047)
    in full pixels, for sequences of 1080p and below. Add assertions to clarify
    this behavior.

    Change-Id : Ia0cac28249f587d8f8882205228fa480263ab313

  • Revision 42f31923b0 : BITSTREAM - CLARIFICATION OF MV SIZE RANGE The codec should effectively run wit

    28 septembre 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_entropymv.h


     Modify /vp9/decoder/vp9_decodemv.c



    BITSTREAM - CLARIFICATION OF MV SIZE RANGE

    The codec should effectively run with motion vector of range (-2048, 2047)
    in full pixels, for sequences of 1080p and below. Add assertions to clarify
    this behavior.

    Change-Id : Ia0cac28249f587d8f8882205228fa480263ab313

  • libav/ffmpeg : avcodec_decode_video2() returns -1 when separating demultiplexing and decoding

    26 avril 2013, par unbekannt

    I'm using libav (from a C++ program on Linux and Windows) to decode video streams from a file, which works fine (decoding various formats like H264 and MPEG2) using avformat_open_input(), av_read_frame() and avcodec_decode_video2().

    Now I have to separate demultiplexing and decoding. One class will call avformat_open_input() and av_read_frame() and then pass the AVPackets into a queue that is read by another class. There I use avcodec_alloc_context3() to get the AVCodecContext needed for avcodec_decode_video2(). I've tested that with a MPEG2 video stream and it works.

    Problems arise if I try to decode a H264 stream : avcodec_decode_video2() always returns -1 and outputs "no frame". I understand that additional data (SPS/PPS) is needed to decode this stream, so I've tried to replicate the original AVCodecContext from the demultiplexer in the decoder, but it won't work :

    • Copying the content of the extradata field and setting all other values that differ from the default ones in the decoder : -1 is returned
    • Using the same context (i.e. passing along the pointer) results in a crash

    I also tried to set CODEC_FLAG2_CHUNKS. avcodec_decode_video2() then always returns packet.size - 3 (??) and frameFinished is never set to 1.

    In my opinion I have a general problem here that will arise whenever settings from the original CodecContext are needed to decode the AVPackets. I'd be grateful for any hints on how to solve that problem !

    EDIT : Sometimes writing down your problem helps solving it... Using a copy of the context struct (avcodec_copy_context) and opening the codec only after receiving the copy results in decoded frames. Does anyone know if that is safe or the best way to do it ?