Bug 106353 - wish: support gapless playback of ogg files from a playlist. (probably easy to do)
Summary: wish: support gapless playback of ogg files from a playlist. (probably easy t...
Status: RESOLVED DUPLICATE of bug 99559
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-27 00:35 UTC by Richard Neill
Modified: 2006-06-11 12:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Neill 2005-05-27 00:35:46 UTC
Version:           1.22 (using KDE KDE 3.3.2)
Installed from:    Mandriva RPMs
OS:                Linux

Consider a CD containing 5 tracks, where the sound is continuous across all 5 (eg a classical symphony with no breaks). If this is ripped to .ogg files, one might then have a playlist.m3u file whose contents are:

1.ogg
2.ogg
3.ogg
4.ogg
5.ogg

Loading playlist.m3u in amarok will result in a slight hiccup of about 0.1 seconds between the files.

HOWEVER, unlike MP3, ogg files are designed to be concatenatable. This means that:

cat 1.ogg 2.ogg 3.ogg 4.ogg 5.ogg > continuous.ogg 

will create a single file which, when played back is perfectly continuous, with no hiccups. 

Given this possibility, I think (this is just a hunch!) that amarok could achieve gapless playback from the playlist.m3u file very easily. All it would have to do is open the next file and pre-buffer it slightly before the end of the previous file.

For bonus points, amarok could detect the change in metatag midway through the file, and change the title/track information (xmms and ogginfo both do this). [If you'd like an example of what I mean, please email me and I'll send you some sample files.]

Thanks a lot - amarok is great!
Comment 1 Alexandre Oliveira 2005-05-27 00:41:20 UTC
Please, add this a comment to bug #99559. :-)

*** This bug has been marked as a duplicate of 99559 ***
Comment 2 Richard Neill 2005-05-27 00:52:11 UTC
Sorry for the dup. I did search bugzilla for an existing bug, and didn't find one.