3 ms·
Hey all, a tiny project I wrote for myself over the last couple of months. I've been ripping my old physical audio and video media to a server running locally
by mmastrac 5y ago
Hey all, a tiny project I wrote for myself over the last couple of months.
I've been ripping my old physical audio and video media to a server running locally at home and have been worried about bitrot. I built this tool to check a large media library for correctness (by test-decoding it with FFMPEG), and to prevent future bitrot by automatically adding per-directory PAR2 files.
The tool has another feature to transcode your entire library to a given format - I'm using this to keep a USB key in my car filled with AAC 64k files for listening when Spotify is out of range or I'm too lazy to connect via Bluetooth.
It's designed to be somewhat easy to extend with media operations that consume a directory at a time. For example, you could add or check music metadata using a third-party service like MusicBrainz.
- chrisweekly 5y agoGreat idea! Thanks for building and sharing it; looking fwd to looking closer at it after Mother's Day!
- sirius87 5y agoThis is pretty good! Detecting bitrot is fine, can also be done by storing a MD5/SHA256 of the file content. `md5sum <file>` barfs if its unable to read the file from disk. Challenge is rebuilding the broken file. I was worried about bitrot on my old external drives too. I eventually went with btrfs[1] filesystem running RAID1 across 2 disks. [1] https://wiki.archlinux.org/title/btrfs https://wiki.archlinux.org/title/btrfs
- mmastrac 5y agoAdding/verifying hashes on media might not be a bad feature to add for those who don't want to burn the extra space required for PAR2. I run w/two extra parity disks on unRAID, but I'm too paranoid to leave my data at rest without an extra file-level of parity.
- Wowfunhappy 5y agoDid you consider storing your media in a ZFS pool?
- pronoiac 5y agoChecksum and PAR2 files are also useful alongside backup copies.
- aspenmayer 5y agoWhat’s a good method for making the original lossless rips, making parity files, and keeping them organized for use with Automedia? Is there something like Calibre for video/audio archives?
- mmastrac 5y agoMusicBrainz Picard will do metadata tagging and some basic directory organization. It's what I use to create my music directories. With a great metadata manager like that, any software that rips to FLAC or Apple Lossless should be sufficient. Exact Audio Copy is one of the best ones on the Windows side.
- aspenmayer 4y agoI appreciate these recommendations for audio content; I’m mainly looking for resources for archiving video content.