[FFmpeg-devel] [PATCH 13/14] tools: add XLSTs script to generate matroska semantic files

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Mar 22 12:34:19 EET 2020


Am So., 22. März 2020 um 10:02 Uhr schrieb Steve Lhomme <robUx4 at ycbcr.xyz>:
>
> From: Steve Lhomme <robux4 at ycbcr.xyz>
>
> Usage:
> xsltproc -o matroska_ids.h schema_2_lavf_h.xsl ebml_matroska.xml
> xsltproc -o matroskasem.c schema_2_lavf_sem_c.xsl ebml_matroska.xml
>
> The ebml_matroska.xml file comes from
> https://github.com/cellar-wg/matroska-specification/blob/master/ebml_matroska.xml
> With an extra TagDefault_Bug element to parse an old invalid tag ID.

>  tools/ebml_matroska.xml       | 1344 +++++++++++++++++++++++++++++++++

I would have expected that this file is not part of the FFmpeg source code.

>  tools/schema_2_lavf_h.xsl     |  741 ++++++++++++++++++
>  tools/schema_2_lavf_sem_c.xsl | 1163 ++++++++++++++++++++++++++++
>  3 files changed, 3248 insertions(+)
>  create mode 100644 tools/ebml_matroska.xml
>  create mode 100644 tools/schema_2_lavf_h.xsl
>  create mode 100644 tools/schema_2_lavf_sem_c.xsl

Carl Eugen


More information about the ffmpeg-devel mailing list