Win One Button DVD/BluRay Ripping using a Launcher from within XBMC
Well I've been doing a lot of tweaking and testing with Blu-Rays, and right now it doesn't seem possible to have a full proof method for automating blu ray rips. Some publishers obfuscate the main title with 50+ other 'fake' playlists being present on the disc, meaning you either need to test each one to find the right one or do a google search to find out which one you need (such as what I had to do for Safe). I've made quite a few changes, and it's really now tailored for exactly what I'm doing, but if anyone is interested here's my modified code. Since the makemkv command line is pretty limited, I need to manually check to see if I can RIP the MKV automatically. If I can then I select option 1 and 6-10 hours later I have a 720p copy of the blu ray (with the original backed up to a separate folder), and if not I rip the movie manually to the RipDir then selection option 2 and it will handle the rest.

Changes I made:
  • Option to not eject disc after finishing
  • Option to show splash screens
  • All directory variables are now similar in syntax (no trailing back slash)
  • Option to log Handbrake encode
  • Added psuedo logging for batch file
  • Option to only encode the largest MKV in the directory (this was my first attempt at fixing the blu ray issue, it's now sort of pointless)
  • Option to keep the original full quality MKV that makemkv creates (rather than deleting after converting with Handbrake -- which is helpful if you're still messing with HB settings)
  • Streamlined Handbrake settings to match up better with the Handbrake GUI
  • Option to Update XBMC
  • Option to include an empty file to use to create a movie.nfo file if XBMC doesn't scrape correctly

The handbrake settings I'm using now are an accumulation of some information I found on other forums. 'Fortunately' one of the first movies I encoded was The Dark Knight, which uses different aspect ratios throughout the film. In order for that to be retained, you need to turn off auto cropping then set the crop to 0,0,0,0 which essentially just keeps it as the original. Since I don't have my Blu Ray player hooked up to my TV yet I can't fully compare the Blu Ray to my 720p edition, but from watching the encoded 720p version it looks quite good. These are the settings I'm using (which are formatted differently from Spinalcrack's code) which took The Dark Knight from 26.9GB to 3.35GB:

Code:
:720pHigh
Set RESOLUTION=720p
Set PICTURE=-f mkv --decomb -w 1280 --crop 0:0:0:0 --loose-anamorphic  --modulus 2
Set VIDEO=-m -e x264 -q 20 --vfr
Set AUDIO=-a 1,1 -E faac,copy:ac3 -B 160,0 -6 dpl2,auto -R Auto,Auto -D 0,0 --gain=0,0 --audio-copy-mask none --audio-fallback ffac3
Set ADVANCED=-x b-adapt=2:rc-lookahead=50:ref=6:bframes=6:me=umh:subq=9:merange=64:analyse=all
Goto :EOF

Thanks again, hope you don't mind me using your code for my own endeavors.
ATV2 running XBMC Eden (Skin: Quartz3)
Windows 7 running XBMC Eden (custom setup as I'm basically running it as a service)
MySQL installed on Windows 7 for sharing libraries
iOS Specific FAQ | Alternative ATV2 keymap | Default ATV2 keymap
Post log files to Pastebin

Image
Reply


Messages In This Thread
[No subject] - by Spinalcrack - 2011-07-10, 23:22
New forum member is here - by Geatteevold - 2012-08-23, 03:11
[No subject] - by Johnnovision - 2011-07-12, 22:39
[No subject] - by patm95 - 2011-07-13, 05:03
[No subject] - by Spinalcrack - 2011-07-13, 05:40
[No subject] - by realjobe - 2011-07-13, 13:30
[No subject] - by Spinalcrack - 2011-07-13, 14:20
[No subject] - by publicENEMY - 2011-12-09, 04:40
RE: - by apr0mpt - 2013-01-16, 23:53
[No subject] - by Valdysses - 2012-02-25, 19:17
[No subject] - by Spinalcrack - 2012-02-26, 00:30
[No subject] - by cank - 2012-02-26, 21:32
[No subject] - by Spinalcrack - 2012-02-26, 23:45
[No subject] - by cank - 2012-02-27, 03:31
[No subject] - by Spinalcrack - 2012-02-27, 03:52
any news? - by TheOutlawEzE - 2012-02-28, 07:44
[No subject] - by Spinalcrack - 2012-02-28, 15:34
Updated version - by Spinalcrack - 2012-02-29, 06:46
[No subject] - by TheOutlawEzE - 2012-03-01, 06:24
[No subject] - by Spinalcrack - 2012-03-01, 06:38
*** Major Bug Fix *** - by Spinalcrack - 2012-08-06, 21:42
RE: One Button DVD/BluRay Ripping using a Launcher from within XBMC - by akevit - 2012-11-12, 21:32
Logout Mark Read Team Forum Stats Members Help
One Button DVD/BluRay Ripping using a Launcher from within XBMC9