2

So, as the title says, I would like to know a good way to convert tracker files (*.mod, *.xm, *.s3m, et cetera) to a format like *.mp3 or *.ogg.

A command-line solution would be preferred.

2 Answers 2

1

ffmpeg supports each of those formats. You could convert all of them with a bash loop, such as for i in *.mod; do ffmpeg -i "$i" -b:a 320k "${i%mod}mp3"; done

1
  • What's the best stackexchange site for asking about compiling ffmpeg from source? Commented Nov 21, 2016 at 15:43
1

For anyone trying to do this on Windows, the command for %G in (*.xm) do ffmpeg -i "%G" -b:a 320k -f mp3 "%G.mp3" works for me, modified from the above bash script.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .