[gst-devel] problems with video

Tim Müller t.i.m at zen.co.uk
Tue Dec 11 19:11:49 CET 2007

On Tue, 2007-12-11 at 20:48 +0530, Vinod Nanjaiah wrote:

> I currently have two problems with video playback.
> 1> Seek on video:
> Should I use some specific flags with gst_element_seek () to be able to seek
> on video?
> I tried some possible combinations but was not successful.

It would be useful to know what you've tried exactly ...

In any case, in a playback situation you usually want to

 - seek in GST_FORMAT_TIME (remember the time is in nanoseconds)
 - use gst_element_seek_simple()

> 2> I am trying to use gst_x_overlay_set_xwindow_id () in my code, but it
> gives link errors when building. 
> Can someone please give me some pointers.

you need to add

 `pkg-config --cflags gstreamer-plugins-base-0.10`

to your CFLAGS / compiler flags and

 `pkg-config --libs gstreamer-plugins-base-0.10 -lgstinterfaces-0.10`

to your LIBS / linker flags as per:



More information about the gstreamer-devel mailing list