Skip to content

ntodd/video_transcoding_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Transcoding for Docker

Docker support for https://github.com/donmelton/video_transcoding

The Docker image is available on Docker Hub.

Prerequisites

You must be running Docker for Mac, Docker for Linux, or Docker for Windows.

Usage

To run the video_transcoding gem in Docker, execute the following:

# Docker for Mac & Linux
docker run -itv "`pwd`":/data ntodd/video-transcoding

# Docker for Windows
docker run -itv C:\My\Current\Path:/data ntodd/video-transcoding

This will:

  1. Download the ntodd/video-transcoding Docker image (unless already downloaded)
  2. Mount the current working directory on your host machine as a shared volume inside the container
  3. Run an interactive bash shell with access to your current directory and the video_transcoding cli tools

For best results on Docker for Mac or Windows, set your CPU count in preferences to the maximum available for your machine.

To update to the latest version:

docker pull ntodd/video-transcoding:latest