Blu-Ray and DVD remuxing?
Hey, I just bought a DVD and a Blu-Ray from an independent distributor and they're all DRM-free and I'd like to archive them with all of the subtitle and audio tracks in one MKV file. So, how can I do this. I've heard of handbrake, but doesn't that re-encode?
The internet is helpful. Since you do not have to worry about DRM, invoke FFmpeg.
https://www.internalpointers.com/post/convert-vob-files-mkv-ffmpeg
It will be necessary to adjust things so as to not re-encode anything:
-codec:v copy
-codec:a copy
-codec:s copy
The "copy" part is important.
How to do this with a blu-ray is left as an exercise for the reader.
Make a copy of the disk.
readom dev=/dev/sr0 f=image.iso
If you need to copy DRM-restricted dvds, install libdvdcss.
Graphically, install gnome-disk-utility and make an image of the disk.
For archival, I make a full disk image with dd.
"Read Optical Media" 'readom' has error checking, so it's usually a better choice than dd to make a disk image from optical media.
Install wodim, readom comes along.
The syntax is very easy.
https://linproject.blogspot.com/2014/01/making-or-burning-iso-images.html
It's probably worth nothing that these other options don't result in a Matroska file, which is what the original poster was asking about (without re-encoding.)
VOB files concatenated into one VOB would serve the purpose (archival use). VOB files can be played back with mpv or vlc. No need to create MKV containers.
I have this DVD with VOBs. I dropped the first one (DVD contents) and merged the rest resulting in a 3.5 GB file. If transcoded with HandBrake, the file is shrunk down to 900 MB.
There's another web page concerning ffmpeg and VOBs.
https://newspaint.wordpress.com/2016/07/27/ripping-a-video-from-dvd-using-ffmpeg/