[mad-dev] problem with the seeking
Rob Leslie
rob at mars.org
Mon Jun 18 13:41:12 PDT 2007
On Jun 3, 2007, at 7:41 AM, www.bigcab at free.fr wrote:
> here I've got a VBR (variable bitrate file ) so I can't seek the
> right frame
> It's not as if I had a Pcm file
>
> can someone help me?
Your choices are:
1. Use the Xing tag header (if it exists) to interpolate an
approximate seek position.
2. Scan frames from the beginning of the file until you reach your
seek position.
--
Rob Leslie
rob at mars.org
More information about the mad-dev
mailing list