unpause-live / SwiftVideo

Swift Video Framework for Linux, macOS, and iOS/iPadOS
https://www.unpause.live
Apache License 2.0
195 stars 25 forks source link

Audio Segmenter #22

Closed jgh- closed 4 years ago

jgh- commented 4 years ago

This PR adds an audio segmenter that can resize LPCM audio packets to conform to components that may require different packet sizes (e.g. AAC may emit 1024 samples, but a downstream processing component requires 480 samples per packet).