GNOME Bugzilla – Bug 617791
Totem says Icecast video stream is always buffering
Last modified: 2010-05-06 09:46:58 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.
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.
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).
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
Attachment 160416 [details] pushed as b71b5c5 - Fix constant buffering when playing live streams