Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Fraunhofer command line (Read 24671 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Fraunhofer command line

Is it possible to download FhG command line encoder from some place on the web? And where can I find the command lines used?

Fraunhofer command line

Reply #1
http://www.all4mp3.com/Software2.aspx

The command line options can be seen by running the encoder without any parameters from a command prompt (or by running it with the -h switch).

Code: [Select]
[font= \"Courier New\"]C:\swsetup\FhG>mp3sencoder -h


********************************************************************
*                                                                  *
*      Fraunhofer IIS MP3 Surround Commandline Encoder V1.5      *
*                                                                  *
*                                                                  *
*          Encoder-Library V04.01.01 (build 2008-05-02)          *
*                                                                  *
*                                                                  *
*                © 1996 - 2008 Fraunhofer IIS                  *
*        © 2004 Fraunhofer IIS and Agere Systems Inc.          *
*                    All Rights Reserved.                        *
*  This software and/or program is protected by copyright law and  *
*  international treaties. Any reproduction or distribution of    *
*  this software and/or program, or any portion of it, may result  *
*  in severe civil and criminal penalties, and will be prosecuted  *
*          to the maximum extent possible under law.              *
*                                                                  *
********************************************************************

Usage: mp3sencoder [-if Infile] [-of Outfile] [-br Bitrate] [options]

-if Infile:
        An 1ch, 2ch or 6ch wave/raw input file (16/24 bit resolution).
        For piping from stdin use "-if -".

        The channel sequence assumed for a six channel input wave/raw file is:
        Left, Right, Center, LFE, Left Surround, Right Surround.

-of Outfile:
        The destination mp3 bitstream file. For piping to stdout use "-of -".

-br Bitrate:
        The output bitrate. Valid ranges:
        Mono    mp3:    16000 - 256000 bits/s
        Stereo  mp3:    96000 - 320000 bits/s
        MP3 Surround:    128000 - 320000 bits/s

[options]:

-sr Samplerate:
        Sampling Rate of raw/piped input data.

-c Channels:
        Number of channels of raw/piped input data. Must be 1,2 or 6.

-res Resolution:
        Resolution of raw/piped input data. Must be 16 or 24.

-q Quality:
        Encoder quality:
        0:      fast encoding  <Default>
        1:      high quality
-m Mode:
        Encoding modes:
        0:      CBR encoding at bitrate '-br' <Default>
        1:      VBR encoding at higest quality
        2:      VBR encoding at high quality
        3:      VBR encoding at intermediate quality
        4:      VBR encoding at intermediate bitrate
        5:      VBR encoding at low bitrate
-vbri
        Write a VBRI header if vbr mode is active
-mono
        Create mono downmix from stereo inputfile before encoding.

-monofiles
        Input consists of multiple mono streams.
        Use "-if infile_L.wav/.raw" as input file.
        Naming convention for default behavior (files must be located in the same directory):
        Front Left:    infile_L.wav  (For raw data: infile_L.raw  )
        Front Right:    infile_R.wav  (For raw data: infile_R.raw  )
        Center:        infile_C.wav  (For raw data: infile_C.raw  )
        LFE:            infile_LFE.wav (For raw data: infile_LFE.raw )
        Left Surround:  infile_LS.wav  (For raw data: infile_LS.raw  )
        Right Surround: infile_RS.wav  (For raw data: infile_RS.raw  )

-apdx
        You can override the naming convention of the above "-monofiles"-switch
by

        explicitly telling the encoder the appendices of the single files, e.g.

        -apdx "_LF, _LR, _CENTER, _LFE, _SL, _SR" or ".l,.r,.c,.lfe,.sl,.sr"

-raw
        Raw data input file.

-eof
        Ignore wave file chunk length info and encode till the end of file.

-ofl
        Use Original File Length Feature (Not supported if piping to stdout is used).

-h
        Show this information.[/font]

Fraunhofer command line

Reply #2
Thanks so much! Great! 

Fraunhofer command line

Reply #3
Anyone know how to set this up for use with foobar?

Code: [Select]
Usage: mp3sencoder [-if Infile] [-of Outfile] [-br Bitrate] [options]

The above isn't all that helpful when it comes to parameters syntax.

Fraunhofer command line

Reply #4
Use for instance
-if %s -of %d -br 0 -m 2 -q 1 -vbri
for a high quality VBR setting (roughly 180 kbps on average).
lame3995o -Q1.7 --lowpass 17

Fraunhofer command line

Reply #5
halb27, would you know how to write an encoder.txt file for FhG's encoder?

Fraunhofer command line

Reply #6
halb27, would you know how to write an encoder.txt file for FhG's encoder?

What do you mean when talking about an encoder.txt file?
lame3995o -Q1.7 --lowpass 17

Fraunhofer command line

Reply #7
I remember from other thread that Sylph spoke about encoder.txt as something for dBpoweramp.

Fraunhofer command line

Reply #8
Something that looks like this, it's for dBpoweramp's CLI encoder:

Code: [Select]
[codec]
.m4a
neroAacEnc.exe

[msgifnoencoder]
Before using this encoder a seperate component must first be installed from www.nerodigital.com, press Red [?] help button on encoder settings page for details.

[image]
250
56
Nero.bmp
no

[label]
4
2
Target:


[radio&slider]
4
24
292
1
40
0
Quality (VBR)

5
Quality .05  (estimated bit rate: 16 Kbps)
-q .05
Quality .15  (estimated bit rate: 32 Kbps)
-q .15
Quality .25  (estimated bit rate: 64 Kbps)
-q .25
Quality .35  (estimated bit rate: 100 Kbps)
-q .35
Quality .45  (estimated bit rate: 150 Kbps)
-q .45
Quality .5    (estimated bit rate: 170 Kbps)
-q .5
Quality .55  (estimated bit rate: 200 Kbps)
-q .55
Quality .65  (estimated bit rate: 250 Kbps)
-q .65
Quality .75  (estimated bit rate: 300 Kbps)
-q .75
Quality .85  (estimated bit rate: 350 Kbps)
-q .85
Quality .95  (estimated bit rate: 400 Kbps)
-q .95
[/sliderend]
110
0
Bit Rate (ABR)

9
Average Bit Rate: 16 Kbps
-br 16000
Average Bit Rate: 24 Kbps
-br 24000
Average Bit Rate: 32 Kbps
-br 32000
Average Bit Rate: 48 Kbps
-br 48000
Average Bit Rate: 56 Kbps
-br 56000
Average Bit Rate: 64 Kbps
-br 64000
Average Bit Rate: 80 Kbps
-br 80000
Average Bit Rate: 96 Kbps
-br 96000
Average Bit Rate: 128 Kbps
-br 128000
Average Bit Rate: 144 Kbps
-br 144000
Average Bit Rate: 160 Kbps
-br 160000
Average Bit Rate: 192 Kbps
-br 192000
Average Bit Rate: 224 Kbps
-br 224000
Average Bit Rate: 256 Kbps
-br 256000
Average Bit Rate: 320 Kbps
-br 320000
Average Bit Rate: 400 Kbps
-br 400000
[/sliderend]
184
0
Bit Rate (CBR)

9
Constant Bit Rate: 16 Kbps
-cbr 16000
Constant Bit Rate: 24 Kbps
-cbr 24000
Constant Bit Rate: 32 Kbps
-cbr 32000
Constant Bit Rate: 48 Kbps
-cbr 48000
Constant Bit Rate: 56 Kbps
-cbr 56000
Constant Bit Rate: 64 Kbps
-cbr 64000
Constant Bit Rate: 80 Kbps
-cbr 80000
Constant Bit Rate: 96 Kbps
-cbr 96000
Constant Bit Rate: 128 Kbps
-cbr 128000
Constant Bit Rate: 144 Kbps
-cbr 144000
Constant Bit Rate: 160 Kbps
-cbr 160000
Constant Bit Rate: 192 Kbps
-cbr 192000
Constant Bit Rate: 224 Kbps
-cbr 224000
Constant Bit Rate: 256 Kbps
-cbr 256000
Constant Bit Rate: 320 Kbps
-cbr 320000
Constant Bit Rate: 400 Kbps
-cbr 400000
[/sliderend]



[label]
10
44
low quality (smaller file)
808080

[label]
216
44
high quality (larger file)
808080

[combo]
60
66
80
1
(no forced profile)

Force LC AAC
 -lc 
Force HE AAC
 -he 
Force HE v2
 -hev2 



[clistring]
 -ignorelength -if - -of "[outfile]"

[highestqualitydecode]


[minfreq]
8000

[maxfreq]
96000

[maxchannels]
6

[helpbutton]
283
0
Help\Codec\mp4\Help.htm

[estimatesize]
-q .95
400000
-q .85
350000
-q .75
300000
-q .65
250000
-q .55
200000
-q .5
170000
-q .45
150000
-q .35
100000
-q .25
64000
-q .15
32000
-q .05
16000
-br 400000
400000
-br 320000
320000
-br 256000
256000
-br 224000
224000
-br 192000
192000
-br 160000
160000
-br 144000
144000
-br 128000
128000
-br 96000
96000
-br 80000
80000
-br 64000
64000
-br 56000
56000
-br 48000
48000
-br 32000
32000
-br 24000
24000
-br 16000
16000
-cbr 400000
400000
-cbr 320000
320000
-cbr 256000
256000
-cbr 224000
224000
-cbr 192000
192000
-cbr 160000
160000
-cbr 144000
144000
-cbr 128000
128000
-cbr 96000
96000
-cbr 80000
80000
-cbr 64000
64000
-cbr 56000
56000
-cbr 48000
48000
-cbr 32000
32000
-cbr 24000
24000
-cbr 16000
16000

Fraunhofer command line

Reply #9
Use for instance
-if %s -of %d -br 0 -m 2 -q 1 -vbri
for a high quality VBR setting (roughly 180 kbps on average).

Interesting... this is the exact command line I tried except for the "-b 0" option.  How did you know to use this?

Fraunhofer command line

Reply #10
-b 0 enables VBR.

Fraunhofer command line

Reply #11
Something that looks like this, it's for dBpoweramp's CLI encoder: ...

Sorry, I don't know about this. I use dBpoweramp for CD ripping, and use the Music Converter only on rare occasion. My commandline was for foobar2000.
lame3995o -Q1.7 --lowpass 17

Fraunhofer command line

Reply #12
...Interesting... this is the exact command line I tried except for the "-b 0" option.  How did you know to use this?

Trial and error though I guess there was a hint I don't remember.
lame3995o -Q1.7 --lowpass 17

 

Fraunhofer command line

Reply #13
The "-br 0" info is on the page I linked earlier in this thread.

Quote
New features - Encoder

OFL feature:
OFL (Original File Length) is a tool that puts information about the orignal file's length in the bitstream. A decoder that is aware of such OFL information can analyze it and then decode the bitstream having the same starting point and length as the original file (any codec delay or flushing at the end will be removed).
"-ofl" is the relevant switch.

VBR encoding:
the encoder can now produce bitstreams encoded with variable bitrate. Therefore five modes are provided that can be invoked with the "-m"-switch.
"-m 1..5" (where "1" represents highest quality and "5" lowest average bitrate).
Note: When encoding in VBR mode, "-br 0" must be used. CBR encoding is applied by using "-m 0" and the desired bitrate, e.g. "-br 128000" for 128kbit/s

VBRI header:
the encoder can prepend information about a VBR encoded bitstream by producing a so-called VBRI header (VBRI = VBR Index table).
"-vbri" is the relevant switch.

Obviously the FhG developers forgot to include it in the CL encoder's help text.


Fraunhofer command line

Reply #15
This is for the ripper, but never mind...

When ripping with dBpowerAmp I use the simple CLI (for TAK).
If you want to do it like me this commandline should do it:

-if [infile] -of [outfile] -br 0 -m 2 -q 1 -vbri

(not too sure about [infile] cause with TAK I can use piping).

With the 'Locate Encoder' button you tell dBpoweramp where the exe is, and probably you have to mark 'Pass Wave Header'.

Just in case you don't know about this simple way of using the CLI.

lame3995o -Q1.7 --lowpass 17

Fraunhofer command line

Reply #16
Sorry for necromancing this thread, but that high quality switch of the encoder doesn't seem to work at all. I've tried it with the normal command line, but the two modes 0 and 1 give exactly the same output. Does anyone have the same problem or maybe even a solution for it?

Re: Fraunhofer command line

Reply #17
Another resurrection... anyone have access to this mp3sencoder.exe? URL seems to be down. I need to generate an MP3 with a VBRI header for code testing, and I believe this is the only encoder that creates them.


Re: Fraunhofer command line

Reply #19
Thanks a bunch! Works like an obsolete charm.