Transcoding mp3 to aac not using FAAC

General discussions.

Moderator: moderators

Transcoding mp3 to aac not using FAAC

Postby mackworth » Sun May 30, 2010 2:36 am

Hi everyone, I am trying to stream the mp3s as AAC but I don't want to use FAAC. I have heard FAAC is a pretty awful AAC encoder so I have been looking for alternatives.

Nero doesn't support decoding to stdout but I found this,

http://sites.google.com/site/qaacpage/home

It uses quicktime to do the encoding. It supports stdout and stdin. However, I can't get it to work.

Based on the docs, I doing this:

Step 1 = ffmpeg -i %s -f wav -
Step 2 = qaac -a %b --adts - -

but I get "File contains data in an unknown format." from qaac.

Now I know this must be some kind of error in qaac and not subsonic, but I am hoping that someone might have another alternative or atleast enough interest in getting this to work that they might try it and see something that I am missing.

Thanks.
mackworth
 
Posts: 6
Joined: Sun May 30, 2010 2:27 am

Postby mackworth » Sun May 30, 2010 7:08 pm

Ok, so from help from the doom9 forum, I have gotten this far:

c:\subsonic\transcode\ffmpeg -i "G:\Music\iTunes\Ace Of Base\The Bridge\01 Beautiful Life.mp3" -acodec pcm_f32le -f wav - | c:\subsonic\trans
code\sox -t wav --ignore-length - -t wav - | c:\subsonic\transcode\qaac -s -a 128 --adts -o - - > E:/dsfsdf.aac

That command creates a valid aac file I can play in QT.

However, when I do:

Step1:

ffmpeg -i %s -acodec pcm_f32le -f wav -

Step 2:

sox -t wav --ignore-length - -t wav -

and Step 3:

qaac -s -a %b --adts -o - -

I get this error:

[5/30/10 3:07:39 PM EDT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [G:\Music\iTunes\The Beach Boys\20 Good Vibrations_ The Greatest Hits\06 Fun, Fun, Fun.mp3] [-acodec] [pcm_f32le] [-f] [wav] [-]
[5/30/10 3:07:39 PM EDT] WARN TranscodingService Failed to transcode G:\Music\iTunes\The Beach Boys\20 Good Vibrations_ The Greatest Hits\06 Fun, Fun, Fun.mp3. Using original.
mackworth
 
Posts: 6
Joined: Sun May 30, 2010 2:27 am

Postby mackworth » Mon May 31, 2010 4:25 pm

Could I get this post moved to the help forum or should I just start a thread in there? Meant to post it there.

Sorry.
mackworth
 
Posts: 6
Joined: Sun May 30, 2010 2:27 am

Postby Kirk » Tue Jun 08, 2010 5:46 pm

Are you trying to output to AAC instead of MP3?

I'd really like to see that accomplished too. I have been using my friend's Subsonic which is on a datacenter server, but for various reasons I'd like to run my own at home, and I'd prefer to use AAC since it can provide a nice quality with less bandwidth.

Kirk
Image
User avatar
Kirk
 
Posts: 310
Joined: Tue Jun 08, 2010 5:45 pm
Location: Illinois, USA

Postby delcypher » Tue Aug 10, 2010 8:32 pm

I got * > AAC playback working in the subsonic web player working today.

Please see my post http://forum.subsonic.org/forum/viewtopic.php?t=3925
delcypher
 
Posts: 109
Joined: Tue Jun 01, 2010 10:39 am


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests