Hi,
while upgrading the codecs for the new demuxing API, I also
did some major updates for the Audio decoding:
- We now support audio decoders with non-interleaved output. This
makes the ffmpeg mp3 and ac3 decoders work again.
- Audio decoders have a much simplified method decode_audio_packet(),
which takes the next packet/chunk from the file and decodes it.
All other stuff, like buffering, seeking etc. is done by the core.
This makes the codecs much simpler.
- The audio related public API functions are unchanged and should work
like before
Now I'm thinking if the packet index could also be used for writing
files: Just write packets for into the file and build a packet index.
Before closing the file, we can generate all the crazy quicktime tables.
Burkhard
|