QUOTE(Canar @ Jan 6 2004, 11:33 PM)
I'm attempting to use mkvmerge to link together several MP3 files (an album) in matroska to "solidify" all the seperate files in a way playable by foobar2000. The problem is that I can't seem to get it to work properly. I've messed around with the command-line options for quite a while and no matter what I do it won't work properly. Any suggestions that could help?
I've successfully converted some MP3/CUE pairs... I'm assuming the problem lies in the fact that I don't have defined chapters, but is there some option that will insert chapter markers between tracks automatically or something?
I'm also trying to do this with Ogg Vorbis as well. I've tried appending the files to each other and telling mkvmerge to convert that, to a similar result as the multiple MP3: You end up with a file that's as long as the longest, but only plays the first track.
There are 2 different ways to 'collect' several songs into a single MKA file :
1. creating
one big track, and chapters dividing each song. This is only possible if all songs are using the same codec, like MP3 in your case.
2. Putting each song into the file as a new track. In principal, you can then use any supported audio codec for each of the songs, say MP3, AAC, Vorbis, FLAC, AC3, DTS, PCM, MP2.
For example, if you have 12 songs ( 5 x 3 mins, 6 x 4 mins, 1 x 5 mins ), and you want to put them into a single MKA file you get
1. one track, with the total length being the sum of the lengths of the 12 songs, plus the gaps between them ( = 15 + 24 + 5 + gaps = 44 mins + gaps )
2. 12 tracks, each starting at timecode 0:00:00 s : the total length of the file is the same as the length of the longest of the 12 songs ( = 5 mins )
For a player, both files have to be treated differently as for
1. it will play the track like it was one, very long song. Chapters can be used to define where a new song is starting, and fb2k will display each chapter entry as a song of its own. But in mkvmerge, if you load the file, you will only see one audio track.
2. Means the playlist will show all available tracks in the file, and the player has to advise the matroska parser/input plugin to play the right track from the file. In mkvmerge, you will see 12 different audio tracks in your MKA file.
If you want to work with a CUE sheet from a CD, i highly recommend to use the 1. way and to concatenate all the MP3's you have into a single, long MP3 file. You can also do this using matroska ( dont know of a good MP3 concatenator tool ), by coverting each of the MP3's into MKA's with mkvmerge, and then concatenate all the MKA's with either avi-mux GUI or Pamel's 'matroska stream editor' into a single, long MKA file. Load this long MP3 or MKA in mkvmerge, convert the CUE sheet into a chapter file and load this chapter file for the muxing process in the 'Global' tab of mmg.exe .
As for using chapters in a file made like 2., this isnt possible. Chapters will only allow to jump to a specific timestamp in a single track, they do not allow to jump from one track to the next. This will be possible with 'control tracks' , which will allow to define exactly how to play a file, starting with track 1 at timestamp x, play until y, then proceed to track 4, timestamp z , etc .....