Getting frames in PAUSED mode and stepping

Henning Riis henning.riis at craftwork.dk
Mon Jul 4 13:05:39 UTC 2016


Hi,

I have a playbin based player, and I'm trying to implement starting it in PAUSED mode and getting frames. I obtain the frames using a fakesink and the handoff signal.

When loading a resource, I set the URI and then I set the pipeline in PAUSED mode. Once the pipeline goes to PAUSED I send a step event for stepping 10 seconds into the stream. I expect my handoff signal handler to get called so that I may present the frame.
It's pretty much based on the code found in tests/examples/stepping/framestep1.c.

Does this sound valid?

The problem I face, is that it seems that when my URI is pointing to a file I have on disk I never get my handoff signal, however for a http URI it seems to work.

Are there any known problem around this? Should it work?

Also, can I use the same technique for "seeking" when paused and still getting the frame data? I'm not sure I understand the difference between seeking and stepping. Any hints?

Best Regards,
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160704/9ae2d726/attachment.html>


More information about the gstreamer-devel mailing list