FLAC Transcoding

Need help? Post your questions here.

Moderator: moderators

FLAC Transcoding

Postby WildWalker » Wed Nov 11, 2009 9:46 pm

Hello All,

I put some FLAC files on my server just to see how Subsonic would handle the Transcoding. All seems fine except the files are transcoded to 128Kb/s even though no limit is set.

Does Lame have a max bit rate setting of 128Kb/s for FLAC files?

[11/11/09 9:43:19 PM GMT] INFO PlaylistInputStream WildWalker listening to "Best Of R.E.M FLAC Test\16-R.E.M. _ Everybody Hurts.flac"
[11/11/09 9:43:19 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\flac] [-c] [-s] [-d] [C:\_Media\_Music\R.E.M\Best Of R.E.M FLAC Test\16-R.E.M. _ Everybody Hurts.flac]
[11/11/09 9:43:19 PM GMT] DEBUG TranscodeInputStream Starting transcoder: [c:\subsonic\transcode\lame] [-b] [128] [-] [-]
[11/11/09 9:43:19 PM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) LAME version 3.96.1 (http://lame.sourceforge.net/)
[11/11/09 9:43:19 PM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), SSE, SSE2
[11/11/09 9:43:19 PM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 17249 Hz - 17782 Hz
[11/11/09 9:43:19 PM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding to
[11/11/09 9:43:19 PM GMT] DEBUG InputStreamReaderThread (c:\subsonic\transcode\lame) Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=3
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby flacflac » Wed Nov 11, 2009 9:54 pm

Hi,

there is no max-bitrate specific to FLAC file transcodes, but you should look into the Transcoding tab and see what kind of transcode command you have activated there. I have no trouble transcoding to 320kbps, although I am still hoping that some day a fix will come along that would allow lossless playback... .

But yeah, just post what you have set up and I'm sure it can be fixed.

ff :shock:
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby WildWalker » Wed Nov 11, 2009 10:18 pm

Here are my FLAC settings:

flac > mp3 flac mp3 flac -c -s -d %s lame -b %b - -

Thanks for your last reply :)
Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby WildWalker » Wed Nov 11, 2009 10:33 pm

From what I have read the %b is the bit rate, and I assumed that bit rate would be either the assigned user bit rate or the transcoder max bit rate.

Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby flacflac » Thu Nov 12, 2009 12:20 pm

WildWalker wrote:From what I have read the %b is the bit rate, and I assumed that bit rate would be either the assigned user bit rate or the transcoder max bit rate.

Alan.



For step2, try:

Code: Select all
lame -b 192 - -


You can exchange 192 with anything up to 320.

ff
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby WildWalker » Thu Nov 12, 2009 5:50 pm

Thanks FF, I will try that.

But am I correct in thinking that.

If you have no bitrate limit it should stream in it's native bit rate.
If you have a bitrate limit, it should stream at the specified limit?

Best Regards,
Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby flacflac » Fri Nov 13, 2009 12:31 am

WildWalker wrote:Thanks FF, I will try that.

But am I correct in thinking that.

If you have no bitrate limit it should stream in it's native bit rate.
If you have a bitrate limit, it should stream at the specified limit?

Best Regards,
Alan.


I am not sure what you mean by "native bit rate" - you need to specify the bitrate in the transcode command or otherwise I would guess it will just do 128kbps coming from FLAC. The max-bitrate setting in the user-specific settings only applies if you're streaming mp3 files directly. Those will get transcoded to a lower bitrate using the command specified in the "Advanced" tab, but I do not believe it applies to FLAC transcodes. Correct me if I'm wrong. :shock:

ff
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby WildWalker » Fri Nov 13, 2009 8:01 am

Ok, thanks flacflac,

I just assumed that if specified, the users bit rate was passed to the encoder via the %b parameter :)

Silly me.

Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests