LAME -m mono --decode input.mp3 - | oggenc -whateveroptionsyouwant -input - -output file.ogg
You could lame to decode with a pipe, ie. Code: [Select]LAME -m mono --decode input.mp3 - | oggenc -whateveroptionsyouwant -input - -output file.oggNote that i made up the parameters for oggenc, cos i've never used it, so find out what options you need to do mono encoding with stdin as the input file (usually done by specifying '-' as the file name), Also I don't know if the -m mono switch works for decoding, but that shouldnt matter if you can get oggenc to do the mono conversion, or if the input mp3 is already mono.
C:\Temp\3>lame -m mono --decode 1.mp3 | oggenc2 -input - --output=file.oggID3v2 found. Be aware that the ID3 tag is currently lost when transcoding.input: 1.mp3 (44.1 kHz, 2 channels, MPEG-1 Layer III)output: 1.mp3.wav (16 bit, Microsoft WAVE)skipping initial 1105 samples (encoder+decoder delay)Frame# 12/10694 192 kbps MS oggenc2: invalid option -- iFrame# 13/10694 160 kbpsWARNING: Unknown option specified, ignoring->Frame# 10694/10694 32 kbps MSERROR: Input file "(stdin)" is not a supported format
Hi,I'm looking for a simple mp3/mp2 -> ogg encoder recommendation for windows thatdoes not require installation and can encode a single file (or folder). The resulting oggfile should be mono, to get it as small as possible.I know that normally mp3->ogg conversions are a big No-No due to the loss of quality.In my usage scenario this is not an issue: I want to convert radio (speech) programs sothat I can get as much as possible on a 2GB Ipod Nano (Rockbox) and don't mind if thequality suffers a lot. I'll delete the files after listening to them anyway. I plan to keep the encoder on the Ipod - to run without installation whenever needed.The conversion has to be directly from mp3/mp2 to ogg - I normally do not have the 2GBfree hard disc space required to unpack the radio shows to WAV before encoding them.The best thing I have so far is ffmpeg, called like this:ffmpeg -i input.mp3 -acodec vorbis -aq 20 -ar 22050 output.oggAlas it only seems to do ogg in stereo, not mono.Any recommendations?
Code: [Select]C:\Temp\3>lame -m mono --decode 1.mp3 | oggenc2 -input - --output=file.ogg
C:\Temp\3>lame -m mono --decode 1.mp3 | oggenc2 -input - --output=file.ogg
Quote from: sonytp50 on 29 May, 2007, 06:21:43 AMCode: [Select]C:\Temp\3>lame -m mono --decode 1.mp3 | oggenc2 -input - --output=file.oggYou are missing the stdout "-" for LAME's output and -input is not a parameter for oggenc2
lame --decode input.mp2 - | oggenc2 - --downmix -q -2 --resample 24000 --output=output.ogg
ffmpeg.exe -i input.ts -acodec pcm_s16le -f wav - | oggenc2 - --raw --output =output.ogg