Handbrake and DVD ripping

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
tpprynn
Level 3
Level 3
Posts: 178
Joined: Fri May 27, 2011 7:09 pm

Handbrake and DVD ripping

Postby tpprynn » Mon Jun 13, 2016 6:26 pm

I had ripped all my DVDs using MakeMKV, initially using the Windows version until I went pretty much Windows-free. Then there was a bit of bother with the free license key for the beta at about the same time I realised that the Linux version of Handbrake will rip DVDs with copy-protection.

I've just been wondering as of this week about the possibility of using Handbrake to effectively do the work of MakeMKV. Say for example I have a film I can ascertain has a bitrate of 9800, which fluctuates anyway. If I set 9800 as the bitrate in Handbrake and pick the 'film' and 'high' settings in the Video tab, will I effectively get what MakeMKV would retrieve from a DVD? I see in the 'Constant' option as opposed to average bitrate, choosing to set the dial in the extreme right position can mean a file drastically bigger than the source - but is there a setting on that dial that equates to lack of compression or lack of inflation, or is it just not consistent enough to ascertain what setting you'd need there? I'm just thinking that the algorithms used are presumably something like as intelligent as those used in DVD production and that a DVD ripped at the bitrate's source should be not far off being as good as the contents of a DVD saved in the mkv container. After I bought my first big hard drive I was tempted to re-rip my CDs as flac but couldn't get past the thought that it was pointless, which colours my ideas about DVD.

And then, I think about mp3 files and how many argue, and as seems to me, that a 320k mp3 is missing effectively nothing the human ear can detect, even if the notion of compression offends some music lovers. How far might a 9800 bitrate be reduced in Handbrake before an mp4 or mkv file has lost anything the human eye can detect? Emphasis in tutorials and articles seems more on being economical with drive space and so on. I've seen no discussion on my interest online and wonder if anyone has been on a bit of a journey using their own experiments towards finding how much data can be discarded without being noticeable. I think I've seen that some DVDs of TV shows have a bitrate of something like 5000, by contrast, and I'm inclined to think it shows, although I have come to see since beginning my tinkering and scrutiny that DVD is a pretty unflattering format.

Probably too much detail and fussy wondering for most I suppose but you never know where you're going to happen upon people with the same obsessions..

User avatar
Try'n 2 Learn
Level 4
Level 4
Posts: 413
Joined: Tue Jun 02, 2015 12:54 pm

Re: Handbrake and DVD ripping

Postby Try'n 2 Learn » Mon Jun 13, 2016 8:24 pm

i am feeling as though i am trying to read between the lines with your post. ultimately i see you asking about compression worries. i would say this is always true during compression, you'll witness video loss long before audio issues become noticeable. in truth, even a 3D-7.1 feature is not going to save you much space by reducing the audio bit-rate. i would just leave it be, it is not worth the hassle to save a few Mbs. then in the future, if you should need the quality audio to carry long distances, you do not have to worry about that flat and/or tinny result.

User avatar
phd21
Level 13
Level 13
Posts: 4697
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Handbrake and DVD ripping

Postby phd21 » Mon Jun 13, 2016 8:51 pm

Hi "tpprynn",

tpprynn wrote:I had ripped all my DVDs using MakeMKV, initially using the Windows version until I went pretty much Windows-free. Then there was a bit of bother with the free license key for the beta at about the same time I realised that the Linux version of Handbrake will rip DVDs with copy-protection.


The excellent "makeMKV" works great on Linux too. "Handbrake" works well, but it cannot handle the encryption sometimes. I have some links that I will share below, where people use "makeMKV" to rip the DVD/Blu-Ray, then use Handbrake to shrink it further.

The quality and resolution options are pretty much up to you and your vision, and your purpose for digitizing your video discs (Backup, home media server, smart phone, game consoles, portable video device, etc..), and what you will watch the videos on. You will have to try various options to see what works best for you. The higher the video resolution (quality & fps), the larger the video file size will be, and the longer it will take to convert or digitize. If you peruse, "troll", some of the torrent websites, and some video editing sites, you will see what they consider good (480p), better (720p), & great (1080p, 1080i, or higher "4K") digital video file resolutions and video file formats that people from all over the world use everyday. Most people would be happy to watch a high quality DVD at 480p at 25fps, but I can easily tell the difference from that and 720p, or 1080p, etc... Keep in mind, if your TV for instance is maxed out at 720p, then using 1080p as a video format is a waste of time and space.

phd2 wrote: Ripping Music: As for ripping music (audio) CD's, there are many posts in this forum on this topic. The superb "Amarok" music player, and some of the others, can easily rip CD's into various music file formats, including "flac", mp3 (128kbs-320kbs), etc... The "K3b" DVD/CD application can also rip CD's into various formats. And, there are some really great stand alone programs that can do this as well, like "SoundKonverter", "Sound-Juicer", etc...


Regarding Blu-Ray & DVD discs

MakeMKV
https://www.ebower.com/wiki/MakeMKV#mkv-rename

MakeMKV & Handbrake
http://www.makeuseof.com/tag/rip-dvds-blu-rays-absolute-ease-makemkv-cross-platform/

https://www.youtube.com/watch?v=8jUh7hbe4Yc

Just for FYI, the link below is a different Linux version.
BluRay playback and ripping on Fedora (AACS, BD+, BD-J)
http://negativo17.org/bluray-playback-and-ripping-on-fedora-aacs-bd-bd-j/


Can linux play blu-rays? Yes, SMplayer, VLC, etc... see links at bottom as well...
http://askubuntu.com/questions/565516/can-linux-play-blu-rays

So I recently bought a blu-ray drive since I started accumulating a bunch of movies and shows on the format, and I was wondering if linux/ubuntu can actually play them? If not it's fine I can just reboot into windows but I have vlc player, restricted extras and the stuff required to play dvds, and my ubuntu partition plays dvds just fine. I'm in Australia (region 4) if that changes anything
vlc dvd blu-ray, asked Dec 26 '14 at 11:27

So wait, you have the blu-rays at home, and your laptop with ubuntu on it? I'm not understanding why you're asking this question instead of just trying it... – GuyfromAmsterdam Dec 26 '14 at 11:33


Open-source Blu-ray playback is a cat and mouse game, which involves constantly waiting for hackers to discover up-to-date keys to play more recent titles. But there is another option, involving partially proprietary closed-source software, which is (for the moment) free to use on Linux.

MakeMKV is an application that decodes Blu-ray & DVD disks and saves them to DRM-free files – they either have their own official decryption key or they have found one by hacking some OEM device and are keeping it unpublished to avoid it being revoked, and hence it can always decode the latest titles. It will eventually become a paid app, but is free to use whilst in beta (requires entering a new temporary activation code every 30 days, found here: http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053.

The marvellous thing about MakeMKV however is that it can "emulate" libaacs and libdplus – meaning any calls from apps that link to those libraries expecting the default open source decoder will instead get passed through MakeMKV's closed-source decoder – hence any video playback software which uses those libraries will automatically use MakeMKV's decoder and be able to play the latest titles.

To install and set up MakeMKV:

Step 1: Install it


sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo apt-get update
sudo apt-get install makemkv-bin makemkv-oss


phd21 edit wrote:: If you do not have a blu-ray drive in your computer, then you do not need to do these next steps.

Step 2: Uninstall the open-source libaacs

sudo apt-get remove libaacs0

Step 3: Symlink MakeMKV's libmmbd to emulate libaacs and libdplus
(/usr/lib might not be the correct directory for you – do a search for "libmmbd.so")

cd /usr/lib
sudo ln -s libmmbd.so.0 libaacs.so.0
sudo ln -s libmmbd.so.0 libbdplus.so.0

And just like that, VLC and other players configured to use libbluray will be able to play any blu-ray disk, without any "no valid AACS key found" errors.

Note: it might require a reboot (sudo shutdown -r now) to get VLC to work with libmmbd.so.0.
shareimprove this answer

edited Nov 7 '15 at 15:22
Phil B.


Linux Bluray Disc Player
http://sourceforge.net/projects/lxbdplayer/

Play Blu-Rays in Linux and OS X with Blu-Play
https://coolaj86.com/articles/play-blu-rays-in-linux-and-os-x-with-blu-play.html


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.1, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

tpprynn
Level 3
Level 3
Posts: 178
Joined: Fri May 27, 2011 7:09 pm

Re: Handbrake and DVD ripping

Postby tpprynn » Tue Jun 14, 2016 4:39 am

Great, thanks. I had got the hang of makeMKV but due to the delays with the beta key I'd been thinking of using only Handbrake, but of course there's no need as the developer has finally posted the key. I'll add that I first tried using Handbrake to approximate an uncompressed rip because weirdly just one episode of a six episode comedy DVD was having its audio play out of sync with video after three attempts with makeMKV, which a 5000k rip with Handbrake worked around.

Still plenty there of interest, thanks again.

User avatar
phd21
Level 13
Level 13
Posts: 4697
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Handbrake and DVD ripping

Postby phd21 » Tue Jun 14, 2016 3:45 pm

Hi "tpprynn",

You are welcome.
Phd21: Mint KDE 17.3 & 18.1, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Sunderlandgreen
Level 1
Level 1
Posts: 7
Joined: Thu Feb 09, 2017 4:28 am

Re: Handbrake and DVD ripping

Postby Sunderlandgreen » Mon Feb 20, 2017 6:04 am

Have a reference at this ariticle about the specific steps to rip DVD with Handbrake
http://www.macworld.com/article/1157590 ... brake.html

PaperSky
Level 1
Level 1
Posts: 1
Joined: Mon Aug 28, 2017 10:00 pm

Re: Handbrake and DVD ripping

Postby PaperSky » Sun Sep 03, 2017 11:50 am

Handbrake and Makemkv are great choices in DVD ripping: https://www.digitaltrends.com/home-thea ... ray-movie/
However, there are still some DVD ripping issues on Handbrake, and there are some tutorials that aim at fixing problems you may meet when converting DVDs and videos via Handbrake: http://www.videoconverterfactory.com/ti ... orial.html
Share with you.


Return to “Sound, Multimedia, & Codecs”

Who is online

Users browsing this forum: No registered users and 3 guests