Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 2.3 KB

README.md

File metadata and controls

24 lines (19 loc) · 2.3 KB

Audio Encoder

Docker Build Status Docker Automated build Docker Image Size Docker Image Version Docker Pulls Docker Stars Hit Counter

Docker image which watches a folder for new MP4 files, converts them to MP3, and drops them in an output location.

Getting Started

This Docker image performs only one simple task. It converts all MP4s which are placed in one directory to MP3s and places them with the same name into another directory. This container uses a process called Watchman to run only whenever a new file is added to the input directory, and it immediately kicks off the conversion process.

The setup process is simple:

  1. Mount a folder on your host to the container path located at /drop/in. This is the input directory which is watched for new MP4 files.
  2. Mount another folder on your host to the path located /drop/out. This is the output directory where all converted MP3s show up.
  3. Run the container
  4. Place an MP4 file into the input directory on your host
  5. Wait a few moments
  6. Observe that the output directory has an MP3 file with the same name as the MP4 file

Note: This container does not perform any other kind of conversion except from MP4 to MP3. All other input file types are ignored.