[gst-devel] About seek

Julien Isorce julien.isorce at gmail.com
Wed Oct 15 23:37:45 CEST 2008


Hi,

I am not really aware about seeking. Assume I have the following pipeline:
gst-launch filesrc location=video.ogg ! oggdemux ! theoraparse ! oggmux !
filesink location=video2.ogg.
Is it possible to seek ?

I mean, does it make sense to send a seek event: rate=1.0 format=time,
start=2sec, stop=10 sec. ?
(sending the event in READY state just before going to PLAY state)

Then same question about the 2 following pipelines:
gst-launch filesrc location=video.ogg ! oggdemux ! thoeradec ! thoeraenc !
oggmux ! filesink location=video2.ogg.
and
gst-launch filesrc location=movie.ogg ! oggparse ! filesink
location=movie2.ogg.

I think it's just a matter of being "seekable" but I need some
clarifications.

(an other related question, is it equivalent to send the seek event through
the global pipeline and trough a more specific element ?)

Thx

Sincerely

Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081015/874195e1/attachment.htm>


More information about the gstreamer-devel mailing list