[gst-devel] looping, seeking

Joshua N Pritikin vishnu at pobox.com
Tue May 21 03:16:04 CEST 2002


On Wed, May 15, 2002 at 02:00:16PM +0200, Artem Baguinski wrote:
> let's say i want to play one fragment of the movie again and again
> (changing parameters of some filter later in the pipeline). how do i do
> that with gstreamer?
>
> or i want to be able to scroll very fast from current point in the movie
> to the future or past, using some gui scroller. what should happen in
> the pipeline while i'm doing that? 

That's exactly what i want to do -- seek to any point in a film with
a gui scroller.

This was working in gstreamer 0.3.1 by sending a seek event to the
filesrc.  Something got messed up after 0.3.1 and it doesn't work now.
i haven't had time to investigate.

What would be really great is if the new gst-player had a scroller
in the GUI so we'd get solid regression testing.

> or i want to do something weird and play movie 5 frames forward, then
> jump 3 frames backwards and play again 5 frames and again jump 3 frames
> back and so on. i wonder if the gstreamer architecture allows that at
> all, and how if yes?

That kind of accuracy isn't possible until someone understands the
MPEG spec really well (you are talking about MPEG?), since i bet this
kind of code is really hard to write.  Take a look at
<http://www.mainactor.com/>.  They have a Linux app that is suppose
to be able to do precise seeking & mixing but it's slow as mud even
on my P-III 838 MHz.

i haven't seen it first hand, but i've heard about software costing
around $50000 that actually works -- the stuff that is used for
television probably.  On the other hand, i'm sure it's not
programmable like gstreamer.

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org




More information about the gstreamer-devel mailing list