About seek

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

About seek

Julien Isorce
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel