GNOME Bugzilla – Bug 706144
gnonlin: seek fails
Last modified: 2014-01-13 16:01:25 UTC
Seek works with gnlurisource, but gnlcomposition program fails on seek gst-launch-1.0.exe gnlurisource uri=file:///test/test.avi duration=35000000000 caps="video/x-raw" ! queue ! navseek ! timeoverlay ! autovideosink
This patch might be causing the problem http://cgit.freedesktop.org/gstreamer/gnonlin/patch/gnl/gnlghostpad.c?id=b57873c96e23d7b33750088ad990f80a98f5658e
After this commit seek doesn't work anymore cdb90d3c8e7554216fac0af63041a820c79669d5
Could you provide a small program that fails for you ? Also have you ported your application to the most recent API changes ?
Created attachment 252509 [details] test program for seek test program which includes navseek element for seek testing using left and right buttons.
(In reply to comment #3) > Could you provide a small program that fails for you ? Also have you ported > your application to the most recent API changes ? I've set all the required properties on gnlurisource element. With the test program, it just posts EOS on seek.
I've tested this, and oggdemux also report not having found any keyframe. Would it be possible to test with a normal seek, maybe navseek is doing something different. It's the first time I here about someone using navseek with GNL, there might be a bug we are not aware of yet.
There is a bug in oggdemux, best to test with mov/mp4 if in doubt.
Created attachment 254767 [details] test program for seek Now the test program works without navseek element for seek. GnlComposition fails for all formats mp4/ogg/webm.
Could you please detail what fails? Also be aware that you now need to commit the composition each time you make a change in it (even though it will be done by derfault between READY and PAUSED), look at the documentation for more details. Also why don't you use GES? We have tested many scenarios with it, and seeking definitely works, at least with basic cases.
Is this still a problem for you ? Seems to work quite well within GES and PiTiVi.
Yes, It works with GES. This bug can be closed (In reply to comment #10) > Is this still a problem for you ? Seems to work quite well within GES and > PiTiVi.
Good, sorry would be hard to find which changes made it work ;-P (just so many)
Marking as fixed/obsolete, since we don't know what actually fixed it where.
(In reply to comment #13) > Marking as fixed/obsolete, since we don't know what actually fixed it where. nod, will do this next time.