Alright, here we go: Below is a debugged encoder.txt file designed for use with any oggenc2.exe binary, including Lancer's optimized ones. This allows you to set the an upper frequency cutoff with a slider and also choose between various resampling options. It seems to encode without creating a temp file. I'm not sure how I pulled this off; I based my design on Spoon's own encoder.txt which came with the optimized beta Ogg Vorbis plugin.

Code:

[codec]
.ogg
oggenc2.exe
[label]
4
2
Target:
[radio&slider]
4
24
292
1
40
0
Quality (VBR)
13
Quality -2 (estimated bit rate: 32 Kbps)
-q -2
Quality -1 (estimated bit rate: 48 Kbps)
-q -1
Quality 0 (estimated bit rate: 64 Kbps)
-q 0
Quality 0.5 (estimated bit rate: 72 Kbps)
-q 0.5
Quality 1 (estimated bit rate: 80 Kbps)
-q 1
Quality 1.5 (estimated bit rate: 88 Kbps)
-q 1.5
Quality 2 (estimated bit rate: 96 Kbps)
-q 2
Quality 2.5 (estimated bit rate: 104 Kbps)
-q 2.5
Quality 3 (estimated bit rate: 112 Kbps)
-q 3
Quality 3.5 (estimated bit rate: 120 Kbps)
-q 3.5
Quality 4 (estimated bit rate: 128 Kbps)
-q 4
Quality 4.5 (estimated bit rate: 144 Kbps)
-q 4.5
Quality 5 (estimated bit rate: 160 Kbps)
-q 5
Quality 5.5 (estimated bit rate: 176 Kbps)
-q 5.5
Quality 6 (estimated bit rate: 192 Kbps)
-q 6
Quality 6.5 (estimated bit rate: 208 Kbps)
-q 6.5
Quality 7 (estimated bit rate: 224 Kbps)
-q 7
Quality 7.5 (estimated bit rate: 236 Kbps)
-q 7.5
Quality 8 (estimated bit rate: 256 Kbps)
-q 8
Quality 8.5 (estimated bit rate: 300 Kbps)
-q 8.5
Quality 9 (estimated bit rate: 350 Kbps)
-q 9
Quality 9.5 (estimated bit rate: 425 Kbps)
-q 9.5
Quality 10 (estimated bit rate: 500 Kbps)
-q 10
[/sliderend]
110
0
Bit Rate (ABR)
8
Average Bit Rate: 48 Kbps
-b 48000
Average Bit Rate: 56 Kbps
-b 56000
Average Bit Rate: 64 Kbps
-b 64000
Average Bit Rate: 80 Kbps
-b 80000
Average Bit Rate: 96 Kbps
-b 96000
Average Bit Rate: 128 Kbps
-b 128000
Average Bit Rate: 144 Kbps
-b 144000
Average Bit Rate: 160 Kbps
-b 160000
Average Bit Rate: 192 Kbps
-b 192000
Average Bit Rate: 224 Kbps
-b 224000
Average Bit Rate: 256 Kbps
-b 256000
Average Bit Rate: 320 Kbps
-b 320000
Average Bit Rate: 400 Kbps
-b 400000
Average Bit Rate: 500 Kbps
-b 500000
[/sliderend]
184
0
Bit Rate (CBR)
8
Constant Bit Rate: 48 Kbps
--managed -b 48000
Constant Bit Rate: 56 Kbps
--managed -b 56000
Constant Bit Rate: 64 Kbps
--managed -b 64000
Constant Bit Rate: 80 Kbps
--managed -b 80000
Constant Bit Rate: 96 Kbps
--managed -b 96000
Constant Bit Rate: 128 Kbps
--managed -b 128000
Constant Bit Rate: 144 Kbps
--managed -b 144000
Constant Bit Rate: 160 Kbps
--managed -b 160000
Constant Bit Rate: 192 Kbps
--managed -b 192000
Constant Bit Rate: 224 Kbps
--managed -b 224000
Constant Bit Rate: 256 Kbps
--managed -b 256000
Constant Bit Rate: 320 Kbps
--managed -b 320000
Constant Bit Rate: 400 Kbps
--managed -b 400000
Constant Bit Rate: 500 Kbps
--managed -b 500000
[/sliderend]
[label]
10
44
low quality (smaller file)
808080
[label]
216
44
high quality (larger file)
808080
[combo]
53
66
70
1
Samplerate:
same as source
96,000 Hz
--resample 96000
96,000 Hz HQ
--resample 96000 -S 0
88,200 Hz
--resample 88200
48,000 Hz
--resample 48000
48,000 Hz HQ
--resample 48000 -S 0
44,100 Hz
--resample 44100
44,100 Hz HQ
--resample 44100 -S 0
40,000 Hz
--resample 40000
37,800 Hz
--resample 37800
33,075 Hz
--resample 33075
32,768 Hz
--resample 32768
32,000 Hz
--resample 32000
32,000 Hz HQ
--resample 32000 -S 0
26,000 Hz
--resample 26000
24,000 Hz
--resample 24000
22,050 Hz
--resample 22050
22,050 Hz HQ
--resample 22050 -S 0
16,000 Hz
--resample 16000
12,000 Hz
--resample 12000
11,025 Hz
--resample 11025
11,025 Hz HQ
--resample 11025 -S 0
8,000 Hz
--resample 8000
6,000 Hz
--resample 6000
[checkbox]
136
67
0
Mono
--downmix
[slider]
175
66
120
1
Upper Frequency Cutoff: 10 KHz
--advanced-encode-option lowpass_frequency=10
Upper Frequency Cutoff: 11 KHz
--advanced-encode-option lowpass_frequency=11
Upper Frequency Cutoff: 12 KHz
--advanced-encode-option lowpass_frequency=12
Upper Frequency Cutoff: 13 KHz
--advanced-encode-option lowpass_frequency=13
Upper Frequency Cutoff: 14 KHz
--advanced-encode-option lowpass_frequency=14
Upper Frequency Cutoff: 14.5 KHz
--advanced-encode-option lowpass_frequency=14.5
Upper Frequency Cutoff: 15 KHz
--advanced-encode-option lowpass_frequency=15
Upper Frequency Cutoff: 15.5 KHz
--advanced-encode-option lowpass_frequency=15.5
Upper Frequency Cutoff: 16 KHz
--advanced-encode-option lowpass_frequency=16
Upper Frequency Cutoff: 16.5 KHz
--advanced-encode-option lowpass_frequency=16.5
Upper Frequency Cutoff: 17 KHz
--advanced-encode-option lowpass_frequency=17
Upper Frequency Cutoff: 17.5 KHz
--advanced-encode-option lowpass_frequency=17.5
Upper Frequency Cutoff: 18 KHz
--advanced-encode-option lowpass_frequency=18
Upper Frequency Cutoff: 18.5 KHz
--advanced-encode-option lowpass_frequency=18.5
Upper Frequency Cutoff: 19 KHz
--advanced-encode-option lowpass_frequency=19.0
Upper Frequency Cutoff: 19.3 KHz
--advanced-encode-option lowpass_frequency=19.3
Upper Frequency Cutoff: 19.5 KHz
--advanced-encode-option lowpass_frequency=19.5
Upper Frequency Cutoff: 19.7 KHz
--advanced-encode-option lowpass_frequency=19.7
Upper Frequency Cutoff: 19.8 KHz
--advanced-encode-option lowpass_frequency=19.8
Upper Frequency Cutoff: 19.9 KHz
--advanced-encode-option lowpass_frequency=19.9
Encode All Frequencies (no cutoff)
[clistring]
-p 1 - -o [outfile]
[highestqualitydecode]
[minfreq]
8000
[maxfreq]
96000
[maxchannels]
6
[helpbutton]
283
0
Help\Codec\ogg lancer\Help.htm
[estimatesize]
-q 10
500000
-q -2
32000
-q -1
48000
-q 0.5
72000
-q 0
64000
-q 1.5
88000
-q 1
80000
-q 2.5
104000
-q 2
96000
-q 3.5
120000
-q 3
112000
-q 4.5
144000
-q 4
128000
-q 5.5
176000
-q 5
160000
-q 6.5
208000
-q 6
192000
-q 7.5
236000
-q 7
224000
-q 8.5
300000
-q 8
256000
-q 9.5
425000
-q 9
350000
-b 500000
500000
-b 400000
400000
-b 320000
320000
-b 256000
256000
-b 224000
224000
-b 192000
192000
-b 160000
160000
-b 144000
144000
-b 128000
128000
-b 96000
96000
-b 80000
80000
-b 64000
64000
-b 56000
56000
-b 48000
48000