HandBrake is a free open-source video transcoder. It's goal is to help people rip their DVDs and save them to a file on their computer. Although there are ways to extract Blu-rays using a 3rd party application, I will not covert this in details over here. In my case I like to use the MakeMKV software which allows to do a preprocess and remove the Audio and subtitle tracks I don't need.
HandBrake is available for Windows, OS X and for many Linux distributions. For this last one, you can even use the command lines to convert your videos. This is what we will look at this this tutorial.
apt-get install handbrake-cli
pacman -S handbrake-cli
apacman -S handbrake-cli-git
HandBrakeCLI
-h help -u check for updates -i Input file name or input device (i.e. DVD Player) -o Output file name and location
-t title to encode (by using 0 it will automatically can the input) --scan scan the input and display its information --min-duration Minimum duration (in seconds) a video needs to before being scanned
HandBrakeCLI -i sintel-2k.mp4 --scan
Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2010-09-29 12:52:03 Duration: 00:14:47.99, start: 0.000000, bitrate: 3660 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 2048x872 [PAR 1:1 DAR 256:109], 3526 kb/s, 24 fps, 1k tbn, 48 tbc (default) Metadata: creation_time : 1970-01-01 00:00:00 Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 127 kb/s (default) Metadata: creation_time : 2010-09-29 12:52:24 [21:41:02] scan: decoding previews for title 1 Scanning title 1 of 1, preview 1, 10.00 %[21:41:02] scan: audio 0x1: aac, rate=44100Hz, bitrate=127998 Unknown (AAC) (2.0 ch) Scanning title 1 of 1, preview 10, 100.00 %[21:41:02] scan: 10 previews, 2048x872, 24.000 fps, autocrop = 0/0/0/0, aspect 2.35:1, PAR 1:1 [21:41:03] libhb: scan thread found 1 valid title(s) + title 1: + stream: /media/hd1/Videos/Movies-Eng/Sintel (2010).mp4 + duration: 00:14:47 + size: 2048x872, pixel aspect: 1/1, display aspect: 2.35, 24.000 fps + autocrop: 0/0/0/0 + support opencl: no + support hwd: not built-in + chapters: + 1: cells 0->0, 0 blocks, duration 00:14:47 + audio tracks: + 1, Unknown (AAC) (2.0 ch) (iso639-2: und) + subtitle tracks:
Duration: 00:14:47.99, start: 0.000000, bitrate: 3660 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 2048x872 [PAR 1:1 DAR 256:109], 3526 kb/s, 24 fps, 1k tbn, 48 tbc (default)
Scanning title 1 of 1, preview 1, 10.00 %[21:41:02] scan: audio 0x1: aac, rate=44100Hz, bitrate=127998 Unknown (AAC) (2.0 ch) Scanning title 1 of 1, preview 10, 100.00 %[21:41:02] scan: 10 previews, 2048x872, 24.000 fps, autocrop = 0/0/0/0, aspect 2.35:1, PAR 1:1
+ chapters: + 1: cells 0->0, 0 blocks, duration 00:14:47 + audio tracks: + 1, Unknown (AAC) (2.0 ch) (iso639-2: und) + subtitle tracks: