title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 9 of 9

Thread: Please post your CLI encoder.txt files here

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Join Date
    Aug 2006
    Posts
    30

    Please post your CLI encoder.txt files here

    Hi, I was just about to start writing up a custom encoder.txt file for my SSE3-optimized oggenc CLI encoder, but then I thought somebody on these forums already did it.

    I love the flexibility of the new CLI plugin, and I think it's a good idea to start a thread to help us get the most use out of it.

  2. #2
    dBpoweramp Guru LtData's Avatar
    Join Date
    May 2004
    Location
    USA
    Posts
    8,288

    Re: Please post your CLI encoder.txt files here

    If you install the dMC r12 SSE2-enhanced Ogg Vorbis encoder, that should help you figure it out.

  3. #3

    Join Date
    Aug 2006
    Posts
    30

    Re: Please post your CLI encoder.txt files here

    LtData, thanks for the tip about the SSE2-enhanced plugin. I might use it, but it's not the solution I want. For example, the pre-built plugins don't let you set a lowpass frequency, which is important to me, since I encode a lot of speech. Also, I'd like to use the SSE3-optimized binary since I now own a Core 2 Duo. SSE3 encodes substantially faster than just the SSE2.

    It would be totally unfair to expect Spoon to custom-make a new plugin for each of these new builds, and that's exactly why he made such an awesome, customizable CLI-plugin. I'm sure there are more people using it, and if they aren't, they would once it became easier. I haven't had any success with making my own encoder.txt files apart from the most basic ones. I'm sure I'm making a small mistake, and I'd appreciate seeing more working examples so I could correct that mistake. Once I get my encoder.txt's working, I'll post them here as well. (I'm getting fairly good at the GUI design, I just keep getting errors from the encoder.)

    I know that gameplaya posted some excellent encoder.txt files for version 11.5, but these unfortunately don't work for 12:

    http://www.geocities.com/gameplaya_15143/howto/

    One of the problems is that the syntax is not documented, but it also doesn't look difficult, so I'm sure a bit of user tweaking will be enough to figure it out.

  4. #4
    dBpoweramp Guru LtData's Avatar
    Join Date
    May 2004
    Location
    USA
    Posts
    8,288

    Re: Please post your CLI encoder.txt files here

    I brought up the SSE2-enhanced Vobis encoder to mainly let you have an example of a working r12 encoder.txt file.

    Also, I would think that the CLI encoder includes a help file that explains how everything works, but I might be mistaken.

  5. #5

    Join Date
    Aug 2006
    Posts
    30

    Re: Please post your CLI encoder.txt files here

    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
    
    

  6. #6

    Join Date
    Aug 2006
    Posts
    30

    Here's one for LAME.EXE

    Alright, here comes an encoder.txt for LAME.EXE! Woo! I know there are millions of superstitions out there about how to get the best results out of Lame. There are so many options! Since there is only limited space to work with, I'm afraid this GUI looks far too busy. It has all the options that I care about, without leaving much room to add more. I got this working by trial and error and I'd welcome suggestions. I wasn't able to make it idiot-proof: you can set things up so as to make LAME not work - for example, by doing CBR and setting a different "minimum bitrate", or by choosing a minimum bitrate below 32 when your sampling rate is 44,100 Hz. (The lower minimum bitrates are allowed for 22,050 Hz mp3's, and they're useful when you're encoding speech.)

    Code:
    [codec]
    .mp3
    lame.exe
    
    [label]
    4
    2
    Method:
    
    
    [radio&slider]
    4
    21
    292
    1
    38
    0
    VBR - default
    
    7
    Variable Bitrate Quality: -V 9  [estimated bitrate for stereo music: 70 kbps]      "speech"
    -V 9 --vbr-old
    Variable Bitrate Quality: -V 8  [estimated bitrate for stereo music: 80 kbps]
    -V 8 --vbr-old
    Variable Bitrate Quality: -V 7  [estimated bitrate for stereo music: 100 kbps]
    -V 7 --vbr-old
    Variable Bitrate Quality: -V 6  [estimated bitrate for stereo music: 120 kbps]
    -V 6 --vbr-old
    Variable Bitrate Quality: -V 5  [estimated bitrate for stereo music: 130 kbps]
    -V 5 --vbr-old
    Variable Bitrate Quality: -V 4  [estimated bitrate for stereo music: 160 kbps]     "medium"
    -V 4 --vbr-old
    Variable Bitrate Quality: -V 3  [estimated bitrate for stereo music: 170 kbps]
    -V 3 --vbr-old
    Variable Bitrate Quality: -V 2  [estimated bitrate for stereo music: 190 kbps]    "standard"
    -V 2 --vbr-old
    Variable Bitrate Quality: -V 1  [estimated bitrate for stereo music: 220 kbps]
    -V 1 --vbr-old
    Variable Bitrate Quality: -V 0  [estimated bitrate for stereo music: 240 kbps]     "extreme"
    -V 0 --vbr-old
    [/sliderend]
    112
    0
    VBR-new
    
    7
    Variable Bitrate Quality: -V 9  Experimental VBR, use with caution! [~70 kbps]   "speech"
    -V 9 --vbr-new
    Variable Bitrate Quality: -V 8  Experimental VBR, use with caution! [~80 kbps]
    -V 8 --vbr-new
    Variable Bitrate Quality: -V 7  Experimental VBR, use with caution! [~100 kbps]
    -V 7 --vbr-new
    Variable Bitrate Quality: -V 6  Experimental VBR, use with caution! [~120 kbps]
    -V 6 --vbr-new
    Variable Bitrate Quality: -V 5  Experimental VBR, use with caution! [~130 kbps]
    -V 5 --vbr-new
    Variable Bitrate Quality: -V 4  Experimental VBR, use with caution! [~160 kbps]   "medium"
    -V 4 --vbr-new
    Variable Bitrate Quality: -V 3  Experimental VBR, use with caution! [~170 kbps]
    -V 3 --vbr-new
    Variable Bitrate Quality: -V 2  Experimental VBR, use with caution! [~190 kbps]   "standard"
    -V 2 --vbr-new
    Variable Bitrate Quality: -V 1  Experimental VBR, use with caution! [~220 kbps]
    -V 1 --vbr-new
    Variable Bitrate Quality: -V 0  Experimental VBR, use with caution! [~240 kbps]   "extreme"
    -V 0 --vbr-new
    [/sliderend]
    165
    0
    ABR
    
    13
    Average Bitrate:  32 kbps
    --abr 32
    Average Bitrate:  45 kbps
    --abr 45
    Average Bitrate:  56 kbps
    --abr 56
    Average Bitrate:  64 kbps
    --abr 64
    Average Bitrate:  70 kbps
    --abr 70
    Average Bitrate:  80 kbps
    --abr 80
    Average Bitrate:  96 kbps
    --abr 96
    Average Bitrate:  112 kbps
    --abr 112
    Average Bitrate:  128 kbps
    --abr 128
    Average Bitrate:  135 kbps
    --abr 135
    Average Bitrate:  160 kbps
    --abr 160
    Average Bitrate:  170 kbps
    --abr 170
    Average Bitrate:  180 kbps
    --abr 180
    Average Bitrate:  192 kbps
    --abr 192
    Average Bitrate:  210 kbps
    --abr 210
    Average Bitrate:  224 kbps
    --abr 224
    Average Bitrate:  256 kbps
    --abr 256
    Average Bitrate:  270 kbps
    --abr 270
    [/sliderend]
    221
    0
    CBR
    
    10
    Constant Bitrate:  32 kbps
    -b 32
    Constant Bitrate:  45 kbps
    -b 45
    Constant Bitrate:  56 kbps
    -b 56
    Constant Bitrate:  64 kbps
    -b 64
    Constant Bitrate:  80 kbps
    -b 80
    Constant Bitrate:  96 kbps
    -b 96
    Constant Bitrate:  112 kbps
    -b 112
    Constant Bitrate:  128 kbps
    -b 128
    Constant Bitrate:  160 kbps
    -b 160
    Constant Bitrate:  192 kbps
    -b 192
    Constant Bitrate:  224 kbps
    -b 224
    Constant Bitrate:  256 kbps
    -b 256
    Constant Bitrate:  320 kbps
    -b 320
    [/sliderend]
    
    
    
    [combo]
    1
    42
    67
    1
    Default Stereo
    
    Mono (-m m)
     -m m
    Stereo (-m s)
     -m s
    Joint Stereo
     -m j
    Forced mid/side
     -m f
    Dual (-m d)
     -m d
    Intensity (-m i)
     -m i
    Automatic
     -m a
    
    
    
    [combo]
    72
    42
    50
    1
    Quality:
     -q 2
    0-Glacial
     -q 0
    1-Slow
     -q 1
    2-"High Q"
     -q 2
    3
     -q 3
    4-Default
     -q 1
    5
     -q 5
    6
     -q 6
    7-Fast
     -q 7
    8
     -q 8
    9-Crap
     -q 9
    
     
    [combo]
    126
    42
    68
    1
    Samplerate:
    
    same as source
    
    48,000 Hz 
     --resample 48
    44,100 Hz
     --resample 44.1
    32,000 Hz
     --resample 32
    24,000 Hz
     --resample 24
    22,050 Hz
     --resample 22.05
    16,000 Hz
     --resample 16
    12,000 Hz
     --resample 12
    11,025 Hz
     --resample 11.025
    8,000 Hz
     --resample 8
    
    
    [checkbox]
    201
    44
    0
    -Z
     -Z
    
    [checkbox]
    224
    44
    0
    Strictly enforce ISO
     --strictly-enforce-ISO
    
    
    [slider]
    50
    66
    120
    1
    Minimum VBR bitrate - NONE
    
    <22kHz only! Min VBR bitrate - 8 kbps
     -b 8
    <22kHz only! Min VBR bitrate - 16 kbps
     -b 16
    <24kHz only! Min VBR bitrate - 24 kbps
     -b 24
    Minimum VBR bitrate - 32 kbps
     -b 32
    Minimum VBR bitrate - 48 kbps
     -b 48
    Minimum VBR bitrate - 56 kbps
     -b 56
    Minimum VBR bitrate - 64 kbps
     -b 64
    Minimum VBR bitrate - 96 kbps
     -b 96
    Minimum VBR bitrate - 112 kbps
     -b 112
    Minimum VBR bitrate - 128 kbps
     -b 128
    Minimum VBR bitrate - 160 kbps
     -b 160
    Let LAME set minimum VBR bitrate
    
    
    
    [slider]
    175
    66
    120
    20
    Upper Frequency Cutoff: 10 KHz
     --lowpass 10
    Upper Frequency Cutoff: 11 KHz
     --lowpass 11
    Upper Frequency Cutoff: 12 KHz
     --lowpass 12
    Upper Frequency Cutoff: 13 KHz
     --lowpass 13
    Upper Frequency Cutoff: 14 KHz
     --lowpass 14
    Upper Frequency Cutoff: 14.5 KHz
     --lowpass 14.5
    Upper Frequency Cutoff: 15 KHz
     --lowpass 15
    Upper Frequency Cutoff: 15.5 KHz
     --lowpass 15.5
    Upper Frequency Cutoff: 16 KHz
     --lowpass 16
    Upper Frequency Cutoff: 16.5 KHz
     --lowpass 16.5
    Upper Frequency Cutoff: 17 KHz
     --lowpass 17
    Upper Frequency Cutoff: 17.5 KHz
     --lowpass 17.5
    Upper Frequency Cutoff: 18 KHz
     --lowpass 18
    Upper Frequency Cutoff: 18.5 KHz
     --lowpass 18.5
    Upper Frequency Cutoff: 19 KHz
     --lowpass 19.0
    Upper Frequency Cutoff: 19.3 KHz
     --lowpass 19.3
    Upper Frequency Cutoff: 19.5 KHz
     --lowpass 19.5
    Upper Frequency Cutoff: 19.7 KHz
     --lowpass 19.7
    Upper Frequency Cutoff: 19.8 KHz
     --lowpass 19.8
    Upper Frequency Cutoff: 19.9 KHz
     --lowpass 19.9
    Encode All Frequencies (no cutoff)
    
    
    
    
    [clistring]
     - -o [outfile]
    
    [highestqualitydecode]
    
    
    [minfreq]
    8000
    
    [maxfreq]
    96000
    
    [maxchannels]
    6
    
    [helpbutton]
    288
    0
    Help\Codec\ogg lancer\Help.htm
    
    [estimatesize]
    -V 0
    256000
    -V 1
    226000
    -V 2
    200000
    -V 3
    190000
    -V 4
    170000
    -V 5
    155000
    -V 6
    140000
    -V 7
    120000
    -V 8
    100000
    -V 9
    85000
    -b 320
    320000
    -b 256
    256000
    -b 224
    224000
    -b 192
    192000
    -b 160
    160000
    -b 1440
    144000
    -b 128
    128000
    -b 96
    96000
    -b 80
    80000
    -b 64
    64000
    -b 56
    56000
    -b 48
    48000

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •