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 617791 - Totem says Icecast video stream is always buffering
Totem says Icecast video stream is always buffering
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2010-05-05 17:47 UTC by Bastien Nocera
Modified: 2010-05-06 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the streaming script (2.10 KB, text/plain)
2010-05-05 17:47 UTC, Bastien Nocera
  Details
Fix constant buffering when playing live streams (3.54 KB, patch)
2010-05-06 09:46 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2010-05-05 17:47:56 UTC
Created attachment 160367 [details]
the streaming script

To stream our internal meetings, we use a GStreamer script, coupled with a local Icecast server.

The stream is then available over HTTP, and uses Ogg Theora and Ogg Vorbis.

When playing that stream back in Totem, the status bar always shows "Buffering" with the percentage fill changing constantly, but the video plays at normal speed, without problems.
Comment 1 Bastien Nocera 2010-05-05 17:58:35 UTC
Most of the streams at:
http://dir.xiph.org/by_format/Ogg_Theora
will show the problem.

For example this stream:
http://webcam.sanslogic.co.uk:8000/nestbox1.ogv
shows the problem in Totem, but this doesn't show the problem:
gst-launch playbin2 uri=http://webcam.sanslogic.co.uk:8000/nestbox1.ogv
and gets to 100% within a little while.
Comment 2 Bastien Nocera 2010-05-05 18:16:46 UTC
Apparently, Totem tries to start playing back too early, and should instead pause until the buffer is up to 100% (just like we do for download buffering, when waiting for the eta to be less than the download time).
Comment 3 Bastien Nocera 2010-05-06 09:46:04 UTC
Created attachment 160416 [details] [review]
Fix constant buffering when playing live streams

When playing Ogg Theora live streams, we should wait until the
buffer reaches 100% before we start the actual playback.
Otherwise the buffer will be consumed as it is downloaded, and
we'll be constantly buffering, which is problematic visually,
and could cause hiccups during playback.

Fixes constant buffering with the streams at:
http://dir.xiph.org/by_format/Ogg_Theora
Comment 4 Bastien Nocera 2010-05-06 09:46:55 UTC
Attachment 160416 [details] pushed as b71b5c5 - Fix constant buffering when playing live streams