Blu-Ray and DVD remuxing?

6 risposte [Ultimo contenuto]
commodore256
Offline
Iscritto: 01/10/2013

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?

jxself
Offline
Iscritto: 09/13/2010

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.

loldier
Offline
Iscritto: 02/17/2016

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.

calher

I am a member!

Offline
Iscritto: 06/19/2015

For archival, I make a full disk image with dd.

loldier
Offline
Iscritto: 02/17/2016

"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://pthree.org/2011/09/26/how-to-properly-create-and-burn-cddvd-iso-images-from-the-command-line/

https://linproject.blogspot.com/2014/01/making-or-burning-iso-images.html

jxself
Offline
Iscritto: 09/13/2010

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.)

loldier
Offline
Iscritto: 02/17/2016

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/