Wrapper for reading and writing sound files using the ffmpeg library