After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706144 - gnonlin: seek fails
gnonlin: seek fails
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gnonlin
git master
Other All
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-16 15:09 UTC by Kishore Arepalli
Modified: 2014-01-13 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test program for seek (4.66 KB, text/plain)
2013-08-21 08:18 UTC, Kishore Arepalli
Details
test program for seek (6.16 KB, text/plain)
2013-09-12 11:08 UTC, Kishore Arepalli
Details

Description Kishore Arepalli 2013-08-16 15:09:39 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
Comment 1 Kishore Arepalli 2013-08-16 15:11:58 UTC
This patch might be causing the problem

http://cgit.freedesktop.org/gstreamer/gnonlin/patch/gnl/gnlghostpad.c?id=b57873c96e23d7b33750088ad990f80a98f5658e
Comment 2 Kishore Arepalli 2013-08-16 15:30:04 UTC
After this commit seek doesn't work anymore

cdb90d3c8e7554216fac0af63041a820c79669d5
Comment 3 Nicolas Dufresne (ndufresne) 2013-08-16 19:53:07 UTC
Could you provide a small program that fails for you ? Also have you ported your application to the most recent API changes ?
Comment 4 Kishore Arepalli 2013-08-21 08:18:55 UTC
Created attachment 252509 [details]
test program for seek

test program which includes navseek element for seek testing using left and right buttons.
Comment 5 Kishore Arepalli 2013-08-21 08:21:42 UTC
(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.
Comment 6 Nicolas Dufresne (ndufresne) 2013-08-26 21:55:28 UTC
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.
Comment 7 Tim-Philipp Müller 2013-08-26 22:03:24 UTC
There is a bug in oggdemux, best to test with mov/mp4 if in doubt.
Comment 8 Kishore Arepalli 2013-09-12 11:08:31 UTC
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.
Comment 9 Thibault Saunier 2013-09-12 15:28:49 UTC
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.
Comment 10 Nicolas Dufresne (ndufresne) 2014-01-13 15:18:20 UTC
Is this still a problem for you ? Seems to work quite well within GES and PiTiVi.
Comment 11 Kishore Arepalli 2014-01-13 15:29:52 UTC
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.
Comment 12 Nicolas Dufresne (ndufresne) 2014-01-13 15:42:52 UTC
Good, sorry would be hard to find which changes made it work ;-P (just so many)
Comment 13 Tim-Philipp Müller 2014-01-13 15:51:33 UTC
Marking as fixed/obsolete, since we don't know what actually fixed it where.
Comment 14 Nicolas Dufresne (ndufresne) 2014-01-13 16:01:25 UTC
(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.