[gst-devel] [Errata] Re: How to do Video seek?
Stefan Kost
ensonic at hora-obscura.de
Thu Jan 10 19:50:30 CET 2008
hi,
sm tech schrieb:
> Sorry,
>
> I used gst_element_query_position() for current time after seeking.
>
>
> On 1/9/08, *sm tech* <sm.tech.00 at gmail.com
> <mailto: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.
hmm, that looks correct. You could try to send that to the demuxer (avidemux)
instead.
Alternatively you could also join one of the zillion media-player projects we
already have for the tablets, which have mastered seeking alredy.
Stefan
>
>
>
>
>
>
>
>
>
>
>
> On 1/9/08, *Stefan Kost* <ensonic at hora-obscura.de
> <mailto: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
> <mailto: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
> <mailto: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
> <mailto:gstreamer-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> <https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
More information about the gstreamer-devel
mailing list