[gst-devel] Fastforward/Backward

Wim Taymans wim.taymans at gmail.com
Fri May 22 17:17:47 CEST 2009


On Fri, 2009-05-22 at 15:21 +0200, Jens Schneider wrote:
> -------- Original-Nachricht --------
> > Datum: Thu, 21 May 2009 21:34:56 +0200
> > Von: Wim Taymans <wim.taymans at gmail.com>
> > An: Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.net>
> > Betreff: Re: [gst-devel] Fastforward/Backward
> 
> > On Thu, 2009-05-21 at 21:02 +0200, Jens Schneider wrote:
> > > Hi,
> > > 
> > > I am searching for a solution how I can put the stream in
> > > Fastforward/Backwardmode. Can anyone give me a hint?
> > 
> > From the application you do a seek with an appropriate rate. You can
> > optionally specify the SKIP seek flag (see docs)
> > 
> > Wim
> 
> Thanks, but please give me a little more details about that.
> Which method I have to call?
> Or which interface I have to use?

See gst_element_seek() in the docs. 

Please tell us how we can improve the docs. Where did you look for
information? did you find the manual? Did you find the API docs? Was it
too hard to find? Did it not cover the information you wanted? What did
you expect to find? Please let us know so we can improve things!

Wim

> 
> In case of DVD:
> I saw, that the dvdreadsrc element can handle seek events.
> But I have only the access to the playbin element. How I can say to the pipe, that I like to seek forward?
> 
> Thanks
> Jens
> 
> > > 
> > > Background: I have written a video sink plugin for gstreamer. I using
> > the following code to start playing e.g. a DVD, diskovideosink is my video
> > sink.
> > > 
> > > play = gst_element_factory_make ("playbin", "play");
> > > g_object_set (G_OBJECT (play), "uri", "dvd://", NULL);
> > > 
> > > sink = gst_element_factory_make("diskovideosink", "diskovideosink");
> > > g_object_set(sink, "window", window, NULL);
> > > g_object_set (G_OBJECT (play), "video-sink", sink, NULL);
> > > 
> > > gst_element_set_state (play, GST_STATE_PLAYING);
> > > 
> > > Kind regards
> > > Jens
> > > -- 
> > > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
> > Telefonanschluss für nur 17,95 Euro/mtl.!*
> > http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
> > > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> > is a gathering of tech-side developers & brand creativity professionals.
> > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> > Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 





More information about the gstreamer-devel mailing list