Avidemux 2.6 Scripting Reference: AudioEncoder Class Reference

| Avidemux 2.6 Scripting Reference

- Main Page
- Modules
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Enumerations Enumerator Properties Groups Pages
Public Member Functions | Properties | List of all members
AudioEncoder Class Reference

The AudioEncoder class is the base class of all Avidemux audio encoders. More...

## Public Member Functions
void | resetConfiguration ()
| Resets the video encoder back to its default configuration.

## Properties
Object | configuration
| Gets an object that holds parameters used to configure the video encoder.
String | name
| Gets the user friendly name of the video encoder.

## Detailed Description

The AudioEncoder class is the base class of all Avidemux audio encoders.

Depending on the plugins that are packaged with Avidemux, the following audio encoder classes may be available to the ECMA scripting engine:

- AftenAudioEncoder
- CopyAudioEncoder
- FaacAudioEncoder
- LameAudioEncoder
- LavaacAudioEncoder
- Lavac3AudioEncoder
- Lavmp2AudioEncoder
- PcmAudioEncoder
- TwolameAudioEncoder
- VorbisAudioEncoder

Example usage:

var encoder = new LameAudioEncoder();
encoder.configuration.bitrate = 160;

## Member Function Documentation

void resetConfiguration | ( |  | ) |

Resets the video encoder back to its default configuration.

See Also
  configuration

## Property Documentation

Object configuration
| read

Gets an object that holds parameters used to configure the video encoder.

See Also
  resetConfiguration