[gst-devel] Seek doesn't work

Thomas Holzmann holzi1 at gmx.at
Fri Aug 17 21:40:46 CEST 2007


Hello,

I have a problem with gst_element_seek: It seems that the demux element 
(I've tried it with qt and avi) in decodebin cannot handle the seek 
command. In debug mode I get this message for the demuxer:

0:00:02.926132000 14796 0x8237080 DEBUG             avidemux 
gstavidemux.c:3243:gst_avi_demux_handle_seek:<avidemux0> unsupported 
format given, seek aborted.

My pipeline is " filesrc ! decodebin ! ffmpegcolorspace ! appsink " and 
I've tried to seek with these commands:

gst_element_seek(file_decode_, 1.0, GST_FORMAT_PERCENT,
                 GST_SEEK_FLAG_NONE, GST_SEEK_TYPE_SET, time,
                 GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)

gst_element_seek_simple(file_decode_, GST_FORMAT_PERCENT,  
GST_SEEK_FLAG_NONE, time)

Does someone know what my problem could be?
Thanks!

Thomas




More information about the gstreamer-devel mailing list