Post by kelownPost by Jan K.What free tool can I use every once in a while on Windows that is designed
to really shrink a video final size using whatever methods are appropriate?
I'm thinking it might crop the video or remove every other frame or change
the compression or remove the audio channel (which I don't need), or what?
Shutter Encoder is a video compression tool specifically designed to do
exactly what you're asking for. Videos are best compressed by adjusting
the bitrate and resolution.
* Easy to use. Works as designed.
* Allows direct input of the 3 Mb size that you'd want to compress to,
and will automatically adjust the bitrate as needed
* Allows optional direct adjustment of bitrate
* Allows optional direct adjustment of resolution
* Will leave other characteristics of the video intact if they don't
affect the size
* Portable or setup downloads available
* Windows or MacOS
https://www.shutterencoder.com/en
Thanks for the suggestion of https://www.shutterencoder.com/en to shrink
a 30MB 13-second video to something smaller that can be more easily mailed.
I liked that it was advertised as "A converter designed by video editors".
Apparently it's free & open source donation ware, which uses these tools.
a. Bmxtranswrap <https://sourceforge.net/p/bmxlib/home/Home>
b. Dcraw <https://www.dechifro.org/dcraw>
c. Dvdauthor <https://dvdauthor.sourceforge.net>
d. Exiftool <https://exiftool.org>
e. Ffmpeg <https://ffmpeg.org>
f. Mediainfo <https://mediaarea.net/fr/MediaInfo>
g. Ncnn <https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan>
h. tsMuxeR <https://github.com/justdan96/tsMuxer>
i. WeTransfer <https://developers.wetransfer.com>
j. Yt-dlp <https://github.com/yt-dlp/yt-dlp>
k. 7za <https://www.7-zip.org>
1. I went to https://www.shutterencoder.com/en to get both installers.
https://www.shutterencoder.com/Shutter%20Encoder%2018.0%20Windows%2064bits.exe
Name: Shutter Encoder 18.0 Windows 64bits.exe
Size: 105208712 bytes (100 MiB)
SHA256: D6474BF0832E404AE708B7CCFE5CC94DE33CA172F60CD8A76D6A7DFCBDE6C560
Portable Shutter Encoder 18.0 Windows 64bits.
https://www.shutterencoder.com/Shutter%20Encoder%2018.0%20Windows%2064bits.zip
Name: Shutter Encoder 18.0 Windows 64bits.zip
Size: 126161815 bytes (120 MiB)
SHA256: 352020C1860885E244B99B982B09CB9FB026CF3C04CE23E5098C94A22A527DD5
I extracted the portable zip file & made a shortcut in my menu folder.
2. I opened the 8-second raw file from the original Avidemux output.
Choose Function:
a. Without conversion
Cut without re-encoding, Replace audio, Rewrap, Conform, Merge,
Extract, Subtitling, Video inserts
b. Sound conversions
WAV, AIFF, FLAC, ALAC, MP3, AAC, AC3, Opus, Vorbis,
Dolby Digital Plus, Dolby TrueHD
c. Editing codecs
DNxHD, DNxHR, Apple ProRes, QT Animation, GoPro CineForm,
Uncompressed
d. Output codecs
H.264, H.265, VP8, VP9, AV1
e. Broadcast codecs
XDCAM HD422, XDCAQM HD 35, AVC-Intra 100, XAVC, HAP
f. Old codecs
Theora, MPEG-2, MJPEG, Xvid, DV PAL, WMV, MPEG-1
g. Archiving codecs
FFV1
h. Image creation
JPEG, Image
i. Burn & rip
DVD, Blu-ray, DVD Rip
j. Analysis
Loudness & True Peak, Audio normalization, Cut detection,
Black detection, Media offline detection
k. Download
Web video
3. I wasn't sure what to do as you're supposed to know what you want.
So I decided to convert the video to H.265 using
ShutterEncoder:Choose function > Output codecs > H.265
Which gave me an output container format choice of
.mp4, .mov, .mkv, .avi, .flv, .f4v, .mpg, .ts, .m2ts
I left it at the default (H.265 -> .mp4) and it was at this
time that I noticed many "adjustments" that I left at defaults.
There were options for Rotation, Mirror, Force display,
Bitrate adjustment, Length adjustment, File size, 2Pass,
Max Quality, Image cropping, audio settings, fonts, colors,
backgrounds, subtitles, GPU decoding, GPU filtering,
Hardware acceleration, Image adjustment, Corrections,
Transitions, Advanced features like interlacing, etc.
4. I left everything at the defaults & clicked "Start function".
A percent meter slowly worked its way from 0% to 100% where it
was nice to see options for where to put the file and what extension
to use and there was even an option to "Work during inactivity".
Then it made a loud sound and said "Process completed".
03/29/2024 12:19 PM 12,613,296 20240325_raw.mp4
03/30/2024 07:24 PM 2,999,566 20240325_shutterencoder.mp4
The quality of the 3MB video was seemingly as good as the 12MB file.
Of course I only scratched the surface, but this seems to be a
good front end to ffmpeg the way I used it, as it shrank the video
to a quarter of the original size simply by using the H.265 codec.
What is nice though is that there is a "File size" option where
you can set the file size to whatever you want the result to be.
5. So I set the file size to 1MB, 2-Pass, Max Quality, which
automatically changed the bitrate from whatever it was to
Bitrate = 2147483647
And then I set the "Scale" from "Source 1920x1080" to "auto:720"
out of a list of scaling options from Source, AI real-life 4x,
AI real-life 2x, AKI animation 4x, AI animation 2x,
4096x2160, 3480x2160, 2560x1440, 1920x1080, 1440x1080, 1280x720,
1024x768, 1024x576, 854x480, 720x576, 640x360, 320x180, 3840:auto,
1920:auto, auto:2160, auto:1080, auto:720, 50%, 25%
6. When it made a loud sound and said "Process completed", I saw this.
03/29/2024 12:19 PM 12,613,296 20240325_raw.mp4
03/30/2024 07:24 PM 2,999,566 20240325_shutterencoder.mp4
03/30/2024 08:01 PM 77,304,748 20240325_H.265_1MB.mp4
Obviously I goofed but that's OK as experimenting will probably
uncover, over time, why setting it to 1MB exploded it to 77MB! :-)
Clearly this ShutterEncoder ffmpeg GUI is a keeper. Thanks!