David1105
13th April 2007, 01:41
The following graph is used to convert .mp3 to .wav file:
Source (.mp3, E436EBB5-524F-11CE-9F53-0020AF0BA770) -> MPEG-I Stream Splitter -> ACM Wrapper -> Wav Dest -> File Writer (.wav)
Three problem found:
1. The resultant .wav file is "chopped", for example, the original .mp3 has a 2-min play duration but the encoded .wav has only 26-second duration. This happens on almost all the machine we tested so far. Several different players reported the "shrinking."
2. On one machine, the graph generated in our app is like the above, but without "MPEG-I Stream Splitter" inserted in the graph. We tried manually add the splitter filter into the graph and it failed to connect Source filter to the Splitter filter, or the latter to ACM Wrapper. There isn't such problem on other machines.
3. StdErr spits: "QTAudioDeviceContextCreate: AudioContextInitialize failed."
BTW, I checked the version of quartz.dll, they're all the same on all PCs.
Thanks!
Source (.mp3, E436EBB5-524F-11CE-9F53-0020AF0BA770) -> MPEG-I Stream Splitter -> ACM Wrapper -> Wav Dest -> File Writer (.wav)
Three problem found:
1. The resultant .wav file is "chopped", for example, the original .mp3 has a 2-min play duration but the encoded .wav has only 26-second duration. This happens on almost all the machine we tested so far. Several different players reported the "shrinking."
2. On one machine, the graph generated in our app is like the above, but without "MPEG-I Stream Splitter" inserted in the graph. We tried manually add the splitter filter into the graph and it failed to connect Source filter to the Splitter filter, or the latter to ACM Wrapper. There isn't such problem on other machines.
3. StdErr spits: "QTAudioDeviceContextCreate: AudioContextInitialize failed."
BTW, I checked the version of quartz.dll, they're all the same on all PCs.
Thanks!