Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.98 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.98 KB

Audiovisual

Docker container to manipulate audiovisual media (ffmpeg, mkvtoolnix, mlt...).

Dockerfile Docker Build Docker Stars Docker Pulls Docker Version

Example without using the filesystem

Let's say that you have a MP3 foo.mp3 in your current working directory that you want to extract its metadata:

Mac/Linux

cat foo.mp3 | docker run --rm -i --net=none leplusorg/av ffprobe -v error -show_streams -

Windows

type foo.mp3 | docker run --rm -i --net=none leplusorg/av ffprobe -v error -show_streams -

Example using the filesystem

Same thing, assuming that you have a MP3 foo.mp3 in your current working directory that you want to extract its metadata:

Mac/Linux

docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" leplusorg/av ffprobe -v error -show_streams /tmp/foo.mp3

Windows

In cmd:

docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/av ffprobe -v error -show_streams /tmp/foo.mp3

In PowerShell:

docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/av ffprobe -v error -show_streams /tmp/foo.mp3

Request new tool

Please use this link (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.