Sound

After hours browsing the Internet, I couldn’t get my hands on a working tutorial to simply extract audio samples from a file using libavcodec. So here’s to you, a full working example! Warning FFMPEG and the libraries it depends on are often updated, and their API can drastically change between versions. This code works with … Read more