Remember 128kbit songs? What if I told you that within the same bitrate you can comfortably store 480p low-motion videos, e.g. for watching on mobile? and codecs make this possible. Looking forward to reasonable encoder to try it out too - I don't want to spend half a lifetime waiting for an encode right now..

Follow

Commands for two-pass 480p x265+opus encode at ~1MB per minute (100k video + 32k audio + mux overhead):

$ ffmpeg -i source.avi \
-vf "scale=w=854:h=480:force_original_aspect_ratio=decrease" \
-c:v libx265 -b:v 100k -preset slow -x265-params pass=1 \
-an -f matroska -y /dev/null

$ ffmpeg -i source.avi \
-vf "scale=w=854:h=480:force_original_aspect_ratio=decrease" \
-c:v libx265 -b:v 100k -preset slow -x265-params pass=2 \
-ac 1 -c:a libopus -b:a 32k -y target.mkv

Sign in to participate in the conversation
Mastodon

Invite-only self-hosted Mastodon instance.