I
iMath
I have few wav files that I can use either of the following command line mentioned here
https://trac.ffmpeg.org/wiki/How to concatenate (join, merge) media files
to concatenate
ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav
anyone know how to convert either of them to work with python's subprocess module, it would be better if your solution is platform independent .
https://trac.ffmpeg.org/wiki/How to concatenate (join, merge) media files
to concatenate
ffmpeg -f concat -i <(for f in ./*.wav; do echo "file '$f'"; done) -c copy output.wav
ffmpeg -f concat -i <(printf "file '%s'\n" ./*.wav) -c copy output.wav
ffmpeg -f concat -i <(find . -name '*.wav' -printf "file '%p'\n") -c copy output.wav
anyone know how to convert either of them to work with python's subprocess module, it would be better if your solution is platform independent .