I am using Kodi to make all my DVDs and Bluray Discs available on demand on all screens I have in my house. I legally purchased and I am owning all titles on original disc (no pirated copies!) or through a subscription. I wrote this guide for myself, as the steps to create a working file to be used by Kodi can be quite elaborate. If you want to follow this guide please be reminded that copyright infringement (piracy) is punishable by law, and that you need to make sure you do not violate copyright laws in your country. Copying titles from streaming services might be illegal, or you might be required to delete such copies after termination of the subscription.
I'm using the following hardware for capturing movies and will refer to the names in bold italic within my walk-throughs:
I use the excellent Blackmagic Design Intensity Pro 4K as capture card. Linux, Windows, and Mac are supported by Blackmagic Design. However, like every other current capture card on the market it does not allow to capture compressed surround sound. The Intensity Pro 4K has excellent image quality, and allows to capture audio in digital or analog stereo. The cards primary usage scenario is not capturing game play, but capturing HDMI video for video mastering purposes. The Hauppauge Colossus 2 capture card reportedly is capable of capturing compressed surround audio, but the video section is much weaker compared to the Intensity Pro 4K (1080p limited to 30fps, for example) and I did not bother to try it. I haven't found any current technology card at a reasonable price which can do this.
All software required and listed below are available on Windows 10, Mac, and Linux.
Media Express delivers better quality capture compared to OBS Studio when capturing from HDMI. However, the streams are not compressed, and the generated files are huge, 2 hours capture results in a 1 TB large file if encoded in 10 bit quality. You will need very fast disc access achievable with a SSD, use Blackmagic Disc Speed Test to verify your system is fast enough for the capture. OBS Studio is more tolerant if you compress the file before writing to disc, but stresses the CPU more than Media Express.
I normally use MakeMKV (Rip DVD and BD to mkv video file) on Hercules to create mkv files from DVD and BD discs. There seem to exist a few BD discs which are protected with some sort of hardware protection MakeMKV refuses to read or copy. Those titles need to be captured from the BD disc player, here are the necessary steps for a best possible capture quality. This work flow is based on using UDP, AVR, BDMI, and UGREEN.
c:mkvmerge --split parts:00:00:10-01:57:20 -o "output.mkv" "input.hevc"
One pass capture without re-encoding of the video and a single audio track.
Multi-pass capture with re-encoding of the video and multiple surround or stereo audio tracks. Requires a lot more time and extensive usage of the command line, but delivers best possible quality.
@ECHO OFF IF "%4" == "" GOTO:usage HandBrakeCLI -i "H:\Blackmagic\%~1.avi" -o "E:\Handbrake\%~1.mkv" --preset-import-gui --preset "1080p H265" --rate %2 --cfr --start-at seconds:%3 --stop-at seconds:%4 GOTO:eof :usage echo Usage: %0 "file name" ^<frame rate^> ^<start at sec.msec^> ^<duration in sec.msec^>
Handbrake might not be able to read the audio tracks, in which case you will need to convert the format in Audacity first. If you convert a stereo track you can offset the track in Audacity with the same number of seconds.milliseconds as you offset the video.
Some special considerations are necessary if you combine tracks from different sources. For example, you want to capture an additional audio track for a movie you already own on disc. Such movies can have different length in minutes, even if the scene cut is identical. For example, the movie Six Days Seven Nights on DVD with English and Thai audio and subtitles (NTSC version) is 1h 41m 57s, where as the same movie with identical cut on a German DVD (PAL version) is 1h 37m 51s, so the NTSC version is 1.0427 times longer, and the PAL version is 0.959 times shorter. This is exactly the ratio between 25 fps (PAL, fps = frames per second) and 23.976216 fps (NTSC).
I haven't figured out how to do that yet. Below are some links to information.