I found a script which does audio conversion but for constant bit rate conversion.
Anyone have a good solution to convert some .mp3 files to variable bit rate, 32-320 bit rate?
variable bitrate using external tool for conversion
-
neutrox
- Posts: 194
- Joined: 05 Mar 2012 15:23
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: variable bitrate using external tool for conversion
Conversion done by lame (an mp3 encoder)?
Just replace the parameters to encode in vbr instead of cbr...
Just replace the parameters to encode in vbr instead of cbr...
One of my scripts helped you out? Please donate via Paypal
-
neutrox
- Posts: 194
- Joined: 05 Mar 2012 15:23
Re: variable bitrate using external tool for conversion
$fopts = "-v";
instead of
$fopts = "-C 160.2"; ?
instead of
$fopts = "-C 160.2"; ?
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: variable bitrate using external tool for conversion
No.
http://sox.sourceforge.net/soxformat.html
so it's e.g. -C -4.2
but read the parameter list to get what you want.
http://sox.sourceforge.net/soxformat.html
so it's e.g. -C -4.2
but read the parameter list to get what you want.
One of my scripts helped you out? Please donate via Paypal
-
neutrox
- Posts: 194
- Joined: 05 Mar 2012 15:23
Re: variable bitrate using external tool for conversion
mistake on quoting?
But I get a flash black DOS window popping after running

But I get a flash black DOS window popping after running
Code: Select all
run """C:\Programs\sox 14\sox.exe"" 'C:\mp3\Main Theme.mp3' -C -4.2 'C:\mp3\converted\Main Theme.mp3' rate -v 44100";-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: variable bitrate using external tool for conversion
because you left out the $gopts parameter "-S"?
run """C:\Programs\sox 14\sox.exe"" -S ""C:\mp3\Main Theme.mp3"" -C -4.2 ""C:\mp3\converted\Main Theme.mp3"" rate -v 44100";
run """C:\Programs\sox 14\sox.exe"" -S ""C:\mp3\Main Theme.mp3"" -C -4.2 ""C:\mp3\converted\Main Theme.mp3"" rate -v 44100";
One of my scripts helped you out? Please donate via Paypal
-
neutrox
- Posts: 194
- Joined: 05 Mar 2012 15:23
Re: variable bitrate using external tool for conversion
no...
I have put a lame_enc.dll into sox folder just in case. No effect.
Any other ideas?
Or tool?
I have put a lame_enc.dll into sox folder just in case. No effect.
Any other ideas?
Or tool?
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: variable bitrate using external tool for conversion
My sox is a "with mp3" support compiled one. Don't know about yours.
Just use lame.exe if sox isn't working for you.
Just use lame.exe if sox isn't working for you.
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club