%BOOK_ENTITIES; ]>
Codecs
Introduction Software centers might want to special-case codec handling. Therefore, we provide a component type for them. Codecs can ship one or more files in /usr/share/metainfo/%{id}.metainfo.xml. Codec metadata files can – just like all other metainfo files – be translated. See the section about translation for more information.
Example file A codec metainfo file should look like this: org.freedesktop.gstreamer.codecs-good CC0 GStreamer Multimedia Codecs - Extra

This addon includes several additional codecs that are missing something - perhaps a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use. However, they might be good enough to play your media files.

These codecs can be used to encode and decode media files where the format is not patent encumbered.

A codec decodes audio and video for for playback or editing and is also used for transmission or storage. Different codecs are used in video-conferencing, streaming media and video editing applications.

encoder-audio/mpeg mpegversion=(int){ 4, 2 } stream-format=(string){ adts, raw } encoder-video/mpeg systemstream=(boolean)false mpegversion=(int){ 1, 2, 4 } encoder-video/mpeg systemstream=(boolean)true encoder-video/x-xvid element-faac element-mpeg2enc element-mplex element-xviddec element-xvidenc
]]>
File specification Note that the XML root must have the type property set to codec. This clearly identifies this metainfo document as describing a codec. <id/> For codecs, the %{id} must follow the component-id naming conventions (see ). <metadata_license/> The <metadata_license/> tag is required. See for a description of this tag. <provides/> ↪ <codec/> This tag is described for generic components at in detail. You must add one or more children of type <codec/> to make it known to the system that your software is able to provide the mentioned codecs. Adding this data is required for all components of type=codec. For a component of type codec, the following tags are required and must be present: , , , , .