IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
lame.exe: -b 64 -s 44.1 results in 24000Hz output, was: "Sample" (TOS #6)
Steve Forte Rio
post Jun 10 2009, 11:02
Post #1





Group: Members
Posts: 67
Joined: 4-October 08
Member No.: 59301



* -s 8/11.025/12/16/22.05/24/32/44.1/48 sampling frequency

When I'm using -q0 -b 64 -s 44.1 --noreplaygain -mj - %d
for Foobar2000 encoder, I have 24000Hz MP3 on output
Why does "-s 44.1" not works?
When I'm using lameXP I can force samplerate using corresponding option
P.S. Sorry for my English

This post has been edited by Steve Forte Rio: Jun 10 2009, 11:04
Go to the top of the page
 
+Quote Post
ZinCh
post Jun 10 2009, 12:17
Post #2





Group: Members
Posts: 131
Joined: 28-September 06
Member No.: 35705



so it works in lamexp, but not in foobar2000, right? if so, it is better to ask foobar/plugin developer.
Go to the top of the page
 
+Quote Post
robert
post Jun 10 2009, 12:30
Post #3


LAME developer


Group: Developer
Posts: 584
Joined: 22-September 01
Member No.: 5



The "-s 44.1" tells LAME that, if you feed in RAW PCM data, it has a samplerate of 44.1 kHz.
To control the output samplerate add "--resample 44.1" to overrule the default selected one.
Go to the top of the page
 
+Quote Post
Mark7
post Jun 10 2009, 12:30
Post #4





Group: Members
Posts: 153
Joined: 1-June 03
Member No.: 6945



Try --resample 44.1
-s sets the sample frequency of the input file, in case of a raw file.

http://lame.cvs.sourceforge.net/*checkout*...ml/switchs.html
Go to the top of the page
 
+Quote Post
Steve Forte Rio
post Jun 10 2009, 12:40
Post #5





Group: Members
Posts: 67
Joined: 4-October 08
Member No.: 59301



Thanks. It works.
But this is a double resampling (44.1(input file)->24->44.1) and this may affect the quality. I understand that 64kbps is very low quality but I don't like unnecessary resamplings

This post has been edited by Steve Forte Rio: Jun 10 2009, 12:43
Go to the top of the page
 
+Quote Post
robert
post Jun 10 2009, 14:21
Post #6


LAME developer


Group: Developer
Posts: 584
Joined: 22-September 01
Member No.: 5



No, if the input and output sample frequencies are the same, then there is no resampling happening here.
Go to the top of the page
 
+Quote Post
Steve Forte Rio
post Jun 10 2009, 15:04
Post #7





Group: Members
Posts: 67
Joined: 4-October 08
Member No.: 59301



QUOTE (robert @ Jun 10 2009, 11:21) *
No, if the input and output sample frequencies are the same, then there is no resampling happening here.


Is it possible to force output sample rate always the same as the input?

This post has been edited by Steve Forte Rio: Jun 10 2009, 15:05
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2009 - 22:33