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 157519 - Support for disk caching of "small" streams
Support for disk caching of "small" streams
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 159504 (view as bug list)
Depends on: 542663
Blocks:
 
 
Reported: 2004-11-06 14:46 UTC by Sitsofe Wheeler
Modified: 2010-04-07 12:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sitsofe Wheeler 2004-11-06 14:46:36 UTC
It would be good if totem saved small streams to disk and played them from there
instead of the current buffering technique. I think this might be possible given
xine's #save parameter as mentioned on
http://sourceforge.net/mailarchive/forum.php?thread_id=3242971&forum_id=2551 .

Only streams that had a known size and play time, were small (less than 50M?)
and for which there was enough disk space would be cached in this manner.
Download speed would be estimated and playback would not start until Time to
download rest of file + Margin < Time to play entire file (although the user
could start playback at any time and risk hitting the end of the file before the
download was complete).

With this, users on erratic connections would still be able to see smooth video
(at the expense of disk space and waiting longer) and seeking would also be
possible.
Comment 1 Bastien Nocera 2004-12-01 14:00:35 UTC
*** Bug 159504 has been marked as a duplicate of this bug. ***
Comment 2 Bastien Nocera 2005-03-29 00:11:52 UTC
"#save" is disabled by default on most xine-lib builds.
Furthermore, it's not possible to know which streams are going to be long, or
short, without opening the actual file.

However, just as written in the duped bug, it should be possible to have a "Save
copy as..." menu entry to save the file being played if it is finite.
Comment 3 Bastien Nocera 2010-04-07 12:33:37 UTC
Totem 2.30.x does that with the latest GStreamer, for FLV, AVI and MOV (MPEG-4/QuickTime) types, when streaming.