
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (78)
-
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (10597)
-
How to embed additional metadata to a video file in libavcodec (FFmpeg C source code fork)
7 mars 2023, par leavittxI'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 toAVPacket *pkt
parameter.

- 

- Set dict parameter on
AVCodecContext *avctx
'spriv_data
:




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


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

- 

- Set various
AVCodecContext *avctx
fields :




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


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

-
avcodec/mobiclip : Rewrite code to make it clearer
18 novembre 2021, par Andreas Rheinhardtavcodec/mobiclip : Rewrite code to make it clearer
In order to know that the earlier code did not use uninitialized
values one needs to know that the lowest four bits of each used
value of pframe_block4x4_coefficients_tab do not vanish identically.
E.g. Coverity did not get this and warned about it in ticket #1466632.
Fix this by slightly rewriting the code.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
ftp: move common commands code to function
29 mai 2013, par Lukasz Marek