Encoding MP3 and adding VBR or Xing headers (with lame or another method)
- by J. Pablo Fernández
I'm writing a program that converts wavs to mp3s, so far, by using lame. It's generating a command line more or less like this:
"c:\Program Files (x86)\Lame for Audacity\lame.exe" --preset fast medium in.wav out.mp3
The problem I'm having is that no VBR or Xing headers are written to the MP3. How can I make lame.exe write those headers? Should I use another program to write those headers (platform is Windows, .Net 3.5)? Should I use another program for MP3 encoding?