Skip to main content

Topic: WAV encoding (Read 2871 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • wads
  • [*]
WAV encoding
Hi,

Does anyone know of an sdk I can use to create an 30 second AAC clip from a full length WAV audio file?

Ideally I'd like to encode from WAV directly to an AAC clip.  However my second best option would be to create a WAV clip from a WAV audio but I can't even find anything to do this.

I have contacted codingtechnologies.com directly and even they don't seem to be able to create AAC clips directly from WAVs.

Any help much appreciated.

Thanks
Wads

  • dimzon
  • [*][*][*]
  • Banned
WAV encoding
Reply #1
Quote
Hi,

Does anyone know of an sdk I can use to create an 30 second AAC clip from a full length WAV audio file?
[{POST_SNAPBACK}][/a]

look @ enc_aacplus.exe [a href="http://workspaces.gotdotnet.com/behappy]here[/url] - it will use enc_aac.dll from winamp using NSV SDK and it's OpenSource

  • Synthetic Soul
  • [*][*][*][*][*]
  • Global Moderator
WAV encoding
Reply #2
You could use shtntool to get a 30 second clip and then pass that to an AAC encoder.

I'm not sure though whether you can just get a 30 second clip, or whether you have to split the file into multiple 30 second parts and then just use the part you want (part 1 no doubt).

Check out the docs here.

Edit: I've seen a couple of posts like this.  It seems to me as though a useful app would be something that takes a wave file, a period, and a command.  It then reads a section of the wave file and pipes it to the command, e.g.:

Code: [Select]
CLIPIT.EXE "C:\My Music\My Wave.wav" 0-29 LAME.EXE -V2 - myclip.mp3

(The above would take the first 30 seconds of "My Wave.wav" and pipe it to LAME to create "myclip.mp3")

Maybe such an app exists already...

Edit 2: I also thought that I'd seen an encoder where you could specify the length of file required.  Was that nyoachi's APE/CUE LAME or something else?
  • Last Edit: 14 December, 2005, 12:24:46 PM by Synthetic Soul
I'm on a horse.

  • Synthetic Soul
  • [*][*][*][*][*]
  • Global Moderator
WAV encoding
Reply #3
Some new thoughts.

1. foobar 0.9 creates "previews".  If you're not talking CLI then you could use foobar to mass convert waves to AAC clips.

2.  I mentioned a theoretical app called ClipIt.  ACDIR will do that, pretty much.  If you have a cuesheet like:

Code: [Select]
FILE "mywave.wav" WAVE
 TRACK 01 AUDIO
   INDEX 01 00:00:00
 TRACK 02 AUDIO
   INDEX 01 00:30:00

... you could use:

Code: [Select]
ACDIR --track 1 --pipe "NAAC - myaac.aac" mywave.cue

With regard to multiple filenames (I have no idea how or what you are trying to achieve) you could use SED to create a cuesheet for each file before running ACDIR using the -o switch to create a unique filename.  Alternatively just COPY the wave to "mywave.wav" so that you are always processing a file called "mywave.wav" (and the cuesheet stays the same).
I'm on a horse.

  • optimus
  • [*][*][*][*]
WAV encoding
Reply #4
Quote
Hi,

Does anyone know of an sdk I can use to create an 30 second AAC clip from a full length WAV audio file?

Ideally I'd like to encode from WAV directly to an AAC clip.  However my second best option would be to create a WAV clip from a WAV audio but I can't even find anything to do this.

I have contacted codingtechnologies.com directly and even they don't seem to be able to create AAC clips directly from WAVs.

Any help much appreciated.

Thanks
Wads
[{POST_SNAPBACK}][/a]

It's very simple to work this out with [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=36870]MediaCoder[/url].
Follow these steps:
(1) download, install and start MediaCoder
(2) drop your wav file into the list, choose AAC+ as audio encoder, and choose an output folder where the result file will be put
(3) click Settings button, go Overall -> Video Settings, and enter the start time (in second) at "Seek to Position", and enter the length (also in second) you want to encode at "End Position".



(4) click Start and that's all
  • Last Edit: 16 December, 2005, 11:13:19 PM by optimus
MediaCoder the transcoder
http://mediacoder.sourceforge.net