From 96449ad88260f14bc863bc92269ca0d2e42443ba Mon Sep 17 00:00:00 2001 From: odweta Date: Fri, 8 May 2026 13:47:58 +0200 Subject: [PATCH] initial commit --- README.md | 3 +++ video_to_dumb_container.sh | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 README.md create mode 100755 video_to_dumb_container.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..0bd2811 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Video Dumber + +This one ffmpeg command should convert a video stream into an mp4 that is compatible with basically everything. diff --git a/video_to_dumb_container.sh b/video_to_dumb_container.sh new file mode 100755 index 0000000..889a4f6 --- /dev/null +++ b/video_to_dumb_container.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +ffmpeg -i "$1" \ + -vf "scale=1280:-2" \ + -c:v libx264 \ + -profile:v main \ + -level 3.1 \ + -pix_fmt yuv420p \ + -preset slow \ + -crf 23 \ + -c:a aac \ + -ac 2 \ + -b:a 128k \ + "$2"