Rich_on 25-Jul-2006,
(E-Mail Removed) wrote:
<snip>
> > > > However I need to do the convert ion from the command-line. I plan
> > > >to
> > > > get the online radio station file, convert it and transfer it to my
> > > > MP3
> > > > player using a script (that run overnight).
> > > > With Switch (GUI) I will have to click-click-click forever.
> > > > For that reason I chose "ffmpeg". But now I'm stuck compiling the
> > > > faad2
> > > > on Cygwin.
> > > > Any idea?
> > > <snipped a bit>
> > >
> > > I only once needed to convert a .aac file which was when I found
> > > switch.
> > >
> > > You say that you are compiling faad - why not use the already compiled
> > > faad
> > > from rarewares.org that Mark Blain pointed out.
> > > You would have to go .aac to .wav then use the output and convert to
> > > .mp3
> > > I have just been looking at Super(c) from eRightsoft which uses ffmpeg
> > > and
> > > will convert much multimedia all ways, but not .aac to .mp3. Perhaps
> > > it is
> > > not possible?
<moved a bit to keep the thread>
> I want to also specify that the input file is playable by both mplayer
> and WinAmp.
> You can see here the 'Properties' screen from WinAmp for this specific
> input file:
>
> http://www.petrum.net/tmp/WinAmp-screen.JPG
>
> > I dowloaded the percompiled faad utility and tried to get the *.wav
> > from the *.aac file. I get this error:
> >
> > $> faad -o test.wav KissMusic.aac
> > *********** Ahead Software MPEG-4 AAC Decoder V2.1 beta
> > ******************
> > Build: Jul 9 2004
> > Copyright 2002-2004: Ahead Software AG
> > http://www.audiocoding.com
> > Floating point version
> > This program is free software; you can redistribute it and/or modify
> > it under the terms of the GNU General Public License.
> >
> > **************************************************************************
> > KissMusic.aac file info:
> > RAW
> > Error: Invalid number of channels
> >
> > Any idea what's wrong?
I dont think that I can add much more as I do not normally need to convert
..aac files
however I have tried a few simple tests to see what works and does not.
1. faad
Not having any .aac files I had to make one so I could decode it.
Using belight - a front end for besweet, and the aac conversion option,
there is the first problem - what codec?
There is a faac codec which will make a .aac file which faad will decode.
There is a nero codec which make a .mp4 file which produces the error you
get - RAW - error: invalid number of channels.
I do not know how to fix this problem.
2. Super(c) converter
I mentioned this before because I thought it might convert a .aac file but
didn't.
That was on my new-ish computer which I use for video and graphics.
I installed Super on my old internet box (this one) and for some reason it
will convert the .mp4 file ( the RAW file) but still does not convert the
..aac file.
The point of this is: Super is only a front end for ffmpeg and other things.
By stopping Super half way through a .mp4 to .mp3 conversion I was able to
"rescue" the avisynth script it used.
this is the content of sample.avs
Clip=DirectShowSource("E:\sample.mp4", fps=25, convertfps=true)
ConvertToYV12(Clip)
Subtitle("Me ; )", font="verdana", size=14, text_color=$1afffa,
halo_color=$1f4afa, align=3)
As you see it uses directx in the conversion.
You can use this script as input to ffmpeg bypassing the Superfront end.
ffmpeg -i sample.avs -acodec mp3 test.mp3
Suggestion: Get Super(c) from eRightSoft and see if it will convert your
..aac file, try renaming to .mp4 as .aac is not a valid imput.
If it does, taskkill Super and retrieve the avisynth script from your temp
folder.
Suggestion: Try one of the video forums, possibly doom9.org, they know all
there is to know about ffmpeg. Have a look at avisynth and how it interacts
with ffmpeg.
Suggestion: stop top posting.
Best of luck
--
rich