[FFmpeg-devel] [PATCH/DRAFT] MonkeyAudio Demuxer/Decoder
Wed Jun 20 12:17:42 CEST 2007
On Wednesday 20 June 2007 09:36, M?ns Rullg?rd wrote:
> "Benjamin Zores" <ben at geexbox.org> writes:
> > In order to at least have enough space in buffer to decode all samples
> > from one frame. Is this the best way to do (I really doubt so) or what
> > else can be done ?
> IIRC there's no practical limit to the size of one frame. Those
> gorilla size frames need to be handled some other way.
True. I have read the MAC/APE SDK once and at the highest compression level
the whole file can be one frame. The original code implements seeking by
starting at the beginning of the closest frame (which is the start of the
file in this case) and decodes and drops all unneeded samples. Not very
nice if you want to seek from 5:10 to 5:00 in a six minute file.
More information about the ffmpeg-devel