I am looking for some (free or paid) softwares, APIs or programming libraries (any programming language) for splitting OGG and M4A audio files without transcoding.

By splitting I mean: transforming a 10 minutes audio file of 10 min and split it into two files, one with 4 min and other with 6 min.