[gst-devel] Fastforward/Backward

Wim Taymans wim.taymans at gmail.com
Thu May 21 21:34:56 CEST 2009


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
> 
> 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
> 





More information about the gstreamer-devel mailing list