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 680053 - playbin: Stutter after seeking MMS because buffering only starts after async-done
playbin: Stutter after seeking MMS because buffering only starts after async-...
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-16 21:05 UTC by Bastien Nocera
Modified: 2018-05-04 11:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backend: Pause the backend when seeking (1.47 KB, patch)
2012-07-17 16:28 UTC, Bastien Nocera
committed Details | Review
backend: Pause the backend when seeking (1.46 KB, patch)
2012-07-18 17:03 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-07-16 21:05:59 UTC
Load up the media player stream on ZDF's Mediathek website, for example:
http://www.zdf.de/ZDFmediathek/beitrag/video/1684774/MELT%2521-2012---Die-viereinhalb-Stunden?bc=sts;stt;kua1600896
After seeking, the player will stutter one frame before starting to buffer. It should buffer straight away.
Comment 1 Bastien Nocera 2012-07-17 16:28:02 UTC
Created attachment 219034 [details] [review]
backend: Pause the backend when seeking

And start playing back again when seeking has finished and
not other seek events are scheduled to take place.
Comment 2 Bastien Nocera 2012-07-17 23:12:08 UTC
This patch doesn't actually solve the problem of a short frame (and associated sound) showing up in the display when the video is buffering after a seek.

The link is simple enough that it's probably not obfuscated for now:
http://wstreaming.zdf.de/zdf/veryhigh/120714_meltlive_fes.asx
Comment 3 Bastien Nocera 2012-07-18 16:54:03 UTC
Yep, the problem actually is that I receive the async-done message *before* receiving a message about the buffering.

As I'm not buffering, I start playback, then receive a buffering message meaning I try to set the state to paused. There's a small gap between the 2 calls, and I end up playing a little bit of sound.
Comment 4 Bastien Nocera 2012-07-18 17:03:56 UTC
Created attachment 219142 [details] [review]
backend: Pause the backend when seeking

And start playing back again when seeking has finished and
not other seek events are scheduled to take place.
Comment 5 Bastien Nocera 2012-07-18 17:08:14 UTC
Comment on attachment 219142 [details] [review]
backend: Pause the backend when seeking

Attachment 219142 [details] pushed as 73a2fb6 - backend: Pause the backend when seeking

Still the problem of the buffering message coming after the async-done message left so reassigning to GStreamer.
Comment 6 Bastien Nocera 2012-07-19 15:14:43 UTC
Comment on attachment 219034 [details] [review]
backend: Pause the backend when seeking

Equivalent patch was committed:
http://git.gnome.org/browse/totem/commit/src/backend/bacon-video-widget.c?id=73a2fb678079033ede4608db258503ff00a47943
Comment 7 Tim-Philipp Müller 2012-09-29 12:25:16 UTC
Let's move to playbin for now. Haven't tried to reproduce it yet. Links above don't work for me, but I guess it will happen with other streams as well.
Comment 8 Olivier Crête 2018-05-04 11:57:01 UTC
If anyone has a mms:// where you can reproduce it, please re-open. But MMS being a dead protocol, I expect this will never be fixed.