Comprehensive documentation for WebM file specification

364 views
Skip to first unread message

Nick Adams

unread,
Oct 1, 2021, 10:39:15 AM10/1/21
to WebM Discussion
Hello, I am creating a video and audio editor in Java on Android and would like to support WebM files. Where can I find comprehensive documentation for the WebM file specification? Preferably something like this specification for Wav files where I can see the field size, offset, name, endianness, and a description of each field. 
Thank you hope everyone is well!

wavformat.png

James Zern

unread,
Oct 1, 2021, 5:05:30 PM10/1/21
to WebM Discussion
Hi Nick,

On Fri, Oct 1, 2021 at 7:39 AM Nick Adams <nickc.a...@gmail.com> wrote:
Hello, I am creating a video and audio editor in Java on Android and would like to support WebM files. Where can I find comprehensive documentation for the WebM file specification? Preferably something like this specification for Wav files where I can see the field size, offset, name, endianness, and a description of each field. 

The WebM container [1] is based on Matroska [2]. You should be able to find what you are looking for on those pages.
As far as Android is concerned the platform supports the format via MediaParser [3]. libwebm, libmatroska and ffmpeg's muxer/demuxer are good examples of native parsing.

 If you have any other questions please let us know.

 
Thank you hope everyone is well!

wavformat.png

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/b77b8eb8-ccc3-4a2f-a9db-0e0b7041df43n%40webmproject.org.

Matthew Heaney

unread,
Oct 5, 2021, 1:56:05 PM10/5/21
to webm-d...@webmproject.org

On Fri, Oct 1, 2021 at 7:39 AM Nick Adams <nickc.a...@gmail.com> wrote:
--

Steve Lhomme

unread,
Oct 5, 2021, 1:56:15 PM10/5/21
to webm-d...@webmproject.org
On 2021-10-01 23:05, 'James Zern' via WebM Discussion wrote:
> Hi Nick,
>
> On Fri, Oct 1, 2021 at 7:39 AM Nick Adams <nickc.a...@gmail.com
> <mailto:nickc.a...@gmail.com>> wrote:
>
> Hello, I am creating a video and audio editor in Java on Android and
> would like to support WebM files. Where can I find comprehensive
> documentation for the WebM file specification? Preferably something
> like this specification for Wav files where I can see the field
> size, offset, name, endianness, and a description of each field.
>
>
> The WebM container [1] is based on Matroska [2]. You should be able to
> find what you are looking for on those pages.

Also supporting WebM won't be as straightforward as supporting AVI with
fixed sizes. WebM/Matroska is based on EBML RFC8794 [4] which is more
like XML than RIFF. You can't deduce positions of elements that easily.

A proper specification of Matroska (on which WebM is based) is being
written at the IETF [5]. It will end up being the official specification
for the format.

> As far as Android is concerned the platform supports the format via
> MediaParser [3]. libwebm, libmatroska and ffmpeg's muxer/demuxer are
> good examples of native parsing.
>
>  If you have any other questions please let us know.
>
> [1] https://www.webmproject.org/docs/container/
> <https://www.webmproject.org/docs/container/>
> [2] https://matroska.org/ <https://matroska.org/>
> [3] https://developer.android.com/reference/android/media/MediaParser
> <https://developer.android.com/reference/android/media/MediaParser>

[4] https://www.rfc-editor.org/info/rfc8794
[5] https://datatracker.ietf.org/doc/draft-ietf-cellar-matroska/

>
> Thank you hope everyone is well!
>
> wavformat.png
>
> --
> You received this message because you are subscribed to the Google
> Groups "WebM Discussion" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to webm-discuss...@webmproject.org
> <mailto:webm-discuss...@webmproject.org>.
> <https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/b77b8eb8-ccc3-4a2f-a9db-0e0b7041df43n%40webmproject.org?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "WebM Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to webm-discuss...@webmproject.org
> <mailto:webm-discuss...@webmproject.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/CABWgkXJXq6_8U3ne5aAMREAt%2BQ2hL0%2B8tSS2RF32f_AEGh6R1Q%40mail.gmail.com
> <https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/CABWgkXJXq6_8U3ne5aAMREAt%2BQ2hL0%2B8tSS2RF32f_AEGh6R1Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.


Reply all
Reply to author
Forward
0 new messages