axeldelafosse/stemgen

[Bug] ALAC stems can't be read on Windows within Traktor

Ma5onic opened this issue · 4 comments

I tried to load the generated stems but Traktor can't analyze them or load them.
Traktor Pro 3 Error:
image

Traktor Scratch Pro 2 Error:
image

I tried dumping the udta metadata using mp4box --dump-udta 0:stem MyStemFile.stem.mp4, as instructed in the NI File Specification PDF, but got an error about too many arguments. dumping without 0:stem did not generate a udta dump.
Possibly related to issue #38:
The MP4 file must contain a box (i.e. data container) of type stem as a sub-box of
moov.udta. moov is the root box of the MP4 file, as shown in the Stem File Structure
diagram:
image

Are you using Windows or macOS?

Windows

Hey, sorry for the delay. This is related to #19... I suspect an issue with https://github.com/NativeInstruments/ni-media, which probably doesn't support ALAC on Windows.

You can use the argument -f aac to force the compression to AAC instead of ALAC. This is pretty bad because you shouldn't be forced to compress your audio files. But if you really need to, I suggest using a good encoder like qaac.