Child pages
  • Setting up and Running the MP4 Gui Encoder - 5.0.5

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

Setting up and Running the MP4 Gui Encoder

This convenience utility is a Java Application that wraps the command line Nero Digital Encoder (MP4).

Contents

Setting up the MP4 Gui Encoder

The MP4 Gui Encoder is a encoding tool that is used for the digitization and ingest process. Specifically the MP4 Gui Encoder is used for audio conversion from WAV formats to MP4. Currently the MP4 Gui Encoder is only supported for Windows and is installed as an additional program with the cataloger/digitizer client installation.

Installing the Nero Digital Encoder

  • Download Nero's AAC Encoder from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html
  • Unzip the archive to your local machine
    • Extract the file to the location specified by the default configuration file:
      • The default directory is C:/Program Files/Nero/NeroDigitalAudio
      • The default encoder path is C:/Program Files/Nero/NeroDigitalAudio/win32/neroAacEnc.exe
    • Or, you can extract the file elsewhere and then edit Variations/Client/encoder.conf (see below) to change the neroAACPath.

Testing the MP4 Encoder

All files necessary to run the gui encoder can be found in the Client directory. Included in this directory is encoder.jar which can be run from the commandline or from double clicking it.

  • Running the Jar
    • Double click encoder.jar
      • The jar requires that encoder.conf (The configuration file) is in the same directory
      • A different encoder.conf can be specified in the jar file
    • The jar file will run similar to the example Running the Encoder

Configuration File

Location

  • Variations/Client/encoder.conf

Properties
The configuration file encoder.conf currently only has three configurable items:

  • neroAACPath
    • This value should point to where you have the nero AAC encoder executable. (downloaded in the first step)
  • bitrate.x (where x is replaced by a digit)
    • This value should be set to the bitrates that will be used at the institution. At IU, there are two set: bitrate.0=28000 and bitrate.1=192000. Note that the Nero Digitial Encoder has problems encoding at 256000 and 320000.
  • saveDirectory
    • This value specifies a default directory to save encoded files. If this property is not set, the default location is the directory of the wav to be encoded. The user is not given a choice of where to save files currently. This property can be set to the incoming directory Samba share on the Variations server to avoid having to copy the derivative files to the server as a separate step.

Installing the MP4 Encoder

See Building the Client Installer - 5.0.7 for instructions on building digitizer client installers which create a Desktop shortcut and start menu item for the MP4 Encoder.

Running the Encoder

Using the Encoder
(As mentioned before the the encoder can be run with the encoder.jar file)
Make sure the bitrates have been specified in the configuration file

  • Search for a wave file to encode using the Browse button
  • Or drag and drop a file into the into the textfield
  • Click Encode
    • Encoding processes for as many bitrates as were specified should be started and individual progress bars created in the Active Encodes panel.
    • The number of active encodes is limited to the number of bitrates specified in the configuration file.
  • Use the Cancel button to stop all active encode
    • Hitting the cancel button will stop the file encoding and change the status of the Active Encodes
  • Once an encoding has finished (it might never reach 100%), a Complete notice will appear next to the progress bar.

Next Steps

After you have completed the encoder configuration process, you can being building the installer at Building the Client Installer.

  • No labels