Example of libav-based audio transcoder with c++ std::istream interface