Physical Media Archival
CD
abcde is where it's at. Use the forked repo though.
I typically search the resulting disc ID in MusicBrainz to find my exact copy, and then throw that, the FreeDB ID and barcode into a spreadsheet.
My abcde configuration is as follows. I like to save both
FLAC and MP3, that way I can have both the best quality offered and a
compressed version if I don't care too much about quality when
transferring it to a portable music player.
LOWDISK=y
CDDBMETHOD=musicbrainz
ACTIONS=cddb,read,encode,tag,getalbumart,move,clean
OUTPUTTYPE="mp3,flac"
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM}_${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various/${ALBUMFILE}/${TRACKNUM}_${ARTISTFILE}-${TRACKFILE}'
MAXPROCS=2
PADTRACKS=y
EXTRAVERBOSE=2
EJECTCD=y
DVD
Full DVD backup
dvdbackup -i /dev/cdrom -M -p -n Name_Of_Movie
If you only want to save the feature film... (this saves one angle just in case, if the film is multi-angle and your chosen language isn't the first angle then feel free to change this xP)
mplayer -dvd-device . -dvdangle 1 dvd://1 -dumpstream -dumpfile
1.vob
Convert to MKV, preserving audio tracks and subtitles
ffmpeg -i 1.vob -map 0:v:0 -map 0:a? -map 0:s? -c:s copy
Name_Of_Movie.mkv