mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.54k stars 1.28k forks source link

Media Foundation error when loading m4a #6921

Open mixxxbot opened 2 years ago

mixxxbot commented 2 years ago

Reported by: kendellwelch007 Date: 2013-02-19T03:03:06Z Status: Opinion Importance: Low Launchpad Issue: lp1129718


Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. 
Debug []: Getting SoundSource plugin object for "m4a" 
Warning []: SSMF: failed to initialize Media Foundation 
Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock 
Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded." 

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

mixxxbot commented 2 years ago

Commented by: bkgood Date: 2013-02-19T11:43:06Z


Hi Kendell,

It's been a while since I wrote this, but I'm remembering that Vista doesn't include, by default, all the Media Foundation components necessary for Mixxx to decode m4a.

My notes indicate that the Platform Update at http://support.microsoft.com/kb/2117917 will add those missing components. Would you mind installing that, and seeing if that resolves your problem?

However, I do think it'd be worthwhile to do something more user-friendly than this when we're missing all the relevant Media Foundation bits, as is the case for nearly all (I think) users using anything earlier than Windows 7.

Best, William

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-19T20:05:48Z


Hi Bill,

Thanks for the quick reply!

I attempted to install this update, but the installer says that it "doesn't apply to my system." I realize that this isn't the fault of the Mixxx team, but it is a problem. Also, FYI, that update has a prerequisite at http://support.microsoft.com/kb/971512, which of course gives me the same error. Do I have to have the Platform SDK installed perhaps?

I am also a Windows software developer, and really want to make this work as Mixxx is the only DJ software I've found that does what I want, so if you can point me in the right direction, I'll be happy to do some leg-work.

Thanks! Kendell

On Tue, Feb 19, 2013 at 5:43 AM, Bill Good

Hi Kendell,

It's been a while since I wrote this, but I'm remembering that Vista doesn't include, by default, all the Media Foundation components necessary for Mixxx to decode m4a.

My notes indicate that the Platform Update at http://support.microsoft.com/kb/2117917 will add those missing components. Would you mind installing that, and seeing if that resolves your problem?

However, I do think it'd be worthwhile to do something more user- friendly than this when we're missing all the relevant Media Foundation bits, as is the case for nearly all (I think) users using anything earlier than Windows 7.

Best, William

** Changed in: mixxx Importance: Undecided => Low

** Changed in: mixxx Status: New => Incomplete

** Changed in: mixxx Assignee: (unassigned) => Bill Good (bkgood)

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: rryan Date: 2013-02-19T20:24:20Z


Hi Kendell,

Basically M4A/AAC support in Mixxx is dicey since in order to distribute the codec ourselves we need a patent license. Using the Windows Media Foundation lets us use the M4A decoder that's built into Windows. In this case, as we understand it the Media Foundation doesn't really support M4A in Vista so there's not much we can do to fix this specific bug. We always thought adding that service pack would install the codec but never confirmed it. It works fine on Windows 7.

We do have an M4A plugin that links directly with the libfaad/libmp4v2 libraries to add the codec directly to Mixxx but as I mentioned we can't distribute it. If you built Mixxx from source you could build this yourself and use it? It's kind of a huge royal pain to build Mixxx on Windows though but if you've got the patience we have a guide on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_windows

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-19T20:33:55Z


OK. I'm actually already working on setting up the build environment, so I'll try that. FYI - Mixxx works fine on my Win7 machine.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:24 PM, RJ Ryan

Hi Kendell,

Basically M4A/AAC support in Mixxx is dicey since in order to distribute the codec ourselves we need a patent license. Using the Windows Media Foundation lets us use the M4A decoder that's built into Windows. In this case, as we understand it the Media Foundation doesn't really support M4A in Vista so there's not much we can do to fix this specific bug. We always thought adding that service pack would install the codec but never confirmed it. It works fine on Windows 7.

We do have an M4A plugin that links directly with the libfaad/libmp4v2 libraries to add the codec directly to Mixxx but as I mentioned we can't distribute it. If you built Mixxx from source you could build this yourself and use it? It's kind of a huge royal pain to build Mixxx on Windows though but if you've got the patience we have a guide on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_windows

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-20T04:30:32Z


I'm trying to compile, but SCONS is giving me an error when it comes to libprotobuf.lib (or a couple alternatives.)

I've downloaded its source and attempted to compile with VS05, VS08, and VS10, but can't seem to get the binary. Can you please offer any help? I can't seem to find a pre-compiled binary.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:33 PM, Kendell Welch

OK. I'm actually already working on setting up the build environment, so I'll try that. FYI - Mixxx works fine on my Win7 machine.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:24 PM, RJ Ryan

Hi Kendell,

Basically M4A/AAC support in Mixxx is dicey since in order to distribute the codec ourselves we need a patent license. Using the Windows Media Foundation lets us use the M4A decoder that's built into Windows. In this case, as we understand it the Media Foundation doesn't really support M4A in Vista so there's not much we can do to fix this specific bug. We always thought adding that service pack would install the codec but never confirmed it. It works fine on Windows 7.

We do have an M4A plugin that links directly with the libfaad/libmp4v2 libraries to add the codec directly to Mixxx but as I mentioned we can't distribute it. If you built Mixxx from source you could build this yourself and use it? It's kind of a huge royal pain to build Mixxx on Windows though but if you've got the patience we have a guide on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_windows

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-20T06:06:10Z


OK dudes,

I have it compiling, partly. It gets down to this point and errors out:

---------------
protoc -Isrc --cpp_out=win32_build src\proto\skin.proto
'protoc' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [win32_build\proto\skin.pb.cc] Error 1
scons: building terminated because of errors.
---------------

What the heck is protoc? Any help would be appreciated!

Thanks! Kendell

On Tue, Feb 19, 2013 at 10:30 PM, Kendell Welch
<email address hidden>wrote:

I'm trying to compile, but SCONS is giving me an error when it comes to libprotobuf.lib (or a couple alternatives.)

I've downloaded its source and attempted to compile with VS05, VS08, and VS10, but can't seem to get the binary. Can you please offer any help? I can't seem to find a pre-compiled binary.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:33 PM, Kendell Welch

OK. I'm actually already working on setting up the build environment, so I'll try that. FYI - Mixxx works fine on my Win7 machine.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:24 PM, RJ Ryan

Hi Kendell,

Basically M4A/AAC support in Mixxx is dicey since in order to distribute the codec ourselves we need a patent license. Using the Windows Media Foundation lets us use the M4A decoder that's built into Windows. In this case, as we understand it the Media Foundation doesn't really support M4A in Vista so there's not much we can do to fix this specific bug. We always thought adding that service pack would install the codec but never confirmed it. It works fine on Windows 7.

We do have an M4A plugin that links directly with the libfaad/libmp4v2 libraries to add the codec directly to Mixxx but as I mentioned we can't distribute it. If you built Mixxx from source you could build this yourself and use it? It's kind of a huge royal pain to build Mixxx on Windows though but if you've got the patience we have a guide on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_windows

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-20T06:21:59Z


I have the protoc thing fixed. I have more problems, but I'll muddle through them. In the mean time, I highly recommend that the "compiling documentation" be updated. It's practically useless.

On Wed, Feb 20, 2013 at 12:06 AM, Kendell Welch
<email address hidden>wrote:

OK dudes,

I have it compiling, partly. It gets down to this point and errors out:


protoc -Isrc --cpp_out=win32_build src\proto\skin.proto 'protoc' is not recognized as an internal or external command, operable program or batch file. scons: *** [win32_build\proto\skin.pb.cc] Error 1 scons: building terminated because of errors.

What the heck is protoc? Any help would be appreciated!

Thanks! Kendell

On Tue, Feb 19, 2013 at 10:30 PM, Kendell Welch <

wrote:

I'm trying to compile, but SCONS is giving me an error when it comes to libprotobuf.lib (or a couple alternatives.)

I've downloaded its source and attempted to compile with VS05, VS08, and VS10, but can't seem to get the binary. Can you please offer any help? I can't seem to find a pre-compiled binary.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:33 PM, Kendell Welch <

wrote:

OK. I'm actually already working on setting up the build environment, so I'll try that. FYI - Mixxx works fine on my Win7 machine.

Thanks! Kendell

On Tue, Feb 19, 2013 at 2:24 PM, RJ Ryan

Hi Kendell,

Basically M4A/AAC support in Mixxx is dicey since in order to distribute the codec ourselves we need a patent license. Using the Windows Media Foundation lets us use the M4A decoder that's built into Windows. In this case, as we understand it the Media Foundation doesn't really support M4A in Vista so there's not much we can do to fix this specific bug. We always thought adding that service pack would install the codec but never confirmed it. It works fine on Windows 7.

We do have an M4A plugin that links directly with the libfaad/libmp4v2 libraries to add the codec directly to Mixxx but as I mentioned we can't distribute it. If you built Mixxx from source you could build this yourself and use it? It's kind of a huge royal pain to build Mixxx on Windows though but if you've got the patience we have a guide on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_windows

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: rryan Date: 2013-02-20T06:22:22Z


protoc is Google's protobuf compiler -- you can download a pre-built binary of protoc for Windows (or build it from source) here: http://code.google.com/p/protobuf/downloads/list

On Wed, Feb 20, 2013 at 1:06 AM, Kendell Welch

OK dudes,

I have it compiling, partly. It gets down to this point and errors out:


protoc -Isrc --cpp_out=win32_build src\proto\skin.proto 'protoc' is not recognized as an internal or external command, operable program or batch file. scons: *** [win32_build\proto\skin.pb.cc] Error 1 scons: building terminated because of errors.

What the heck is protoc? Any help would be appreciated!

Thanks! Kendell

On Tue, Feb 19, 2013 at 10:30 PM, Kendell Welch

mixxxbot commented 2 years ago

Commented by: rryan Date: 2013-02-20T06:49:14Z


Go wild -- it's a wiki :P.

On Wed, Feb 20, 2013 at 1:21 AM, Kendell Welch

I have the protoc thing fixed. I have more problems, but I'll muddle through them. In the mean time, I highly recommend that the "compiling documentation" be updated. It's practically useless.

On Wed, Feb 20, 2013 at 12:06 AM, Kendell Welch

mixxxbot commented 2 years ago

Commented by: Pegasus-RPG Date: 2013-02-20T07:36:43Z


I wonder if you've seen the dependency compilation page on the wiki? The link is at the top of the Windows compilation page. http://mixxx.org/wiki/doku.php/build_windows_dependencies

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-20T08:49:31Z


No I haven't Sean, but will look at them tomorrow. Thanks!

On Wed, Feb 20, 2013 at 1:36 AM, Sean M. Pappalardo <
<email address hidden>> wrote:

I wonder if you've seen the dependency compilation page on the wiki? The link is at the top of the Windows compilation page. http://mixxx.org/wiki/doku.php/build_windows_dependencies

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: bkgood Date: 2013-02-20T09:40:54Z


At the risk of asking something obvious, do you have Service Pack 2?

The laptop I developed this on was originally a Vista machine -- I may have moved to 7 by that point, I frankly don't remember.

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-21T09:25:36Z


Hi All,

I've got this "mostly" compiling, but it's failing when it gets to VAMP. In all honesty, my C++ is rusty...I switched to C# years ago, but I know I can figure this out if you can kindly give me a little guidance.

The errors I get start like this:

-------------
   Creating library win32_build\mixxx.lib and object win32_build\mixxx.exp
vamp-hostsdk.lib(RealTime.obj) : error LNK2001: unresolved external symbol
"__de
clspec(dllimport) public: class std::basic_string<char,struct
std::char_traits<c
har>,class std::allocator<char> > __thiscall std::basic_string<char,struct
std::
char_traits<char>,class std::allocator<char> >::substr(unsigned
int,unsigned int
)const " (__imp_?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D
@2@@
std@@QBE?AV12@II@Z)
vamp-hostsdk.lib(PluginHostAdapter.obj) : error LNK2001: unresolved
external sym
bol "__declspec(dllimport) public: class std::basic_string<char,struct
std::char
_traits<char>,class std::allocator<char> > __thiscall
std::basic_string<char,str
uct std::char_traits<char>,class std::allocator<char> >::substr(unsigned
int,uns
igned int)const " (__imp_?substr@?$basic_string@DU?$char_traits@D@std@
@V?$alloca
tor@D@2@@std@@QBE?AV12@II@Z)
-------------

I get 32 of them, but they all seem to be similar. I simply don't know where to look in the code to fix it. Perhaps I have something in the wrong place? I have the VAMP stuff in my dependencies directory, but the compiler doesn't seem to like something. Any suggestions would be appreciated!

Thanks! Kendell

On Wed, Feb 20, 2013 at 3:40 AM, Bill Good

At the risk of asking something obvious, do you have Service Pack 2?

The laptop I developed this on was originally a Vista machine -- I may have moved to 7 by that point, I frankly don't remember.

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-21T15:28:38Z


Of course I do :)

On Wed, Feb 20, 2013 at 3:40 AM, Bill Good

At the risk of asking something obvious, do you have Service Pack 2?

The laptop I developed this on was originally a Vista machine -- I may have moved to 7 by that point, I frankly don't remember.

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-25T08:30:22Z


I'm not sure what is going on here, but this will not compile. I've tried on both Windows Vista and 7, and nothing I do makes it work. What is the secret?

On 2/20/2013 3:40 AM, Bill Good wrote:

At the risk of asking something obvious, do you have Service Pack 2?

The laptop I developed this on was originally a Vista machine -- I may have moved to 7 by that point, I frankly don't remember.

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-25T10:42:55Z


This doesn't compile. VAMP fails. I don't have any idea how to fix it, no matter what I try.

On Mon, Feb 25, 2013 at 2:30 AM, Kendell Welch

I'm not sure what is going on here, but this will not compile. I've tried on both Windows Vista and 7, and nothing I do makes it work. What is the secret?

On 2/20/2013 3:40 AM, Bill Good wrote:

At the risk of asking something obvious, do you have Service Pack 2?

The laptop I developed this on was originally a Vista machine -- I may have moved to 7 by that point, I frankly don't remember.

mixxxbot commented 2 years ago

Commented by: rryan Date: 2013-02-25T15:36:56Z


I don't have any hints for what that linker spew means. It seems like the STL is not being linked to the VAMP host sdk. Could you post the full error?

Are you trying to build the VAMP host SDK external to Mixxx or internal (if you didn't build VAMP yourself then it's internal)?

What version of VS are you using?

Our build server (which produces nightly binaries) and other people's environments work fine so the problem is likely specific to your setup. Not sure what the issue is though :-/.

On Mon, Feb 25, 2013 at 5:42 AM, Kendell Welch

This doesn't compile. VAMP fails. I don't have any idea how to fix it, no matter what I try.

On Mon, Feb 25, 2013 at 2:30 AM, Kendell Welch

mixxxbot commented 2 years ago

Commented by: rryan Date: 2013-02-25T15:52:40Z


What C runtime options did you build all the libraries Mixxx relies on with? /MT, /MD, /MTd, or /MDd ?

It seems to me that you are missing the C++ runtime which would contain the std::string definition.

For reference, on the build server we build with this scons command: MIXXX_MACHINE is either x86 or x86_64 scons toolchain=msvs machine=%MIXXX_MACHINE% mediafoundation=1 sqlitedll=0 staticlibs=1

Maybe try adding staticlibs=1 to link everything statically.

On Mon, Feb 25, 2013 at 10:36 AM, RJ Ryan

I don't have any hints for what that linker spew means. It seems like the STL is not being linked to the VAMP host sdk. Could you post the full error?

Are you trying to build the VAMP host SDK external to Mixxx or internal (if you didn't build VAMP yourself then it's internal)?

What version of VS are you using?

Our build server (which produces nightly binaries) and other people's environments work fine so the problem is likely specific to your setup. Not sure what the issue is though :-/.

On Mon, Feb 25, 2013 at 5:42 AM, Kendell Welch

This doesn't compile. VAMP fails. I don't have any idea how to fix it, no matter what I try.

On Mon, Feb 25, 2013 at 2:30 AM, Kendell Welch

mixxxbot commented 2 years ago

Commented by: kendellwelch007 Date: 2013-02-25T16:48:52Z


I'm using the instructions at: http://mixxx.org/wiki/doku.php/compiling_on_windows

To the letter. The only exception is that I'm using VS 2008 Pro. I'll try the static linking, but this is very frustrating. Is there a better guide for compiling?

On Mon, Feb 25, 2013 at 9:52 AM, RJ Ryan

What C runtime options did you build all the libraries Mixxx relies on with? /MT, /MD, /MTd, or /MDd ?

It seems to me that you are missing the C++ runtime which would contain the std::string definition.

For reference, on the build server we build with this scons command: MIXXX_MACHINE is either x86 or x86_64 scons toolchain=msvs machine=%MIXXX_MACHINE% mediafoundation=1 sqlitedll=0 staticlibs=1

Maybe try adding staticlibs=1 to link everything statically.

On Mon, Feb 25, 2013 at 10:36 AM, RJ Ryan

I don't have any hints for what that linker spew means. It seems like the STL is not being linked to the VAMP host sdk. Could you post the full error?

Are you trying to build the VAMP host SDK external to Mixxx or internal (if you didn't build VAMP yourself then it's internal)?

What version of VS are you using?

Our build server (which produces nightly binaries) and other people's environments work fine so the problem is likely specific to your setup. Not sure what the issue is though :-/.

On Mon, Feb 25, 2013 at 5:42 AM, Kendell Welch <

-- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1129718

Title: Media Foundation error when loading m4a

Status in Mixxx: Incomplete

Bug description: Hello,

I'm attempting to try out Mixxx. When using MP3's, everything is great. But, it will not load my m4a's, which are the bulk of my collection. It appears that the SoundSource plugin is failing to load Media Foundation. Here is an except from my log file:

Debug [Main]: BeatFactory::loadBeatsFromByteArray could not parse serialized beats. Debug []: Getting SoundSource plugin object for "m4a" Warning []: SSMF: failed to initialize Media Foundation Debug []: [Channel1] CachingReader::loadTrack() load failed for" "D:/Music/After Hours 2/Electric Slide.m4a" ", file invalid, unlocked reader lock Debug [Main]: Failed to load track "D:/Music/After Hours 2/Electric Slide.m4a" "The file 'D:/Music/After Hours 2/Electric Slide.m4a' could not be loaded."

I know the files are good...they play in everything else...so I'm assuming the problem is in the plug-in.

I'm using Windows Vista 32bit and Mixxx 1.10.1.

Thanks! Kendell

To manage notifications about this bug go to: https://bugs.launchpad.net/mixxx/+bug/1129718/+subscriptions

mixxxbot commented 2 years ago

Commented by: uklotzde Date: 2016-05-07T08:37:45Z


Should be closed since the code base 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