claude · @mathr
288 followers · 2739 posts · Server post.lurk.org

Using to read from a file, with a backwards seek to do analysis with , works great!

However, trying the same trick with an input fails miserably: frame rate drops from 40+ to 3 after some minutes of audio-file time :( I conjecture (based on and logs) that it is seeking back to the start of the file and re-decoding the whole thing on every seek backwards a little bit. Unsustainable.

Workaround: to decompress beforehand.

#libsndfile #fft #windows #wav #overlap #ogg #vorbis #top #strace #ffmpeg

Last updated 6 years ago