Log in

View Full Version : AC3 to Mp3


enry1984
23rd November 2004, 15:40
Hi,guy!
I use this command line to convert an AC3 audio movie to Mp3 in case of 2CDs rip.
BeSweet -core( -input "test.ac3" -logfilea "logfile.log" -output "test.mp3" ) -azid( -c normal -L -3db ) -ota( -hybridgain ) -lame( --abr 128 -p -h -mj --athtype 3 --nspsytune )
Do you think it could be ok?
I read somebody advise to insert also these parameters in lame setting:--ns-sfb21 2 -Z
Do they improve the codification?And what exactly they do?

AsTimeGoesBy
23rd November 2004, 17:38
Hi - Have you ever tried the MP3 section of the Hydrogenaudio Forum (http://www.hydrogenaudio.org)!?
Of course you may also serach the web for 'scale factor band 21' to know what that means.

However, where have you all the these additional options from?
'--ns-sfb21 2 -Z' remember to me an older discussion about high(er)-quality VBR-settings for Lame 3.90.# or 3.92.
Have you version 3.90.#? (...not that it would be a bad one!)

I would be very careful about 'options you have heard about' - often the corresponding version is unknown.
If you like, try better this 'official' setting (with Lame >3.95). It's a so-called 'preset' containing pre-defined settings that are widely tested:
--preset cbr 128
Or if you wanna keep some of your 'tweaks':
--preset cbr 128 -h -p --ns-sfb21 1

'-h' is the same as '-q2' (you shouln't take '-q0' or '-q1'). '-p' adds a 16bit CRC sum to each frame.
But '-Z' i wouldn't use. Indeed on older Lame version you switched to another 'noise shaping' some people thought it would be better.
But on newer CBR presets this doesn't seem to have any influcence any longer.

A better general tuning is this one:
If you have a source of 48kHz add '--resample 44.1' too (not all Lame versions do this by default at 128kbps).
For the case you (still) have acoustic compression artefacts try adding '--resample 32' although resampling to 32kHz will cut off frequencies >16kHz - but at 128kbps you get nothing for free ;)

pacohaas
23rd November 2004, 20:27
i think you stumbled on some pretty old information enry, like astimegoesby said, the recommended settings and LAME versions are on HA. If you want to do the resampling, better to let BeSweet take care of that with ssrc( --resample 44100 ) as the lame resampler doesn't use as high of precision as ssrc. I would recommend something like this instead of your command:BeSweet -core( -input "test.ac3" -logfilea "logfile.log" -output "test.mp3" ) -azid( -c normal -L -3db ) -ota( -hybridgain ) -ssrc( --rate 44100 ) -lame( --alt-preset 128 )