Skip to content

t-richards/medialint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

medialint

medialint is a fast, minimal(-ish) media linter tool, intended to find issues in your media library.

It checks for the following issues:

  • preferred container / codecs / quality
  • incorrect file naming / structure
  • missing subtitles

Features

  • Supports a wide range of media types via libavformat.
  • Processes files in parallel for maximum speed.

System library requirements

  • libavcodec (FFmpeg)
  • libavformat (FFmpeg)
  • libavutil (FFmpeg)
  • GLib 2.0

Getting started

# Build
make

# Run
bin/medialint <dir>
...
/youtube/demo.mkv: Subtitles/Presence: No subtitles found.
/youtube/demo.mkv: Video/Bitrate: 0.29 Mibps [track 0].
/youtube/demo.mkv: Video/Resolution: 450x360 [track 0].
Time:      0.01 seconds
Total:     3
Processed: 3
Errors:    1

Constraints

  • Platform limitations:

    medialint currently only supports running on Unix-like platforms. The following set of things must be addressed before it works on other platforms.

    • Replace nftw with something more portable.
    • Figure out how to cross-compile GLib for other platforms.

License

Copyright (c) 2024 Tom Richards. All rights reserved.