Resize Video to Target Size Shortcut #300
Labels
documentation
Improvements or additions to documentation
shortcut
A Siri Shortcut! Built either by myself or another community member.
Resize Video to Target Size Shortcut
Updated
02152023-204521
https://davidblue.wtf/targetffmpeg
Social
<script async="" src="https://telegram.org/js/telegram-widget.js?1" data-telegram-post="extratone/13627" data-width="100%"></script>I'm gonna call this one Mastodon-related because basically any other method of getting a given video clip below the file limit (40MB, in mastodon.social's case,) drives me crazy. #shortcuts #video #automation #mac https://routinehub.co/shortcut/14270
<iframe src="https://mastodon.social/@DavidBlue/109872079917980053/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script src="https://static-cdn.mastodon.social/embed.js" async="async"></script>Re-encode video files to a specific size target with ffmpeg.
Please note: this shortcut is macOS-only.
Requirements
brew install ffmpeg
)This shortcut re-encodes single inputted video files to a specified file size target (in MB, per run) with ffmpeg, which it will then save to a new .mp4 file entitled
[source filename]-[provided file size]MB.mp4
in a directory of your choosing via a Save File action.Installation
At install, you will be asked to specify:
Photos
will ask you for a video file from iCloud Photos whileFiles
will use a standard Finder prompt.)Delete Immediately
option in the Delete Files action toggled on by default. This action is handling a (frankly, completely redundant) file - neither the source file nor the output from the Save File action will be deleted.Source
The text was updated successfully, but these errors were encountered: