Skip to content

VLC Media Player in a Docker container.

License

Notifications You must be signed in to change notification settings

yinshangqing/docker-vlc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-vlc

Docker Repository on Quay.io

Image available from:

VLC Media Player in a Docker container.

Usage

Running the image

docker run -d -v "$(pwd)":/data quay.io/galexrt/vlc:latest YOUR_VLC_FLAGS

For some simple examples, checkout the VLC Examples section below.

Pulling the image

From Quay.io:

docker pull quay.io/galexrt/vlc:latest

Or From Docker Hub:

docker pull galexrt/vlc:latest

VLC Examples

HTTP based video stream (TCP)

This will start a HTTP based video stream on port 8080/tcp.

docker run -d -v "$(pwd)":/data -p 8080:8080 quay.io/galexrt/vlc:latest file:///data/your-video-file.mp4 --sout '#transcode{scodec=none}:http{mux=ffmpeg{mux=flv},dst=:8080/}'

Using VLC to connect to the stream on the container / server IP on port 8080/tcp will show the video stream.

RTSP stream (UDP)

This will start a RTSP stream on port 8554/udp.

docker run -d -v "$(pwd)":/data -p 8554:8554/udp quay.io/galexrt/vlc:latest file:///data/your-video-file.mp4 --sout '#transcode{scodec=none}:rtp{sdp=rtsp://:8554/}'

VLC sout References

It is worth to checkout the following VideoLAN wiki pages for more information on the structure and possibilities of the sout argument:

About

VLC Media Player in a Docker container.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 56.9%
  • Makefile 43.1%