WDTV Forum - WDTV Media Player

General WDTV Groups => Audio and Video Conversion => Topic started by: jayallan on March 01, 2009, 11:03:02 PM

Title: Converting Blu-rays to MKV
Post by: jayallan on March 01, 2009, 11:03:02 PM
I mostly use my WDTV to watch my Bluray disks that I have converted to MKVs for playback on my WDTV.
MKV is the current best format for storing HD video.  It offers the best ratio for highest quality at the best (smallest) file size.
With a 2 hour movie at 1080p an MKV can be about 8GB and still look exceptional.   At 720p the MKV can be around 4 GB!
This is the preferred way to store your Bluray's on a media server. 
MKV is a container format, which means it can contain many different file types including DTS, Dolby Digital, and subtitles tracks.



THIS IS A BASIC GUIDE TO CONVERTING BLURAY TO MKV.  (For more comprehensive guides search the internet for specific uses of each program.)

I use two programs to create my MKVs.   AnyDVD by SlySoft http://www.slysoft.com/en/anydvdhd.html (http://www.slysoft.com/en/anydvdhd.html) and MeGUI from here http://sourceforge.net/projects/megui (http://sourceforge.net/projects/megui)

AnyDVD costs around $120 but is the only program that can decode studio BluRay disks.   They have amazing customer support, and update the program almost weekly. 
MeGUI is a free program and comes with a host of sub tools.  Be sure to read their install instructions and set it up completely.

Once you have the programs installed, you will need to RIP your BluRay to a hard drive.   This can take upwards of 15-25 Gigabytes !!!
Open AnyDVD and rip the BluRay to a folder on your PC.   

Once you have the files on your hard drive you will need to create an AVISynth script in MeGUI.  Go to tools and select AVISynth script creator. This will tell the program what video file to work with. 

Go to your BD RIP and in the STREAM folder you should find that largest file.  This will be the main movie.  Select that as your source. 

Once you have selected your source file a video window will pop up and you will have some resizing options.  Use clever anamorphic encoding to maintain the correct aspect ratio and trim the excess black boarders. 

Once you have set any resizing save your AVIsynth script.

Now you need to set the video encoding profile.  In the Encoder Settings pull down box find an x264 setting that suits your needs.  I recommend x264 Standalone BluRay.    You can configure your own based on what you want for quality vs file size.

General guidelines for encoding bitrates:
For typical XviD/DivX AVI's I would suggest you start with 600-700 kbps for bitrate
For DVD Rips I would suggest you start with 800-1000 kbps for bitrate
For Blue-Ray/HD-DVD/HD @ 720p I would suggest you start with 2000 - 3000 kbps
For Blue-Ray/HD-DVD/HD @ 1080i I would suggest you start with 3000 - 4000 kbps
For Blue-Ray/HD-DVD/HD @ 1080p I would suggest you start with 4000 - 5000 kbps


Once you have selected an encoder setting hit the enqueue button.

Now select the same video file as your Audio input.  Select Aften AC-3 as your encoder setting.  I do not have a DTS encoder. 

set the extension as AC3 and select an output file name.  Hit Enqueue.

Now click the queue tab.   Hit Start.

This will take 8 to 10 hours for a quad core machine.   

Once you have the two files (one audio and one video) in the folder you selected you will need to combine the AV files into one MKV.

Under tools select Muxer > MKV Muxer.

The video input should be the new file you spent 8 hours making, and the video will be the AC3 file you created.  Select a destination file name and hit queue.   Now click the queue tab again.   Hit Start.

That should get you there.  Again this is a basic guide, and for specific settings and such go to the individual programs sites for guidance. 

Have fun! :)










Title: Re: Converting Blu-rays to MKV
Post by: nograde1 on March 21, 2009, 04:15:28 AM
Do you recommend an external or internal BR drive?  How much are they now?
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on March 21, 2009, 12:06:21 PM
I have an internal LG.  I bought the combo drive that also does HD DVD because those disks are only about $4-5 on eBay now.   And they are the same quality as the BluRays.  Paid $120 for it.   
Title: Re: Converting Blu-rays to MKV
Post by: georgeorwell on March 27, 2009, 09:46:31 AM
Great job on the step by step process.  Exactly what a lot of us are looking for!   
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on March 27, 2009, 12:53:38 PM
Thank you GeorgeOrwell!

Now I need to do I guide for HD-DVD rips to MKV.  I have been buying them up as they are so cheap now.   
I will have to figure that out.

DONE!  Have a look here: http://wdtvforum.com/main/index.php?topic=384.0
Title: Re: Converting Blu-rays to MKV
Post by: SputnikNYC on April 01, 2009, 03:13:34 PM
Thanks Jay ...... awesome tutorial!!! ;)
Title: Re: Converting Blu-rays to MKV
Post by: Miramax on April 02, 2009, 08:41:07 AM
If it has to be plain and simple -> MakeMKV www.makemkv.com

Cya
Title: Re: Converting Blu-rays to MKV
Post by: nogames on April 08, 2009, 03:52:35 PM
If it has to be plain and simple -> MakeMKV www.makemkv.com

Cya

This one is easy, however makemkv just "wraps" the video in a mkv container. It will often still have insane bitrates of 20-25 Mbps, which WDTV won't play. Even 15 Mbps often fails.

So no-go for most blu-ray movies
Title: Re: Converting Blu-rays to MKV
Post by: Oldman on April 23, 2009, 11:36:53 AM
If it has to be plain and simple -> MakeMKV www.makemkv.com

Cya

This one is easy, however makemkv just "wraps" the video in a mkv container. It will often still have insane bitrates of 20-25 Mbps, which WDTV won't play. Even 15 Mbps often fails.

So no-go for most blu-ray movies

That's interesting since I just used MakeMKV to rip the Blu-Ray Baraka last night and played it just fine on the WDTV.  Media Info reports it as encoded in VC-1 at 29.7Mbps and the rear jacket of the movie says up to a maximum of 39Mbps.  File size was 22GB. 

Storage efficiency is the main concern here as the tradeoff is size versus speed.  If you have loads of storage space just use MakeMKV and AnyDVD HD and each movie will take 30-45mins to rip but will take up 12-25GB if not more. 

Three easy steps listed here:

http://www.makemkv.com/onlinehelp/
Title: Re: Converting Blu-rays to MKV
Post by: matt88 on April 26, 2009, 06:27:48 PM
how long would this take on a p4 3GHZ 2GB Ram or is it too slow?
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on April 26, 2009, 09:30:03 PM
how long would this take on a p4 3GHZ 2GB Ram or is it too slow?

You really need a dual or quad core to get up to speed.   You can always try a 15 minute clip and see how long it takes.

Title: Re: Converting Blu-rays to MKV
Post by: matt88 on April 26, 2009, 11:19:05 PM
im tossing up weather to buy a blu ray for my current comp or not
Title: Re: Converting Blu-rays to MKV
Post by: MaxxPower on April 27, 2009, 03:32:51 AM
If it has to be plain and simple -> MakeMKV www.makemkv.com

Cya

This one is easy, however makemkv just "wraps" the video in a mkv container. It will often still have insane bitrates of 20-25 Mbps, which WDTV won't play. Even 15 Mbps often fails.

So no-go for most blu-ray movies

That's interesting since I just used MakeMKV to rip the Blu-Ray Baraka last night and played it just fine on the WDTV.  Media Info reports it as encoded in VC-1 at 29.7Mbps and the rear jacket of the movie says up to a maximum of 39Mbps.  File size was 22GB. 

Storage efficiency is the main concern here as the tradeoff is size versus speed.  If you have loads of storage space just use MakeMKV and AnyDVD HD and each movie will take 30-45mins to rip but will take up 12-25GB if not more. 

Three easy steps listed here:

http://www.makemkv.com/onlinehelp/
I haven't had a problem with playing direct BD streams either, it plays them whether I use a .ts or .mkv container. Even with DTS audio they play flawlessly.
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on April 27, 2009, 01:00:02 PM
Can you tell me why when I select "stand alone blue ray" as an encoder setting as opposed to "x264: *scratchpad*" I get two work streams for the video and it takes about twice as long?  When I select X264 scratchpad it still takes about 18 hours to convert, but is still far quicker and simpler than the stand alone blue ray option.  I finally had to abort this encoder setting and started all over again with the x264 scratchpad option.  Am I sacrificing quality in any way by using the x264 scratchpad encoder setting....what's the difference?  I've set both to 4500 bitrate.  Thanks.
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on April 27, 2009, 02:47:53 PM
The scratchpad is used to on the fly modify existing profiles.   What you have is an existing mod in the program's memory.  It sounds like your scratchpad is doing only one pass which is not recommended.  Two pass will give you SIGNIFICANT increase in quality for the same size file.   It also takes 6-8 times as long.  If you are happy with the 1 pass quality then go for it.  We all have different tastes and different equipment.   I recommend you create a new single pass profile and save it if that is the case as your scratchpad with be lost the next time you make changes to any profile during a conversion.

Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on April 27, 2009, 05:06:12 PM
That helped a lot, thanks for the explanation!
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on April 28, 2009, 06:16:19 AM
One other question on this, if I decide to take the extra time and use the stand alone blue ray encoder setting, will I end up with two video files and one audio to load into the MKV Muxer (plus any subtitle files) since it shows two work streams for the video, or does it place both work streams into one video file?  I'm only asking because if I go to all the trouble to wait two days or more for the file to process, I want to be sure I do the right thing at the final step!  Thanks.
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on April 28, 2009, 11:17:55 AM
It will save only one high quality video file.   :)
Title: Re: Converting Blu-rays to MKV
Post by: nogames on April 28, 2009, 12:32:33 PM

That's interesting since I just used MakeMKV to rip the Blu-Ray Baraka last night and played it just fine on the WDTV.  Media Info reports it as encoded in VC-1 at 29.7Mbps and the rear jacket of the movie says up to a maximum of 39Mbps.  File size was 22GB. 

Storage efficiency is the main concern here as the tradeoff is size versus speed.  If you have loads of storage space just use MakeMKV and AnyDVD HD and each movie will take 30-45mins to rip but will take up 12-25GB if not more. 

Three easy steps listed here:

http://www.makemkv.com/onlinehelp/

It appears I've run into the subtitle trouble with heavy CPU load introduced with the new subtitle engine. I have danish vobsub subtitles for my blu-ray movies, but WDTV often stutters when enabling the subtitles.

Guess i should consider hardsubbing :yuck:
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on May 09, 2009, 02:31:26 PM
I successfully backed up a movie using stand alone blue ray as the encoder setting (took over two days!).  However, when I tried my second movie, the stand alone blue ray option has disappeared....it only offers three options, one of them being the X264 scratchpad that I used to use before.  Any idea why the stand alone blue ray option is no longer in the drop down menu and how I can get it back as an option for encoding?  All updates have been made to MeGUI. 

Also, I noticed when I backed up the last movie on the x264 scratchpad setting the picture was very dark...not sure if that is because I didn't go the extra mile to use the stand alone blue ray option or if it is because of some other reason.  I've also noticed that since I upgraded to the latest WDTV firmware the file titles appear very grainy...they used to be crystal clear.  I've switched to a WD Passport HD....not sure if that has anything to do with it or not.  Any words of wisdom would be much appreciated....thanks.
Title: Re: Converting Blu-rays to MKV
Post by: TerrorByte on May 12, 2009, 02:26:59 PM
I've also noticed that since I upgraded to the latest WDTV firmware the file titles appear very grainy...they used to be crystal clear.  I've switched to a WD Passport HD....not sure if that has anything to do with it or not.  Any words of wisdom would be much appreciated....thanks.

Check the settings. I want to say when you upgrade the firmware it resets to factory default, so if you had it set to a specific resolution, it may be on auto now.
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on May 19, 2009, 04:45:29 PM
Was wondering if anyone has used the encoder setting stand alone blue-ray_fast and if there is any difference in the video quality to the stand alone blue-ray setting?
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on May 19, 2009, 05:19:50 PM
I have never tried that setting.   :(
Title: Re: Converting Blu-rays to MKV
Post by: breadfan on June 16, 2009, 11:09:45 PM
I use Ripbot264 http://forum.doom9.org/showthread.php?t=127611 (http://forum.doom9.org/showthread.php?t=127611) along with AnyDVD HD.

Ripbot is excellent software and comes with all the utilities you need (MVKToolnix etc). It handles True HD and FLAC , DTS-HD sound and you can rip to standard sizes or bit rates. It takes some setting up, you need the latest ffdshow, AVISynth amd Haali splitter but is well worth it. I have used it on all my blu-ray rips without failure. Everything plays on the WDTV without stutter or lag.

Here's a good guide http://forum.videohelp.com/topic358185.html (http://forum.videohelp.com/topic358185.html).
Title: Re: Converting Blu-rays to MKV
Post by: jayallan on October 19, 2009, 12:27:29 PM
If it has to be plain and simple -> MakeMKV www.makemkv.com

Cya

This one is easy, however makemkv just "wraps" the video in a mkv container. It will often still have insane bitrates of 20-25 Mbps, which WDTV won't play. Even 15 Mbps often fails.

So no-go for most blu-ray movies

This is not entirely true.  It does just wrap it in a MKV container, but it should play over a hard line or from the USB no problem at the high bitrate.

As far as the post above, Ripbot 264 is also a great alternative and is a bit easier to figure out than meGUI
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on October 28, 2009, 03:05:35 PM
Recently I have tried to convert two movies and I get the same error message on each:

AviSynth script error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me.

Any suggestions on how to overcome this?  I've tried re-loading MeGUI, but no luck.

Thanks.
Title: Re: Converting Blu-rays to MKV
Post by: Knolan on November 19, 2009, 12:26:47 PM
Anyone interested in a Tutorial to Rip Blu-Rays without re-encoding ?

Pro
Its Fast
Same Quality
Adjustments in Audio and Subs (like DTS to Ac3 etc.)

Con
No resize to 720p possible
Big File Size from 15 GB to 25 GB
Title: Re: Converting Blu-rays to MKV
Post by: oposky2006 on January 21, 2010, 12:07:51 AM
great, thanks for sharing :)
Title: Re: Converting Blu-rays to MKV
Post by: willisurf on February 16, 2010, 03:14:31 PM
a nice tool to convert Blu-ray to MKV is discussed here
http://forum.doom9.org/showthread.php?t=152294 (http://forum.doom9.org/showthread.php?t=152294)

or in the german gleitz forum
http://forum.gleitz.info/showthread.php?t=41747 (http://forum.gleitz.info/showthread.php?t=41747)

It is a little tricky to install
(please read http://forum.doom9.org/showpost.php?p=1367545&postcount=21 (http://forum.doom9.org/showpost.php?p=1367545&postcount=21))

But even as a beta it works fine as a one click solution with multiple audio tracks, multiple subtitles and if selected it preserves the chapters.

Thanks again to hawk!
Title: Re: Converting Blu-rays to MKV
Post by: jimmy8765 on March 11, 2010, 07:02:31 PM
If your not too concerned about the file sizes then MakeMKV is not a bad option

http://www.makemkv.com/download/ (http://www.makemkv.com/download/)
Title: Re: Converting Blu-rays to MKV
Post by: Neosh1014 on March 16, 2010, 12:21:46 AM
Hi, guys!
My pleasure to give you my suggestions. :)
I use Pavtube Blu-ray Ripper, and recommend you use it, I heard about this program through forums like doom9 and AV fourms, Itís everything I could want in a program that renders video in different formats especially HD formats with AC3 codec(I can backup all my Blu Ray  in formats that are compatible with my PS3)! Cool!
Look at this tips about rip Blu-ray to mkv for WD TV:
first, take a look about WDTV supported file formats
video: MPEG1/2/4,  WMV9, AVI (MPEG4, Xvid, AVC), H.264, MKV, MOV (MPEG4,  H.264), Subtitle SRT (UTF-8)
audio: MP3,  WMA, OGG, WAV/PCM/LPCM, AAC, FLAC, Dolby Digital, AIF/AIFF, MKA Playlist PLS, M3U, WPL
second, use pavtube with this perfect settings
(http://i42.tinypic.com/vrwk13.jpg)

Good luck!
Title: Re: Converting Blu-rays to MKV
Post by: jimmy8765 on May 05, 2010, 10:46:14 PM
Compared with other sharewares,the Pavtube Blu-Ray Ripper Software is currently the best ripping software and surprisingly it can rip both DVDs & Blu-Ray Discs without the need of having a different Undo-Protection program. I have tried many brands of ripping software with poor results. PavTube Blue-Ray Ripper is a real "Swiss Knife". Additionally, I must report that conversion speed of DVD Ripping is really astonishing but I think ripping a Blu-Ray Disc is fairly slow but quite reasonable. The quality of the output video files is also superb.

With this program,you can add different subtitles to converted files and supports Dolby TrueHD/ DTS-HD encoded audio, which enables you to select any of the tracks in the source Blu-ray disc, no matter your mother tongue or other foreign languages.

If you want to rip blu ray to other format,you can download demo version from http://www.pavtube.com/blu-ray-ripper/

One thing I liked about the demo version is that it ripped the whole movie, not just the first 2 minutes.
Title: Re: Converting Blu-rays to MKV
Post by: Solver on May 06, 2010, 11:08:33 AM
I wish we could see the video bitrate and frame rate, the drop-down box is covering those values.  What values should we use?

BTW, the demo version puts a prominent watermark on the video.

Hi, guys!
My pleasure to give you my suggestions. :)
I use Pavtube Blu-ray Ripper, and recommend you use it, I heard about this program through forums like doom9 and AV fourms, Itís everything I could want in a program that renders video in different formats especially HD formats with AC3 codec(I can backup all my Blu Ray  in formats that are compatible with my PS3)! Cool!
Look at this tips about rip Blu-ray to mkv for WD TV:
first, take a look about WDTV supported file formats
video: MPEG1/2/4,  WMV9, AVI (MPEG4, Xvid, AVC), H.264, MKV, MOV (MPEG4,  H.264), Subtitle SRT (UTF-8)
audio: MP3,  WMA, OGG, WAV/PCM/LPCM, AAC, FLAC, Dolby Digital, AIF/AIFF, MKA Playlist PLS, M3U, WPL
second, use pavtube with this perfect settings
(http://i42.tinypic.com/vrwk13.jpg)

Good luck!

Title: Re: Converting Blu-rays to MKV
Post by: oposky2006 on May 07, 2010, 06:38:20 PM
bitrate: 9800 kbps  and frame: 30 fps would be good.
Title: Re: Converting Blu-rays to MKV
Post by: Monteplus3 on October 09, 2010, 11:05:52 AM
Hello...I have re-loaded MeGUI on my PC, but every time I try to open a file with avisynth script creator I get "not responding."  I've loaded it twice, same thing.  Any suggestions?  Thanks.
Title: Re: Converting Blu-rays to MKV
Post by: hangengd on January 18, 2011, 03:05:02 AM
Thank you for the nice tips. 
In exchange, I share with you how to put ebooks on ipad (http://www.ipadtomactransfer.org/ipad-tips/download-ebooks-for-ipad.html) and how to transfer movies from mac to ipad (http://www.ipadtomactransfer.org/guides/transfer-movies-from-mac-to-ipad.html).
Many user have the foregoing questions.
Title: Re: Converting Blu-rays to MKV
Post by: joecody01 on January 26, 2011, 11:33:07 PM

i use Aunsoft Blu-ray to do that , it can meet my needs .

http://www.aunsoft.com/blu-ray-ripper/
Title: Re: Converting Blu-rays to MKV
Post by: BenL on April 23, 2012, 03:14:54 PM
im tossing up weather to buy a blu ray for my current comp or not

It definitely has it's advantages. Even with an i7 quad core it still takes more time than it should.  :(