Un4seen.Bass.MiscBaseEncoder
Un4seen.Bass.MiscEncoderNeroAAC
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
The EncoderNeroAAC type exposes the following members.
Name | Description | |
---|---|---|
EncoderNeroAAC |
Creates an instance of a Nero Digital AAC encoder implementation.
|
Name | Description | |
---|---|---|
ChannelBitwidth |
This property returns the actual bitwidth of the sample data of the channel (e.g. 8, 16, 32).
(Inherited from BaseEncoder.) | |
ChannelHandle |
Gets or Sets the channel handle which is used to create the broadcast encoder class.
(Inherited from BaseEncoder.) | |
ChannelInfo |
Returns the general channel info.
(Inherited from BaseEncoder.) | |
ChannelNumChans |
This property returns the actual number of channles of the sample data BASS is using with the channel (e.g. 1=mono, 2=stereo, etc.).
(Inherited from BaseEncoder.) | |
ChannelSampleRate |
This property returns the actual sample rate in Hz of the sample data BASS is using with the channel (e.g. 44100).
(Inherited from BaseEncoder.) | |
DefaultOutputExtension |
This return the default extension of an output file for this encoder (".m4a").
(Overrides BaseEncoderDefaultOutputExtension.) | |
EffectiveBitrate |
Returns the effective encoder bitrate (in kbps) of the output.
(Overrides BaseEncoderEffectiveBitrate.) | |
EncoderCommandLine |
Gets the actual encoder command-line string (using all NERO_xxx properties).
(Overrides BaseEncoderEncoderCommandLine.) | |
EncoderDirectory |
Gets or Sets the encoder's base directory.
(Inherited from BaseEncoder.) | |
EncoderExists |
This property return , if the file "neroAacEnc.exe" or "neroAacEnc_sse2.exe" (depending on your NERO_UseSSE setting) exists in the EncoderDirectory - else is returned.
(Overrides BaseEncoderEncoderExists.) | |
EncoderHandle |
Gets or sets the current HENCODE encoder handle.
(Inherited from BaseEncoder.) | |
EncoderType |
Gets a value indicating the type of content. Here BASS_CTYPE_STREAM_AAC is always returned.
(Overrides BaseEncoderEncoderType.) | |
Force16Bit |
Gets or Sets if a encoding in 16-bit sample data should be forced (default is ).
(Inherited from BaseEncoder.) | |
InputFile |
Gets or Sets the input file name to be processed by the encoder (null = STDIN, default).
(Inherited from BaseEncoder.) | |
IsActive |
Gets a value indicating if the encoder has been started (see Start(ENCODEPROC, IntPtr, Boolean)) and is active - else will be returned.
(Inherited from BaseEncoder.) | |
IsPaused |
Gets a value indicating if the encoder has been paused (see Pause(Boolean)) - else must be returned.
(Inherited from BaseEncoder.) | |
IsStreaming |
Is this instance used for streaming? When set to true, some internal encoder options might be set.
Default is false.
(Inherited from BaseEncoder.) | |
NoLimit |
Gets or Sets if encoding should use the CAST_NOLIMIT flag (which is only needed, if the encoder is used for streaming).
(Inherited from BaseEncoder.) | |
OutputFile |
Gets or Sets the output file name to be processed by the encoder (null = STDOUT, default).
(Inherited from BaseEncoder.) | |
SupportsSTDOUT |
Nero Digital Aac does NOT implement STDOUT, so FASLE is always returned.
(Overrides BaseEncoderSupportsSTDOUT.) | |
TAGs |
Gets or Sets the TAG_INFO structure associated with the encoder.
(Inherited from BaseEncoder.) | |
UseAsyncQueue |
Gets or Sets if encoding should use an async queue (i.e. the BASS_ENCODE_QUEUE flag).
(Inherited from BaseEncoder.) |
Name | Description | |
---|---|---|
Dispose |
Implement IDisposable.
(Inherited from BaseEncoder.) | |
Finalize |
Finalization code.
(Inherited from BaseEncoder.) | |
Pause |
Pauses or resumes an encoder.
(Inherited from BaseEncoder.) | |
SettingsString |
Returns the string representation of the current encoder settings.
(Overrides BaseEncoderSettingsString.) | |
Start |
This method starts the actual Nero Digial Aac encoder.
(Overrides BaseEncoderStart(ENCODEPROC, IntPtr, Boolean).) | |
Stop |
Stops the encoder immediately (if started).
(Inherited from BaseEncoder.) | |
Stop(Boolean) |
Stops the encoder (if started).
(Inherited from BaseEncoder.) | |
ToString |
Returns the name of the Encoder.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
NERO_2Pass |
-2pass: Enables two-pass encoding mode. Note that two-pass mode requires a physical file as input, rather than STDIN.
| |
NERO_2PassPeriod |
-2passperiod: Overrides two-pass encoding bitrate averaging period, in milliseconds. Specify 0 (zero) to use least restrictive value possible (default).
| |
NERO_Bitrate |
-br: Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps.
| |
NERO_CustomOptions |
The custom parameter string, which should be used, if the NERO_UseCustomOptionsOnly property is set to .
| |
NERO_HE |
-he: Forces use of HE AAC profile, HEv2 features disabled (default is ).
| |
NERO_HEv2 |
-hev2: Forces use of HEv2 AAC profile (default is ).
| |
NERO_HintTrack |
-hinttrack: Generates an RTP hint track in output MP4 file (default is ).
| |
NERO_LC |
-lc: Forces use of LC AAC profile, HE features disabled (default is ).
| |
NERO_Quality |
-q: Specify quality between 0.00 (low) and 1.00 (high) (default=0.4), instead of specifying a particular bitrate (NERO_Bitrate).
| |
NERO_UseCBR |
-cbr: Enables the constant bitrate mode (default is ). When enabled CBR is generated, else VBR is generated.
| |
NERO_UseCustomOptionsOnly |
Use the NERO_CustomOptions parameter string only (default=).
| |
NERO_UseQualityMode |
Use Quality-Mode? (default is ).
| |
NERO_UseSSE |
Specifies, if the "neroAacEnc.exe" (, default) or the "neroAacEnc_sse2.exe" () command-line tool should be used.
|
The NeroAac Encoder must be downloaded separately (e.g. from www.nero.com).
Since "neroAacEnc.exe" does support 8-, 16-, and 32-bit(IEEE float) sample data as input, no BASS_ENCODE_FP_ flag will be used.
Make sure to set the NERO_xxx flags before retrieving the EncoderCommandLine or calling Start(ENCODEPROC, IntPtr, Boolean).
There are two versions: "neroEncAac.exe" and "neroAacEnc_sse2.exe" out there (one is highly optimized for SSE etc.). This encoder implementation supports both versions see the NERO_UseSSE property for details.
This implementation uses the automatic DSP system for encoding. Meaning the sending of sample data to the encoder is done automatically when you play the channel (BASS_ChannelPlay(Int32, Boolean)) or call BASS_ChannelGetData(Int32, IntPtr, Int32) (if it's a decoding channel). So there is no need to call BASS_Encode_Write(Int32, IntPtr, Int32) manually!
If you simply want to encode a physical file please also take a look to the EncodeFile(String, String, BaseEncoder, BaseEncoderENCODEFILEPROC, Boolean, Boolean).