PDA

View Full Version : DMC Scripting and m4a



gahuntly
01-07-2006, 12:37 PM
I downloaded the m4a(FAAC CLI) codec and am now able to create m4a files; however, when I try to run it from C++ (BCB) , I get the following error message:

"Unable to create compression CODEC 'm4a(FAAC CLI)', please check software installation"

Any suggestions?!

LtData
01-07-2006, 01:07 PM
Can you run the codec from dMC itself manually? I believe you have to run it manually first to set the compression settings, and THEN use scripting to repeat those settings afterwards.

gahuntly
01-07-2006, 01:29 PM
Yes, I can run it manually.

LtData
01-07-2006, 02:13 PM
Have you ran it manually before now, or is this your first time running it manually? If its your first time running it manually, try your script again. If it still doesn't work, I'll move this thread to the Developer forum, where you should be able to get more scripting help.

gahuntly
01-08-2006, 02:44 PM
I've run the converter manually using the m4a codec several times, and it still refuses to work from BCB -- Note: I've had no problems with Wave or Mp3 (lame).

the relevant line of code is:;

Converter.GoConversion(bstrDeviceName, 1, 1, 1, 1);

where bstrDeviceName is set to "m4a(FAAC CLI)". I assume (?!) that the value to use is the same as that displayed by the converter console,

LtData
01-08-2006, 04:51 PM
Moved to Developer forum.

Spoon
01-08-2006, 05:54 PM
>"m4a(FAAC CLI)".

Should be

"m4a (FAAC CLI)"

gahuntly
01-11-2006, 08:39 PM
Opps! Sorry