00:07
I want to generate a new (fully valid) MP3 file from an existing MP3 file as a preview try-before-you-buy style. The new file should only contain the first n seconds.
I could chop the stream at n seconds (calculating from the bitrate and header size) but this is dirty on a VBR track. I'd like to generate a proper MP3 file.