<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi<br>
<br>
august wrote:<br>
<blockquote type="cite"
 cite="midPine.LNX.3.96.1040228163116.5007B-100000@alien">
  <blockquote type="cite">
    <pre wrap="">Did you try OggFLAC and MkaFLAC as alternative containers ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->no, I didnt?  would that make a difference though?</pre>
</blockquote>
Yes, i think so. Josh may tell different if i am talking rubbish, but i
dont expect that FLAC's native framing has an index or the like, like
matroska has, to support fast seeking, so seeking will probably mainly
work on a per-sample base.<br>
<blockquote type="cite"
 cite="midPine.LNX.3.96.1040228163116.5007B-100000@alien">
  <pre wrap="">For OggFLAC 
  </pre>
  <blockquote type="cite">
    <pre wrap="">you need libogg, the Xiph documentation should be describing how to seek 
in the file. But i dont know if using another container than native FLAC 
framing is an option for you .....
    </pre>
  </blockquote>
  <pre wrap=""><!---->it's certainly an option, but I would love to know why normal FLAC seeking
doesn't work. any hints? -august.</pre>
</blockquote>
It probably does work, but as i was assuming already, maybe to the best
of its possibilities. Many native framings are not really perfectly
suited for seeking, MPC and even MP3 are perfect examples for that.
Vorbis is different here, its put into Ogg natively, and Ogg provides
some means for better seeking like the 'granulepos', which is used to
mark the Ogg pages containing the Vorbis audio streams, and can be used
for enhanced seeking.<br>
<br>
matroska container will provide an index on top of that for the best
possible seeking. mkvmerge/mmg ( <a class="moz-txt-link-freetext" href="http://mkvtoolnix.matroska.org">http://mkvtoolnix.matroska.org</a> ) can
read both OggFLAC and native FLAC and will ouput a MKA file ( matroska
audio ), if you want to test this. To play it on Windows, use either
foobar2000 ( <a class="moz-txt-link-freetext" href="http://www.foobar2000.org">http://www.foobar2000.org</a> ) or any DirectShow based player
( like WMP 6.4 ) in combination with the matroska full pack from
<a class="moz-txt-link-freetext" href="http://packs.matroska.org">http://packs.matroska.org</a> . On Linux, mplayer and VLC will work for
FLAC in MKA, same for MacOSX.<br>
<br>
For OggFLAC, the FLAC frontend can output it directly. Playback on
Windows should work with the winamp plugin, but AFAIK there is no
working DirectShow playback filter for that.<br>
<br>
Hope this was helpful<br>
<br>
Christian<br>
matroska project admin<br>
</body>
</html>