IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Fraunhofer command line, Where to download
Sylph
post May 22 2009, 00:07
Post #1





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



Is it possible to download FhG command line encoder from some place on the web? And where can I find the command lines used?
Go to the top of the page
+Quote Post
Alex B
post May 22 2009, 01:06
Post #2





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



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
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.


This post has been edited by Alex B: May 22 2009, 01:34


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Sylph
post May 22 2009, 09:59
Post #3





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



Thanks so much! Great! smile.gif
Go to the top of the page
+Quote Post
Remedial Sound
post May 26 2009, 18:11
Post #4





Group: Members
Posts: 505
Joined: 5-January 06
From: Dublin
Member No.: 26898



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

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

The above isn't all that helpful when it comes to parameters syntax.
Go to the top of the page
+Quote Post
halb27
post May 26 2009, 18:15
Post #5





Group: Members
Posts: 2428
Joined: 9-October 05
From: Dormagen, Germany
Member No.: 25015



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).


--------------------
lame3100m -V1 --insane-factor 0.75
Go to the top of the page
+Quote Post
Sylph
post May 26 2009, 19:07
Post #6





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



halb27, would you know how to write an encoder.txt file for FhG's encoder?
Go to the top of the page
+Quote Post
halb27
post May 26 2009, 21:30
Post #7





Group: Members
Posts: 2428
Joined: 9-October 05
From: Dormagen, Germany
Member No.: 25015



QUOTE (Sylph @ May 26 2009, 19:07) *
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?


--------------------
lame3100m -V1 --insane-factor 0.75
Go to the top of the page
+Quote Post
lvqcl
post May 26 2009, 21:50
Post #8





Group: Developer
Posts: 3361
Joined: 2-December 07
Member No.: 49183



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

This post has been edited by lvqcl: May 26 2009, 21:51
Go to the top of the page
+Quote Post
Sylph
post May 26 2009, 22:53
Post #9





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



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

CODE
[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


This post has been edited by Sylph: May 26 2009, 22:54
Go to the top of the page
+Quote Post
Remedial Sound
post May 27 2009, 08:31
Post #10





Group: Members
Posts: 505
Joined: 5-January 06
From: Dublin
Member No.: 26898



QUOTE (halb27 @ May 26 2009, 12:15) *
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?
Go to the top of the page
+Quote Post
Sylph
post May 27 2009, 10:38
Post #11





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



-b 0 enables VBR. smile.gif
Go to the top of the page
+Quote Post
halb27
post May 27 2009, 11:18
Post #12





Group: Members
Posts: 2428
Joined: 9-October 05
From: Dormagen, Germany
Member No.: 25015



QUOTE (Sylph @ May 26 2009, 22:53) *
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.


--------------------
lame3100m -V1 --insane-factor 0.75
Go to the top of the page
+Quote Post
halb27
post May 27 2009, 11:21
Post #13





Group: Members
Posts: 2428
Joined: 9-October 05
From: Dormagen, Germany
Member No.: 25015



QUOTE (Remedial Sound @ May 27 2009, 08:31) *
...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.


--------------------
lame3100m -V1 --insane-factor 0.75
Go to the top of the page
+Quote Post
Alex B
post May 27 2009, 13:00
Post #14





Group: Members
Posts: 1303
Joined: 14-September 05
From: Helsinki, Finland
Member No.: 24472



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.


--------------------
http://listening-tests.freetzi.com
Go to the top of the page
+Quote Post
Sylph
post May 27 2009, 17:04
Post #15





Group: Members
Posts: 259
Joined: 1-February 08
Member No.: 50965



QUOTE (halb27 @ May 27 2009, 12:18) *
QUOTE (Sylph @ May 26 2009, 22:53) *
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.


This is for the ripper, but never mind...
Go to the top of the page
+Quote Post
halb27
post May 27 2009, 18:03
Post #16





Group: Members
Posts: 2428
Joined: 9-October 05
From: Dormagen, Germany
Member No.: 25015



QUOTE (Sylph @ May 27 2009, 17:04) *
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.



--------------------
lame3100m -V1 --insane-factor 0.75
Go to the top of the page
+Quote Post
Gainless
post Mar 29 2012, 01:34
Post #17





Group: Members
Posts: 169
Joined: 28-October 11
Member No.: 94764



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?

This post has been edited by Gainless: Mar 29 2012, 01:35
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th August 2014 - 18:38