
mp4 file, but it's not compatible with much at the moment.


This is where your resultant < 8MB video file will land.įor clipping and slicing video files, follow the guidlines for formatting your file name.Ī Batch file for Windows users is included in this repository for simple "drag and drop" functionality, as demonstrated below. This command mounts the video file to an "in" directory in the container, and also mounts an "out" directory to the container's encoding output directory.

An example command looks like this:ĭocker run -rm -v D:\shadowplay\video.mp4:/usr/app/in/video.mp4 -e codec=vp9 -v D:\shadowplay\out:/usr/app/out/ zachfleeman/ffmpeg4discord:latest The container spins up and executes a Python script that formats an ffmpeg command for clip encoding. My personal goal for this software was to reduce the amount of time it takes to go from shouting, "CLIP IT," to actually sharing that clip with my friends on Discord. This repo hosts a Dockerfile and other various scripts that are useful for converting large video files down to less than 8MB, which is the file size limit for Discord.
