Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200462

Summary: xine-lib-1.1.8 cannot seek through FLAC files
Product: Gentoo Linux Reporter: Dmitriy Turovec <D.Turovec>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitriy Turovec 2007-11-26 23:48:10 UTC
It is impossible to seek through FLAC files. At first I thought it was only amarok's problem, and I tried to play any flac file in kaffeine or xine-ui, and I got the same: it plays well, but it is impossible to seek: when i try, it stops playback for some seconds, then returns to the point it was playing before.

Reproducible: Always

Steps to Reproduce:
1. open every player which plays using xine-lib
2. load any FLAC file
3. play and then try to seek through the file ;)

Actual Results:  
does not seek

Expected Results:  
it should've seeked!
Comment 1 Dmitriy Turovec 2007-12-21 15:05:32 UTC
In Amarok 1.4.8 it is now possible to seek through FLAC files. ;) Though seeking is not very precise - aiming at 1:15, for example, you'll get somewhere nearby, like at 1:00 or 1:29.
Comment 2 Dmitriy Turovec 2007-12-21 16:29:40 UTC
No, I have mistaken. The problem is not resolved at all.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-12-29 21:50:42 UTC
Not a xine bug: seeking is implemented through flac seekpoints, if you can't seek on a flac file, that file does not have seek points. If you're an Amarok user, I would bet the problem is you ripped a CD with the audiocd:/ KIO slave, which is known to produce flac files without seekpoints. Check the manpage for the metaflac command (part of flac package) on how to both check for presence of seekpoints and how to add them.
Comment 4 Dmitriy Turovec 2007-12-30 19:19:34 UTC
Aha, I see, files created with k3b show such a baheviour, files created with kaudiocreator are well-made ;)