Juce + ffmpeg integration

Has anyone had success in taking the audio stream from ffmpeg buffers into juce’s system? Especially in a video stream? As i understand it, juce’s system doesn’t allow audio extraction from a video stream.

I’ve not tried it, but I’m not aware of such limitation.

Also what do you mean by “JUCE’s system”?

If you have some app or plugin that plays audio, the JUCE classes (for example, AudioProcessor) give you some buffers to fill for the DAW/audio interface. I can’t see why you can’t take buffers read by ffmpeg and push the contents of them into those i/o buffers.

You might need to do some format matching, such as resampling the buffers to the sample rate of the playback, and maybe converting the samples from whatever format they’re stored in (interleaved?) to the memory layout JUCE expects, but that’s it.