Smart Video Tagger and Renamer.
If you run a media server (Plex, Radarr, Sonarr, etc), you know how important it is to keep your library clean and consistent.
But when downloading video files manually, filenames often come messy, inconsistent, and break automation β or just clutter your collection.
videotagger helps fix that.
It intelligently analyzes your video files (using ffprobe) and generates new, standardized filenames that reflect each file's resolution, codec, audio layout, and subtitles β all without requiring any manual tagging.
It's built for speed, flexibility, and everyday use.
- πΊ Detects and tags resolution (e.g.
720p,1080p) - π₯ Detects video codec (
H264,HEVC, etc.) - π Tags audio tracks by codec, channel layout and language (
AAC2.0 (ENG)) - π¬ Includes subtitle info (e.g.
MSubs,ENGSub) - π Renames files using a consistent
scene-styleformat - π¦ Pre-processes filenames to avoid duplicate tags
- π³ Fallback to
UNDfor undefined language streams - π« Skips files with missing resolution or invalid metadata
- π§ͺ Dry-run mode for safe previews
- π Undo feature with log tracking
- π Recursive support for batch folders
- π Native Fish Shell script β no external dependencies (besides
ffmpeg)
- Fish Shell v3.0+
- ffmpeg (which includes
ffprobe, required for media analysis)
You can install ffmpeg via:
brew install ffmpeg # macOS (Homebrew)
sudo apt install ffmpeg # Debian/UbuntuInstall with Fisher:
fisher install demartini/videotagger.fish| Command | Description |
|---|---|
videotagger |
Preview all videos in current folder |
videotagger -d, --dry-run |
Show only files that would be renamed |
videotagger -r, --rename |
Rename files and save a log |
videotagger -u, --undo |
Undo last renaming |
videotagger -R, --recursive |
Recursively scan subfolders |
videotagger -v, --version |
Show version |
videotagger -h, --help |
Display help message |
π‘ Tip: You can also use
vtas a shortcut alias forvideotagger.
π¬ File: Some.Movie.2023.mp4
πΊ Resolution: 1080p
π₯ Video: H264
π Audio: AAC2.0 (ENG)
π¬ Subtitle: Multiple languages (2)
π New name: Some.Movie.2023.1080p.WEB-DL.ENG-AAC2.0.H264.MSubs.mp4If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.
See CHANGELOG for a human-readable history of changes.
Distributed under the MIT License. See LICENSE for more information.