ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

Reading multi-stream audio as Numpy

Open jackbobevolved opened this issue 2 years ago • 0 comments

I'm working with 1-20+ audio stream DNx MXFs and ProRes MOVs, and am having issues getting arrays for the streams. Most videos are 1 channel per stream, however some are grouped (5.1, 2.0, 4x1.0, etc). So far I've only been able to get a single audio stream out of the FFMPEG library, but need to be able to convert all of them to NPs for analysis. Any help would be incredible, as I've yet to find a way of obtaining the other streams (outside of Probe, but that's just metadata). Huge thank you in advance.

jackbobevolved avatar Oct 06 '23 18:10 jackbobevolved