[gst-devel] GStreamer / C++ example ?
Christian Fredrik Kalager Schaller
uraeus at linuxrising.org
Mon Apr 30 16:32:13 CEST 2007
Be also aware that appsink/appsrc are still in-development elements and
might change API/ABI as they mature. Once they are considered ready they
will be moved to gst-plugins-good.
Any comments about the current API etc. you might add to:
The more people comment/test those elements the quicker we can declare
them API stable and move them.
On Mon, 2007-04-30 at 15:36 +0200, Stefan Kost wrote:
> Quoting fabien <fabien.castan at free.fr>:
> > Thank you for your answer, I will try...
> > Is fakesink and appsink exactly the same thing ?
> No, fakesink is more for testing, but has a signal callback to grab
> frames. App sink has a proper mechanism to receive the data (I haven't
> used that later, they are fairly new).
> > If I succeed to open a video... how can I go to the next or previous
> > frame ? And go to a precise position in a movie ?
> You send seek events to the pipeline to go to a specific position. A
> seek can also set a playback rate (normaly 1.0, -1.0 would be
> reverse). You get next/previous frame as the pipeline runs. Please not
> that reverse playback does not yet work for many formats.
> > Can I use the status PAUSED and move in the movie ?
> You can also seek while playing.
> > Stefan Kost a écrit :
> >> Hi Fabien,
> >> in GStreamer you usually do not take out data, you write own
> >> plugins and add them to the processing pipeline. If you still need
> >> to take the data, you can use fakesink/appsink (and vice versa
> >> fakesrc/appsrc to inject).
> >> To decode any video use decodebin and connect fakesink's to the
> >> output-pads. Grepping the sources for decodebin should help you to
> >> locate some examples.
> >> Stefan
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel