[Matroska-devel] TCME low level file/file format input/output APIs
Jory
jcsston at wiesneronline.net
Fri Feb 6 22:43:06 CET 2004
Each filter in GStreamer has a gchar * name binded to a GValue.
Here's an excerpt from a fakesrc ! fakesink pipeline saved to .xml.
<gst:element>
<gst:name>fakesrc0</gst:name>
<gst:type>fakesrc</gst:type>
<gst:param>
<gst:name>name</gst:name>
<gst:value>fakesrc0</gst:value>
</gst:param>
<gst:param>
<gst:name>num-sources</gst:name>
<gst:value>1</gst:value>
</gst:param>
...
<gst:param>
<gst:name>last-message</gst:name>
<gst:value />
</gst:param>
<gst:pad>
<gst:name>src</gst:name>
<gst:peer>fakesink0.sink</gst:peer>
</gst:pad>
</gst:element>
I think the <gst:param> on the matroska de/muxer filter could be enough for
setting most the non-track related muxing options.
For the track related options, I see adding <gst:param>'s to the pads/pins
as a clean way to do it in the GStreamer framework without a lot of work.
>I noticed that you use timecodes (ns precision) in your API.
>When working on my previous dream :p I was unsure whether fixed
>timescales (here 1ns precision) or a rational system was better.
GStreamer uses ns precision for timecodes, as does DirectShow.
Later,
Jory
----- Original Message -----
From: "Moritz Bunkus" <moritz at bunkus.org>
To: <matroska-devel at lists.matroska.org>
Sent: Thursday, February 05, 2004 4:17 PM
Subject: Re: [Matroska-devel] TCME low level file/file format input/output
APIs
> Heya,
>
> Jory asked:
>
> 'I thought we were using gstreamer?'
>
> I thought we'd use it for all the audio/video processing stuff. But for
> the file formats? We'd have to enhance its API, I'd guess, a
> lot. Remember that we want to be able to take advantage of every feature
> Matroska has to offer.
>
> Maybe I'm wrong and the gstreamer API is already extensible, or maybe it
> has something similar to the 'track extensions' I was proposing. If so
> then there's no need for this API.
>
> Please could someone take a look at gstreamer? Thanks.
>
> Mosu
>
> --
> If Darl McBride was in charge, he'd probably make marriage
> unconstitutional too, since clearly it de-emphasizes the commercial
> nature of normal human interaction, and probably is a major impediment
> to the commercial growth of prostitution. - Linus Torvalds
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
More information about the Matroska-devel
mailing list