[gst-devel] [Errata] Re: How to do Video seek?

sm tech sm.tech.00 at gmail.com
Wed Jan 9 14:55:33 CET 2008


Sorry,

I used gst_element_query_position() for current time after seeking.


On 1/9/08, sm tech <sm.tech.00 at gmail.com> wrote:
>
>
> I tried,
>
>     gst_element_seek (pipeline, 1.0, GST_FORMAT_TIME,
>                            seekflag,
>                            GST_SEEK_TYPE_SET,
>                            (gint64) (seek_seconds * GST_SECONDS),
>                            GST_SEEK_TYPE_NONE,
>                            GST_CLOCK_TIME_NONE))
>
> with seekflag = GST_SEEK_FLAGE_FLUSH   and also for GST_SEEK_FLAGE_NONE.
>
> gst_element_seek() returns success. But, gst_element_query_duration( )
> gives the same playback time (not seeked time) and playback continues as
> usual.
>
>
>
>
>
>
>
>
>
>
>
> On 1/9/08, Stefan Kost <ensonic at hora-obscura.de> wrote:
> >
> > hi,
> >
> > please include the full seek command you use.
> >
> > Stefan
> >
> > Quoting sm tech < sm.tech.00 at gmail.com>:
> >
> > > Hi,
> > >
> > > There is a small correction i wanted to convey.
> > >
> > > On N800, I used dsppcmsink & *xvimagesink. *
> > > On 770, I am using dsppcmsink & *dspmpeg4sink. *
> > >
> > > thanks,
> > > sm
> > >
> > >
> > >
> > ----------------------------------------------------------------------------
> > >
> > >
> > >
> > >
> > >
> > >
> > >  On 1/7/08, sm tech < sm.tech.00 at gmail.com> wrote:
> > >
> > >>  Hi,
> > >>
> > >>  I am writing a gstreamer based media player on Nokia N800 and 770. I
> > am
> > >> unable to get video seek working for AVI files ( divx + mp3, divx +
> > wav) on
> > >> the media player using gst_element_seek() API. After
> > gst_element_seek()
> > >> function call the play continues.
> > >>
> > >>  On N800, I am using dsppcmsink & dspmpeg4sink.
> > >>
> > >> On 770, I am using dsppcmsink & xvimagesink.
> > >>
> > >>  Can anyone please tell, what I am missing?
> > >>
> > >>  Thanks,
> > >>
> > >> sm
> > >>
> > >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> >
> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080109/71aee97d/attachment.htm>


More information about the gstreamer-devel mailing list