⭠ Back to MegaDB Search

TubbyBud | 28 points | Aug 06 2017 18:18:45

[DISCUSSION] How do you rip and encode your collections? | Megalinks MegaDB [DISCUSSION] How do you rip and encode your collections?

I have a sizable collection of DVDs that I would like to share however, I only have a very basic understanding of how to rip and encode. I think I have ripped only 1 DVD and that was dreadful. If you can, could you provide an eli5 style answer. Im not very literate in these types of things so any answer would be very gratefully accepted. Any advice for settings to use for encoding or ripping would be well received also.

permalink


[-] Gregorian_Sluts | 25 points | Aug 06 2017 18:53:08

Handbrake is the go-to standard for ripping and re-encoding. ffmpeg, which Handbrake uses in part under the hood, is also very useful, but is a commandline program with somewhat obtuse documentation.

Handbrake does require libdvdcss to be able to rip copy-protected (typically commercial DVDs), which it does not come with by default. Fortunately, it's pretty easy to download a copy of libdvdcss and drop it in the right location. Handbrake will then happily rip just about anything on DVD. Feel free to tell me what platform you're on (MacOS, Windows, Linux, etc.) and I'll see what I can dig up for you.

Beyond that, there is no ELI5 possible because half of this will reference acronyms and jargon that are literally meaningless to the layman. That said:

For most purposes, H264 video and AAC audio are the defacto video codec formats for home-theater players. This isn't universal, however, so refer to your manual~. Handbrake has these codec sets as options, and you'll most likely be using those formats for many of Handbrake's built-in presets.

For sharing, you might also want to consider HEVC and H265 video formats. These provide superior quality-for-size to H264, but require more resources to decode and play (but not much more).

Denizens of Megalinks are hopefully savvy enough to use a transcoding media service, or to at least manually transcode what they download to something that fits their playback environment. So, do whatever.

As for your DVDs, you should note that most DVDs offer video sources that are at max 720 × 576 pixels, or 720 × 480 pixels. Therefore, your DVD collection will not muster a 720p or 1080p rip (which are generally 1280x720 or 1920x1080 pixels). Those are achieved through BluRay rips, or some other source (like webDL's).

But, that isn't bad. Given Mega's bandwidth restrictions, lower quality (and therefore smaller) rips will still be appreciated so long as they are appropriately labeled. People can download the bunch all in one go, so long as they don't care too much about resolution and quality. So, be sure indicate in your post title that your rips are [DVDrip], and maybe indicate that they are [576p] or [480p].

That said, don't bundle your rips all in one file. Do keep them separate, and maybe in a Mega Folder. That guy that drops the decade packs is a good model to follow.

permalink

[-] Dracwing | 6 points | Aug 06 2017 22:41:23

Just to clarify. Handbrake uses libav, not ffmpeg.

permalink

[-] Gregorian_Sluts | 5 points | Aug 07 2017 03:32:45

While you're totally on the ball, the Handbrake docs do mention that it offers ffmpeg's mpeg2 and mpeg4 "part 2 encoder for fast, low quality encoding." This satisfies my 'uses in part' statement.

https://handbrake.fr/docs/en/latest/technical/video-codecs.html

The libav and ffmpeg matter is sort of a see-saw anyways, and it's likely that we'll see one absorbed into the other at some point because they're just spite-forks of one another.

The whole logo thing was totally dickish.

permalink

[-] MiniTick | 3 points | Aug 06 2017 18:43:50

I'm not the best at this so take what I say with a grain of salt...

I use DVD Decrypter to get the files from protected DVDs.

Then I use Handbrake to encode them to MKV's. There's better guides out there, and I'm sure I'll get corrected, but I mostly leave all the settings the same except for the video tab. You can leave it as H.264 if you're fine with that or change it to H.265. I change the container to MKV from MP4. After that, I set the Constant Quality to RF 18 for DVDs (480p) or you can experiment with variable bitrate (make sure to turn on 2-pass for that).

For Optimise Video, I set Encoder Preset to Slow (there's not a lot of gain for going slower than that, but if you really want to eke out as much quality for file size, you can go slower).

It's good to check Preview and do a Live Preview to see how your output is going to turn out.

Hope this helps!

permalink

[-] omni461 | 3 points | Aug 06 2017 21:35:20

I would like to start off by saying that I am pretty new to this myself. If anyone has anything to add to this or any corrections, I welcome them.

I use makeMKV to convert my physical media into digital media. Once makeMKV is installed start by loading your dvd into the pc drive, then start up makeMKV and hit the "dvd icon" (looks like a CD) on makeMKV. It creates a very large digital copy of the movie in excellent quality. It's a very simple program that basically holds your hand through the short and simple process.

Once that is done I use staxRIP to re-encode my video into H.265 with the h.265 hardware encoder. Using this method I can encode into H.265 at about 200-900 fps. Resulting in good quality files with extremely small file sizes, very quickly. I average about 5-15 minutes to encode a 1 hour video file.

Install StaxRIP (and .NET 4.7 if your OS is prior to Windows 10 1703 update, link above) and start it up. Then right click on the "Source" box, select your previously made MKV file. Select auto for all options and then choose the audio and subtitles you want. Click "ok" and let the program demux (extract) the chosen audio and subtitles. Once it's done you are ready to get into the meat of it. Left click on the "x264" text to select an encoder. Since my nvidia video card supports HEVC I can choose NVIDIA H.265. If you don't have a HEVC supported video card your encode times will increase exponentially. If you have an Intel CPU, you can choose from the other options such as INTEL H.265 or INTEL H.264 or just H.264/5 if you have an AMD CPU. With that done you can leave everything else as is and click "next" to begin the re-encoding process or you can fine tune your settings.

These are my settings; I click on the "edit" button of my 1st audio track and make sure the codec is AAC and the "Channels" are set to stereo. Then I make sure "Default" is selected, to set the stereo channel as the default playback audio (this is mostly for compatibility as some media playback devices will fail to load a video if the audio us unsupported). I also make sure that "Normalize" is unchecked (it's like night listening mode). Finally I name my audio track, "English Stereo", under Advanced "stream Name". After all that I hit ok and select my 2nd audio track by right clicking on the empty box under "Audio". Once an audio track is chosen click on "edit". If it was a 5.1 or higher I change the "codec" to AC3, the channels to 5.1 and make sure "normalize" and "default" are NOT selected before renaming it, "English 5.1" and hitting "ok". If you only have a stereo audio dont worry about the secondary audio track.

In order to control the size of my re-encodes I change my encoder options. Click on "encoder options" change the "mode" to "VBR" select "ok" and under "target you can now manually change the video bit rate. Based on my source video files, I prefer a bitrate of about 3500-4500 in H.265. Now, in order to not unnecessarily add size to your created file, you should check the bitrate of your source MKV file. When you started up StaxRIP and it demuxed your MKV, a log file was created with this information. It's located in the same spot that makeMKV program saved it's video. The log file will be in a folder called title_temp with "title" being the name of your file. Look for "title_new_staxrip.log" open it up with notepad and under "video" it should show the bitrate. Make a mental note of this, back in StaxRIP you can choose this exact bitrate for your new file or you can use a lower bit rate. Just don't go over this bit rate as that will make your re-encoded video larger without any increase in quality. As you change the "Video Bitrate" you will see, in real-time, how that affects the "Size" of your video. If you choose a bitrate that is too low, the quality will suffer.

If I included subtitles during the demux I like to check under "Container Configuration" to make sure the subtitles are set up properly. If any of your subtitles say "Forced" be sure to check the "Forced" box, as this will load those subtitles automatically, even when subtitles are not selected. For parts where any foreign/alien lines are spoken during an English movie. If you want to open the individual subtitle files to check what's in them, sometimes they are directors commentary, you can use a program called SubtitleEdit.

With all that done click "ok", "Next" and then finally "Start". The time it takes to complete depends on you PC specs and the encoder you chose. Good luck! If you have any questions feel free to ask.

Edited for grammar lol

permalink

[-] omni461 | 3 points | Aug 06 2017 21:39:51

Photo of my FPS while encoding in H.265 with an i5 and a GTX1070. http://imgur.com/x7vf7XN

permalink

[-] groudon2224 | 2 points | Aug 07 2017 19:30:41

How has the lack of B-Frames due to NVEnc affected your encoded files? One major put-off for me with using NVEnc is the major drop in compression efficiency due to this. However with GPU encoding the performance increase is drastic, albeit you sacrifice a lot of functionality with it.

permalink

[-] omni461 | 2 points | Aug 07 2017 22:57:57

I personally haven't noticed anything odd, I use plex with roku on a 4k TV. From my understanding even in HEVC references are still based on a pyramid hierarchy. You do lose the compression of the B frames but h.265 compresses in a different manner anyways. Honestly though, I didn't know about B frames until someone asked me about them yesterday, so I may be wrong. * I did notice that before I started using the hardware encoder. That I could get even smaller file sizes at comparable quality using the software h.265 encoding. But the difference in the time it took to encode the files was ridiculously huge. So I decided that the trade off between shorter encoding times vs a slightly larger file sizes was worth it. That's the only real thing I've noticed.

permalink

[-] xxdil111xx | 2 points | Aug 06 2017 18:33:25

I too would like to know this, as I have some collections on DVD myself

permalink

[-] GamerBears | 1 points | Aug 06 2017 20:16:21

I use VidCoder & MakeMKV. I have never done DVD encodes mostly just Blu-ray. A suggestion if you plan on sharing these make sure to make the audio passthrough.

permalink

[-] Matt07211 | 1 points | Aug 07 2017 14:41:49

MakeMKV to rip, Handbrake if I need to encode, MKVTools if I need to edit the mkv files directly.

I leave my DVD rips pure and untouched (including all audio and subtitles) and I plan to rip and transcode my Blu-ray when I get a USB Blu-ray player for my laptop (not any time soon).

permalink

[-] ecchh | 1 points | Aug 08 2017 03:19:52

I create an iso from blu-ray discs using a hacked PS3, transfer those to my PC over network, mount the iso with DVDFab Virtual Drive, decrypt with DVDFab Passkey 9 and rip using MakeMKV. I also create a decrypted iso while I'm at it using IMGBurn. To encode, I use ffmpeg.

permalink