All M4As 'could not be loaded'

Bug #924415 reported by Alistair Bill on 2012-01-31
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mixxx
High
Unassigned

Bug Description

Hi.
I have Mixxx 1.10.0 x64 loaded on Win7 Pro 64-bit Dell Vostro with Intel i3 @ 2.1 Ghz, with bog-standard soundcard.

M4A files are seen correctly in the library, but when I try to load them to either deck, I get the error message: *filename*.m4a could not be loaded.

Here's an excerpt from my Mixxx log:

Debug: []: Getting SoundSource plugin object for "m4a"
Warning: []: SSMF: failed to set media type
Warning: []: SSMF: Error configuring audio stream.
Debug: []: [Channel2] CachingReader::loadTrack() load failed for" "C:/Users/alistair/Music/03 Robbie Williams _ Let Me Enterta.m4a" ", file invalid, unlocked reader lock
Debug: [Main]: BaseTrackCache(0x222dd80) updateIndexWithQuery took 1 ms
Debug: [Main]: Failed to load track "C:/Users/alistair/Music/03 Robbie Williams _ Let Me Enterta.m4a" "The file 'C:/Users/alistair/Music/03 Robbie Williams _ Let Me Enterta.m4a' could not be loaded."

Sorry about the music choice!

C:\Program Files\Mixxx\plugins\soundsource contains soundsourcemediafoundation.dll

Please could someone help me load these M4As?

RJ Ryan (rryan) on 2012-02-02
Changed in mixxx:
importance: Undecided → High
milestone: none → 1.10.1
RJ Ryan (rryan) wrote :

Unfortunately we don't check the return code of SetCurrentMediaType for anything other than failure.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd374667(v=vs.85).aspx

From this page it looks like the errors are either media-dependent (since this happens on all M4As, I'm guessing this is not the case) to things like codec not available. I wonder if Alistair does not have the M4A codec somehow.

Alistair, did you get all of your M4A files from the same place or encode them with the same encoder? If they are all purchased from the same website or encoded with the same program then maybe Mixxx has a bug reading a particular type of M4A file. If they came from all over the place then it's likely that something else is going wrong. Can you open these files in Windows Media Player?

jus (jus) wrote :

Reading from this forum thread http://mixxx.org/forums/viewtopic.php?f=3&t=3298 it could be your files are in a format WMP does not natively support ( so doesn't Mixxx).
Try some solutions as suggested in the thread and give feedback if this solves the issue.

Changed in mixxx:
status: New → Incomplete
Falk Rosowski (falk-rosowski) wrote :

Hi,

Just trying Mixxx 1.10.1 for private issues an having the same Problem with m4a- Files. Most of these Files were encoded by iTunes 11.0.2.26.

Different from Alistair Mixxx fails to initialize the media foundation...

[quote]
Debug []: Getting SoundSource plugin object for "m4a"
Warning []: SSMF: failed to initialize Media Foundation
Debug []: [Channel2] CachingReader::loadTrack() load failed for" "H:/Musik/Die Prinzen/Alles Nur Geklaut/10 Blaue Augen.m4a" ", file invalid, unlocked reader lock
Debug [Main]: Failed to load track "H:/Musik/Die Prinzen/Alles Nur Geklaut/10 Blaue Augen.m4a" "The file 'H:/Musik/Die Prinzen/Alles Nur Geklaut/10 Blaue Augen.m4a' could not be loaded."
[/quote]

Differenzt error - same effect... none of the m4a- files can be played...

Bill Good (bkgood) wrote :

> Warning []: SSMF: failed to initialize Media Foundation

This suggests to me that you're missing some required Media Foundation libraries. They should all be present in Windows 7 and 8, but if you're running Vista, you'll need to download and install the update at http://support.microsoft.com/kb/2117917 (although the update failed for the last person I referred to it, so your mileage may vary).

I've only ever made the MF m4a decoder work on Windows 7 and Server 2008r2 (which are the same NT build, more or less), for what it's worth. I'm not sure that I've heard any success stories on Vista.

naught101 (naught101) wrote :

I can't play .aacs to .m4as on Mixxx on Linux (Kubuntu 14.04). sox also won't play the tracks, but vlc *does* play them. Here is the relevant part of the log when I try to load an m4a:

Debug [Main]: m_fadeDuration[ "[Channel2]" ] = 0.00877193
Debug [Main]: Committing transaction on "qt_sql_default_connection" result: true
Debug [Main]: PlaylistTableModel(0x4929950) select() took 24 ms 1383
Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats.
Debug [Main]: m_sTracks.count() = 6
Debug [Main]: TrackInfoObject::parse() error at file "/home/music/Blackalicious/Blackalicious/The Craft/06 Lotus Flower.m4a"
Warning [CachingReaderWorker 1]: Failed to open file: "/home/music/Blackalicious/Blackalicious/The Craft/06 Lotus Flower.m4a"
Debug [CachingReaderWorker 1]: "[Channel1]" CachingReaderWorker::loadTrack() load failed for" "/home/music/Blackalicious/Blackalicious/The Craft/06 Lotus Flower.m4a" ", file invalid, unlocked reader lock
Debug [Main]: Committing transaction on "qt_sql_default_connection" result: true
Debug [Main]: BaseTrackCache(0x49132d0) updateIndexWithQuery took 1 ms
Debug [Main]: Failed to load track "/home/music/Blackalicious/Blackalicious/The Craft/06 Lotus Flower.m4a" "The file '/home/music/Blackalicious/Blackalicious/The Craft/06 Lotus Flower.m4a' could not be loaded."
Debug [Main]: Committing transaction on "qt_sql_default_connection" result: true
Debug [Main]: PlaylistTableModel(0x4929950) select() took 21 ms 1382
Debug [Main]: Successfully deserialized BeatGrid
Debug [Main]: m_sTracks.count() = 6

I have all *aac* related packages that I can see installed (aac-enc faac fdkaac-encoder libaacs0 libfaac0 libfdk-aac0 libvo-aacenc0, and the related -dev packages). Is there anything else I should expect? Or is it worth opening a separate bug for linux?

Uwe Klotz (uklotzde) wrote :

Should be closed since the code base of SoundSourceMediaFoundation has changed substantially with the introduction of the new SoundSource API.

Superseded by:
https://bugs.launchpad.net/mixxx/+bug/1490580
https://bugs.launchpad.net/mixxx/+bug/1519472

The last comment for Kubuntu does not apply to this bug report.

Uwe Klotz (uklotzde) wrote :

Duplicate, has already been fixed:
https://bugs.launchpad.net/mixxx/+bug/1490580

Changed in mixxx:
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers