mstorsjo / fdk-aac

A standalone library of the Fraunhofer FDK AAC code from Android.

Home Page:https://sourceforge.net/projects/opencore-amr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About seek when decode

jiemojiemo opened this issue · comments

Thanks for your great work.
Does fdk-aac support the seek when decode? I try to implement seek operation but the result is really confused.
Thank you.

It should definitely be possible to decode packets from differing locations in a file using fdk-aac. To seek, you need to use the library you are using for reading files (e.g. m4a) properly. I'm not familiar with how to seek using the file reading helpers within fdk-aac itself. For something like ADTS, one has to scan forward until the next sync marker to be able to restart decoding after a seek.