Reduce video size (H.264)
docker run --rm -v $(pwd):$(pwd) -w $(pwd) jrottenberg/ffmpeg -stats -i input.mp4 -vcodec libx264 -crf 28 output.mp4
Use libx265
(H.265) for even more reduction (not compatible with Windows 10 without additional codec).
Reduce video size (H.264)
docker run --rm -v $(pwd):$(pwd) -w $(pwd) jrottenberg/ffmpeg -stats -i input.mp4 -vcodec libx264 -crf 28 output.mp4
Use libx265
(H.265) for even more reduction (not compatible with Windows 10 without additional codec).