Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Matroska audio (.mka) with ADPCM audio track fails to play (Read 829 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Matroska audio (.mka) with ADPCM audio track fails to play

Hello, I'm trying to add chapters to music files ripped from a game. These are lossy ADPCM (Codec ID 11) .wav files.

Since Matroska is a universal container, I used ffmpeg to pack the lossy .wav file as-is without transcoding into an .mka using the following command:
ffmpeg -i input.wav-c:a copy output.mka

I then used MKVToolNix to add chapter information. The resulting .mka file works fine in Media Player Classic and VLC, including the display and seeking of chapters.

Foobar2000 loads the single .mka file as a list of separate tracks with respective lengths of each chapter but without chapter names. The bigger issue is that Foobar2000 fails to play any of the tracks!

I loaded the original ADPCM .wav file into foobar2000 and it plays fine. I thought the chapter information might be messing it up, so I made an .mka file without adding chapters, but playback still failed.

TL;DR: Foobar2000 fails to playback an ADPCM .wav audio track when it is packed inside an .mka container.

I ran both .mka files (with / without chapters) through mkvalidator 0.5.2 and they appear to be valid.

Is this a bug or am I doing something wrong with ffmpeg and packing the mka? Attached is the output .mka with chapters.

Re: Matroska audio (.mka) with ADPCM audio track fails to play

Reply #1
Noted, thanks for reporting.
The combination of Matroska container with ADPCM payload is not currently supported, but can be added in a future update.
Microsoft Windows: We can't script here, this is bat country.