Mike Scott wrote this post while blinking in Morse code:
On 20/07/2025 14:40, db wrote:
.....
Is there a way to make the equivalent of a thumbnail video? Xconvert
does not seem to be it.
ffmpeg?
eg https://superuser.com/questions/624563/how-to-resize-a-video-to-make-it-smaller-with-ffmpeg
Here's a script I once used, including comments:
========================================
#!/bin/sh
#
# Basic upscaling of a single file to 2560x1440 while converting to MP4.
#
#
https://write.corbpie.com/upscaling-and-downscaling-video-with-ffmpeg/
#
# To change a video file to be 1080p in FFmpeg:
#
# ffmpeg -i input.mp4 -vf scale=1920x1080:flags=lanczos output_1080p.mp4
#
# To change a video file to be 1080p in FFmpeg:
#
# ffmpeg -i input.mp4 -vf scale=1920x1080:flags=lanczos -c:v libx264 -preset
# slow -crf 21 output_compress_1080p.mp4
#
# To upscale to 4k video:
#
# ffmpeg -i input.mp4 -vf scale=3840x2560:flags=lanczos -c:v libx264 -preset
# slow -crf 21 output_compress_4k.mp4
#
# To downscale video all you need to know is popular dimensions. Given you have # a source video of 1280 x 720; 640 x 480, 480 x 360 and 426 x240.
#
# ffmpeg -i input.mp4 -vf scale=640x480:flags=lanczos -c:v libx264 -preset slow # -crf 21 output_compress_480p.mp4
VC="ffmpeg"
NAME="$1"
BASE=${NAME%.*}
$VC -i "$NAME" -vf scale=2560x1440:flags=lanczos "$BASE.mp4"
========================================
--
He walks as if balancing the family tree on his nose.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)