Convert DVD video to MPEG-4 (using ffmpeg) and create an XML file containing technical metadata about the MP4 file (using MediaInfo).
- ffmpeg (https://www.ffmpeg.org/download.html)
- MediaInfo (https://mediaarea.net/en/MediaInfo/Download)
- Install the dependencies (listed above).
- Download the "dvd-mp4-conversion.sh" script from GitHub and save to your computer.
- Change permissions on the script so it is executable.
This script performs the following tasks:
- Check that required arguments (target directory and media identifier) have been provided.
- Check that specified target directory is a valid directory path.
- Read and concatenate the VOB video files from DVD.
- Use ffmpeg to convert the concatenated VOB file to an MP4 access file.
- Name the MP4 file using the media identifier provided.
- Delete concatenated VOB file.
- Use MediaInfo to extract technical metadata from MP4 file and save output as XML file.
Load DVD into the optical drive on your machine.
Run the script with the command dvd-mp4-conversion.sh target-directory media-identifier Where target-directory is the full file path to the directory where the MP4 and XML metadata files will be created, and media-identifier is the unique identifier assigned to the DVD.
Verify the quality of the audio and video in the output file against that of the DVD.
Verify that XML metadata file is complete.
Brandon Pieczko, Processing and Digital Archivist, 2018