Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Les sons

    15 mai 2013, par
  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (6408)

  • How to embed additional metadata to a video file in libavcodec (FFmpeg C source code fork)

    7 mars 2023, par leavittx

    I'm extending an existing codec (Hap) inside ffmpeg library, adding some additional stuff to it (modifying FFmpeg code in my own fork of it)

    


    One of the things I'd like to do is to store a per-file maximum encoded packet size in some global header/metadata so I can use it later while doing decoding (generally, the metadata/info to store can be arbitrary, size is just what I currently need for some specialized decoder I'm writing).

    


    I'm modifying the ffmpeg code file
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/hapenc.c

    


    EDIT : What I'd like to achieve

    


      

    • Compute some numeric value during the encoding (namely, the maximum encoded frame size for the video - it's needed for a specialized fast decoder to not read all the frames beforehand) - that is done already
    • 


    • Store that value in the video file metadata (looks like it should be done on container level)
    • 


    


    My initial incorrect attempt :
But I don't currently see any possibility to save any info outside of a single packet being produced by hap_encode function and written to AVPacket *pkt parameter.

    


      

    1. Set dict parameter on AVCodecContext *avctx's priv_data :
    2. 


    


        av_opt_set_int(avctx->priv_data, "max_compressed_frame_size", <size>, 0);&#xA;    av_opt_set(avctx->priv_data, "max_compressed_frame_size", "", 0);&#xA;</size>

    &#xA;

    Later, while decoding av_opt_get/av_opt_get_int report non-existing key.

    &#xA;

      &#xA;
    1. Set various AVCodecContext *avctx fields :
    2. &#xA;

    &#xA;

        avctx->flags2 = <size>;&#xA;    avctx->extradata_size = <size>;&#xA;    avctx->ticks_per_frame = <size>;&#xA;    avctx->delay = <size>;&#xA;</size></size></size></size>

    &#xA;

    They all also seem to be not preserved when doing decoding later (I get just default values from decoder's AVCodecContext)

    &#xA;

  • More concise loop code.

    25 février 2012, par Sebastian Tschan

    m index.html m test/index.html More concise loop code.

  • Added code coverage tracking via Coveralls

    16 juin 2014, par JamesMGreene
    Added code coverage tracking via Coveralls
    

    Fixes #417.