Thanks David! That's exactly what I was looking for.

On Thu, Dec 30, 2010 at 11:23 PM, David Schleef <> wrote:
On Thu, Dec 30, 2010 at 08:35:21PM -0800, David Zhao wrote:
> Hello,
> I'm trying to build a GStreamer plugin that would produce segments of MPEGTS
> files, each with a fixed duration. This is to create TS segments for the
> Apple HTTP live streaming protocol. I'm fairly new to developing for
> GStreamer and have a basic understanding of how it works.
> The approach I had in mind is to create a plugin that includes both
> mpegtsmux and filesink. Within that plugin, it could produce individual ts
> files when certain duration is accumulated.
> Is this feasible? Is there another way to do this without having to
> replicate code that's already in mpegtsmux and filesink?

gst-launch ... ! mpegtsmux ! multifilesink next-file=key-frame \


Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
gstreamer-devel mailing list