Sign In
New User? Sign Up
LPFM_Radio · New Zealand LPFM Radio Broadcasting
? Already a member? Sign in to Yahoo!7

Yahoo!7 Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
audio decoding - sample rate conversion   Message List  
Reply | Forward Message #4863 of 6150 |
Re: [LPFM] audio decoding - sample rate conversion

BTW, this is the current lame options I use for creating a batch conversion process of the news files...
 
lame -a --vrb-new -V 5 temp_0.wav temp_0.mp3 --ta "Newstalk ZB Affiliates Unit" --tt "Newscheck Bulletin" --noreplaygain --priority 0
 
And tossing up using this:
 
lame -a -b 80 temp_0.wav temp_0.mp3 --ta "Newstalk ZB Affiliates Unit" --tt "Newscheck Bulletin" --noreplaygain --priority 0
 
Although I perfer VBR, as the overall file size is pretty much the same but it allows the tad higher quality audio. The only problem with vbr is obviously some players throw a mental at reading the correct length of the file during playback. If I convinced TRN to go with constant bitrate mp3 files along with their current mp2 files I think 80Kbps would do, as most of the vbr processing according to the lame histogram during encoding seems to be the 64-80Kbps mark. But, 64Kbps is a little on the shy side since the audio would be transcoded to start with.
 
This way people would be able to download and play the mp3 constant bitrate with winamp or stationplaylist etc... as it just doesn't make sense distributing it in stereo where possible since it's only a mono source to start with. It's the difference of 2MB for news and sports all up, compared to about 6-7MB for the current files. 12 hours a day, 31 days a month... that's quite a broadband allowance difference.
 
Acutally now that I've mentioned ogg vorbis, I might go experiment a little with encoding ogg files aswell if there's command line stuff available which I'm sure there is.
 
Gavin.
 
 
 
 
----- Original Message -----
Sent: Tuesday, November 14, 2006 10:16 AM
Subject: Re: [LPFM] audio decoding - sample rate conversion

Thanks Geoff, Ross.
 
I do use lame as that way I can easily distribute it with my scripts and I don't need to install anything in order to use it. However as Ross has mentioned, lame does downmix for encoding, but I can't use it to decode back to stereo.
 
The main thing I need to do is create a stereo file again after the decoded mp3 mono files are turned back to waves.
 
I've had a short look at the other SOX thing but I've still yet to figure it out completely. I'm not sure if it'll do exactly what I need yet, but thanks to Simon for pointing it out. I'll do more research on it later today.
 
The older fraunhofer command line decoder allowed to decode back to stereo if I remember rightly but it was picky about working on different Windows O/S's. I had it working on Windows 2000 fine, but then wouldn't work on XP or 98 etc... so I stopped considering it the moment I downloaded lame.
 
I noticed the Flea in Auckland use the FTP service from TRN. I was listening to an online stream after being told they use it. I found they must be sending studio levels to their online stream because the news files were at about -12dB with everything else around -1dB. They don't do any further processing of the file once downloaded it appears.
 
The TRN levels are actually correct for their system, just not for those normalising everything pretty close to the top of full scale digital.
 
Is The Flea apart of this lpfm mailing list?
 
I also had my first ogg vorbis listening experience yesterday to Brian's test feed. I kinda skipped right pass ogg from mp3 and mp3pro to aacplus. I'm quite impressed by the quality of ogg for streaming though.
 
Thanks again,
Gavin.
 
----- Original Message -----
From: Ross Levis
Sent: Monday, November 13, 2006 10:45 PM
Subject: Re: [LPFM] audio decoding - sample rate conversion

I know LAME has a downmix option from stereo to mono (-a) but I don't think it can encode a mono input as stereo.  I think the -m settings assume a stereo input file.
 
Ross.
 
----- Original Message -----
Sent: Monday, November 13, 2006 10:19 PM
Subject: SPAM-LOW: Re: [LPFM] audio decoding - sample rate conversion

H Gavin
I dunno if you use LAME but it can convert WAV to MP3
MP3 to MP3
and there are options for stereo or mono or Joint outputs too.
I think thats what you want.

LAME version 3.96.1 (http://lame.sourceforge.net/)

usage: lame [options] <infile> [outfile]

<infile> and/or <outfile> can be "-", which means stdin/stdout.

RECOMMENDED:
lame -h input.wav output.mp3

OPTIONS:
-b bitrate set the bitrate, default 128 kbps
-f fast mode (lower quality)
-h higher quality, but a little slower. Recommended.
-m mode (s)tereo, (j)oint, (m)ono
default is (j) or (s) depending on bitrate
-V n quality setting for VBR. default n=4

--preset type type must be "medium", "standard", "extreme", "insane",
or a value for an average desired bitrate and depending
on the value specified, appropriate quality settings
will
be used.
"--preset help" gives more info on these

--longhelp full list of options

Gavin Stephens wrote:
>
> Hi guys,
>
> Does anyone know of a programme that will allow me to convert a mono
> wave to stereo wave file from the command line?
>
> This may interest the od LPFM station that uses the Newstalk ZB
> affliliate units FTP service.
>
> I've been tidying up some scripts/batch files I've been slowly
> perfecting over the past 4 years after creating some for use with the
> Newstalk ZB affiliates FTP service. Orginally I created them to
> download the news, decode it, normalise it in to a system using
> everything at 98% peak audio levels, then tag the files and import
> them in to Simian automation software unattendent.
>
> Anyway, the one thing I'd like to see done is for the service to
> deliver news in an mp3 VBR format but in MONO for distribution and
> bandwidth savings. This reduces the file size from the current ACM mp2
> @256kbps stereo files of around 4.6MB for the news alone, to around
> 1.4MB. I was told the other day TRN's latest IT cheif is interested
> again in providing and MP3 option (had one of those emails about 4
> years ago saying they were looking in to it but then Ed Taylor left
> and I left the station I was with at the time), but I'm coming up with
> a means to do it easier for them again.

Cheers
Geoff Barkman
ZL4TUX



Mon Nov 13, 2006 9:29 pm

gstephens@...
Send Email Send Email

Forward
Message #4863 of 6150 |
Expand Messages Author Sort by Date

Hi guys, Does anyone know of a programme that will allow me to convert a mono wave to stereo wave file from the command line? This may interest the od LPFM...
Gavin Stephens
gstephens@...
Send Email
Nov 12, 2006
8:31 pm

Hi Gav Must chat with you re your desertations sometime. Are you still on dialup at all? If so can you listen via winamp url box to...
Brian Gallagher
brianislay
Offline Send Email
Nov 12, 2006
9:35 pm

Hi Brian, House hunting's on hold at the moment. Relationship's on hold to but I won't go in to that. I'll download winamp now and have a listen a little later...
Gavin Stephens
gstephens@...
Send Email
Nov 13, 2006
1:59 am

Hi gavin Thanks for that. Will catch up with you privately Brian Gavin Stephens <gstephens@...> wrote: Hi Brian, House hunting's on hold at the...
Brian Gallagher
brianislay
Offline Send Email
Nov 13, 2006
2:29 am

I know LAME has a downmix option from stereo to mono (-a) but I don't think it can encode a mono input as stereo. I think the -m settings assume a stereo...
Ross Levis
rosslevis
Offline Send Email
Nov 13, 2006
9:51 am

Thanks Geoff, Ross. I do use lame as that way I can easily distribute it with my scripts and I don't need to install anything in order to use it. However as...
Gavin Stephens
gstephens@...
Send Email
Nov 13, 2006
9:25 pm

Hi Gav' Thanks for those nice remarks about my stream. If you are still around can you check it now as I have readjusted the levels as best I can given the...
Brian Gallagher
brianislay
Offline Send Email
Nov 13, 2006
9:47 pm

BTW, this is the current lame options I use for creating a batch conversion process of the news files... lame -a --vrb-new -V 5 temp_0.wav temp_0.mp3 --ta...
Gavin Stephens
gstephens@...
Send Email
Nov 13, 2006
10:05 pm

Hi Gavin Ross Brian I found a cool wee application... its not a windows application that converts from one sound format to another... I'm not sure if it...
Geoff Barkman
Mad_Milkie
Offline Send Email
Nov 14, 2006
9:41 am

Hi Geoff Thanks for that May have a closer look later today Brian Geoff Barkman <barknet@...> wrote: Hi Gavin Ross Brian I found a cool wee...
Brian Gallagher
brianislay
Offline Send Email
Nov 14, 2006
7:43 pm

Public Geoff. I just went to shoutcast.com and searched for new zealand. Here's their stream: http://222.154.254.219:10042 It was 32kbps aacplus the other day...
Gavin Stephens
gstephens@...
Send Email
Nov 14, 2006
8:40 pm

The Flea have 2 streams, a 32 and 64k stream in the same Shoutcast search results. http://www.shoutcast.com/directory/?s=new%20zealand My station (Soul FM) is...
Ross Levis
rosslevis
Offline Send Email
Nov 14, 2006
11:03 pm

Hi Ross I think you gotta point re AAC+ Been listening to "the flea" and magic as well.There 32k streams in stereo sound mighty good. Brian Ross Levis...
Brian Gallagher
brianislay
Offline Send Email
Nov 15, 2006
4:06 am

H Gavin I dunno if you use LAME but it can convert WAV to MP3 MP3 to MP3 and there are options for stereo or mono or Joint outputs too. I think thats what you...
Geoff Barkman
Mad_Milkie
Offline Send Email
Nov 13, 2006
9:15 am

Copyright © 2009 Yahoo! Australia & NZ Pty Ltd. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help