[gst-devel] A horrible request... GstAppSink/Src
Kyle Mallory
kyle.mallory at utah.edu
Fri Nov 16 21:44:09 CET 2007
I know I'm asking a lot. And I'm sorry to join and post right away,
but...
I'm starting a plugin for an app (not a gstreamer plugin) to read and
eventually write audio/video data using gstreamer. I basically need to
take a file, read/decode, and pass raw frames, and raw audio from it
into the application.
I'm very new to developing for GStreamer. I'm writing in C. It seems
GstApp is the tool of choice, to keeps things light and manageable.
But I can't seem to find any documentation about how to use it, beyond
that it is part of the BAD module (which is fine, btw, for now).
My immediate questions are, is GstApp even usable as a sink, and can it
be used for both Audio and Video from the same filesrc? How does this
work (did I say I'm a noob?)
In the mailing list archives, I saw a post about "random access". Can
GstApp do random access (since this is a function of the 'decodebin' I
would think so, but I want to make sure)?
Can anyone here help me with a little "getting started using GstApp?"
Maybe some code examples of its use, etc? I've been through the
documentation, but everything there uses a sink that handles the data
internally (alsasink, etc), nothing where I have to actually touch the
data myself.
Gstreamer theory is easily understandable, but when I get around to
thinking about all the events, and pads, and properties, it gets to be
rather confusing, rather fast (I'm a native-C guy, not so familiar with
Gtk/GObject etc).
Thanks, (and please, be gentle).
Kyle
More information about the gstreamer-devel
mailing list