Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (82)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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

Sur d’autres sites (8574)

  • How to get the codec header size from a webm (vp9) stream using Ffmpeg api

    12 septembre 2023, par Anildas

    How to extract codec info like header size and total frames from a webm vp9 video stream ?

    


    For this I'm loading the video using avio_alloc_context and avformat_open_input and extracting info by doing this :

    


    ...

// Initializations

AVStream* videoStream = formatContext->streams[videoStreamIndex];
AVCodecParameters* videoCodecParams = videoStream->codecpar;

headerSize = videoCodecParams->extradata_size;
totalFrames = videoStream->nb_frames;
...



    


    But extradata_size and nb_frames return 0 for Webm/VP9 stream (works for MP4/H.264).

    


    How do I get the headersize here for VP9 ?

    


    The goal is to extract the following :

    


      

    • Codec header size (size of the data before the 1st compressed frame)
    • 


    • Total no of frames.
    • 


    


    For total frames, I can maybe decode the video and count the frames manually - good to know if there's a better way.

    


    I read it somewhere that this is due to VP9 not storing parameter set (SPS, PPS..) like H.264.
In that case, doesn't Vp9/webm have a codec header at all ?

    


  • Revision 3b2e73b9a4 : Remove tx cache and speed up tx size selection 1. The RD scores obtained during

    29 juillet 2015, par Yunqing Wang

    Changed Paths :
     Modify /vp9/encoder/vp9_context_tree.h


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_rdopt.c



    Remove tx cache and speed up tx size selection

    1. The RD scores obtained during the tx size selection were stored in the
    tx cache, and used to help make the tx decision for the following frames.
    This wasn’t used anymore in VP9 encoder. Recovered the related decision
    making code from 1.5+ years ago, and borg tests didn’t show any quality
    gain. This patch removed it to lower the complexity.

    2. An optimization was done after the above refactoring. If the tx_mode
    is not TX_MODE_SELECT, we only need to test the chosen tx size instead
    of all posible tx sizes. This gave a 1.5% average speed gain at speed 2,
    and a 1% average speed gain at speed 3.

    Change-Id : Id8cd650e066a8cef33829d8c15388a8138adc78c

  • avfilter/vf_showinfo : check sd->size before reference the sd->data

    4 juillet 2020, par Limin Wang
    avfilter/vf_showinfo : check sd->size before reference the sd->data
    

    Or it'll cause null pointer dereference if size < sizeof(uint32_t), also
    in case tc[0] > 3, the code will report error directly.

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavfilter/vf_showinfo.c