Tag Archives: Blu-ray

Converting Blu-ray HD audio to FLAC

As I mentioned in my first look at ripping Blu-rays, converting uncompressed PCM and lossless Dolby TrueHD and DTS-HD Master Audio to FLAC for use in XBMC carries a number of benefits.

  • It’s also lossless, so no quality difference.
  • FLAC is an open, well-documented format and so you’re not reliant on reverse-engineered implementations.
  • XBMC can decode FLAC to PCM and output it over HDMI, whereas it currently can’t for DTS-HD.
  • Hard drive space savings can be significant, especially for PCM soundtracks.

There’s little penalty in terms of the time taken to rip the disc either, as it’s unlikely that your BD drive can copy data from the disc fast enough for the conversion process to become a bottleneck.

What you need

This process still uses MakeMKV, with the feature enabled in by checking the advanced options box in the settings. TrueHD decoding is built in, but you’ll need to find a separate DTS module and point MakeMKV to that.

MakeMKV

All you then need to do it choose the ‘FLAC’ preset when ripping a disc. Otherwise the process is identical.

File sizes

I picked three movies representing the three HD audio formats supported on BD. All were ripped to an MKV file containing only the main video, the lossless main audio track, and no subtitles; file size recorded; then passed through MakeMKV again to convert the audio to FLAC. After conversion, MediaInfo was used to verify that the number of channels, sampling rate and bit depth (some versions of the DTS decoder have a bug that will change 24-bit audio to 16-bit, hence the use of 24-bit audio tracks below) were unaffected.

Movie Audio Original size New size Delta
2001: A Space Odyssey PCM 5.1 (48kHz, 24-bit) 20.10GB 16.38GB 3.72GB (18.5%)
Blade Runner Dolby TrueHD 5.1 (48kHz, 24-bit) 18.22GB 18.08GB 0.14GB (0.8%)
The Bourne Identity DTS-HD Master Audio 5.1 (48kHz, 24-bit) 25.96GB 25.42GB 0.54GB (2.1%)

I noted a few more, with all the data recorded in this spreadsheet. The range of formats reflects the predominance of DTS-HD on Blu-ray these days, but there’s a clear 2-3% gain on substituting FLAC there. It doesn’t sound like much, but it’s half a gig when you’re talking about files of 20GB and up.

Conclusion

According to my unscientific tests, then, converting to FLAC delivers a saving in file size over the untouched original track across the board, with a minimal reduction for TrueHD and a handy half-gig saved on DTS-HD. Obviously, since the others are already losslessly compressed, the biggest gains come over PCM, where FLAC can shave 3.72GB off the size of the 2001 MKV – enough for another couple of DVD rips on my HTPC’s hard drive.

Some notes on ripping Blu-rays

Owing to my current HTPC project, about which a more comprehensive post is on the way, I’ve spent many hours over the last week delving into the murky, unexplored realm of ripping Blu-rays. This being a more niche format, requiring more unusual hardware and scads of hard drive space, the tools required aren’t quite as polished and straightforward as ripping a DVD, but a bit of trial and error has taught me a few tricks.

Tools

The most important tool is MakeMKV, which is free while it’s in beta. It’s a great app that does one thing and does it very well: rips DVDs and Blu-rays from the disc to an MKV file. No conversion or compression – except for one exception, which I’ll come to shortly. DVDs get run through HandBrake since a heavily compressed source isn’t going to suffer too much and the file size can be cut by ~60%, but I want my BDs in their full glory.

MakeMKV

File sizes that this approach result in range wildly, but a single file with one HD audio track results in a 20-40GB file. Hope you have a lot of HDD space.

As far as Blu-ray hardware goes, I spent £39 on a Panasonic UJ-260 on eBay, which is a USB drive that can read and write Blu-rays all the way up to the 100GB BD-R XL discs. It can rip most movies in 40 minutes or so. A very decent no-frills BD drive that works fine on both my Mac and the HTPC.

Handling HD audio

One minefield in putting together an HTPC is that the capabilities of HDMI hardware vary wildly depending on hardware and driver support. A particular difficulty comes in the ability (or not) to output Dolby TrueHD and DTS-HD Master Audio as a bitstream, which allows an AV receiver to handle the decoding and processing. Most HTPC software can decode internally to some extent, however, but my choice uses a reverse-engineered open-source implementation, and I can’t help but suspect that it’s not going to do as good a job as my Denon.

As it happens, bitstreaming HD audio on AMD hardware in Linux is a new addition and doesn’t yet work reliably on my setup. TrueHD can be decoded to uncompressed PCM in XBMC, but DTS-HD leaves me only with the compressed DTS ‘core’, which is barely better than DVD. That won’t do.

Thankfully MakeMKV has the ability to convert the HD formats to the open-source FLAC, which is open and far better documented. What’s more, it actually creates smaller files, while still remaining lossless. And it’s a handy option for those releases with only PCM audio, as that can account for 8GB of audio alone.

There’s a separate post coming on this issue, complete with file size comparisons.

Subtitles

BD handles these slightly differently to DVD. Whereas DVD would have a separate, hidden subtitles for ‘forced’ subs (e.g. scenes in a foreign language in otherwise English movies), BD simply marks the appropriate lines in the main subtitle track as forced, meaning they should be shown even if subtitles are turned off.

MakeMKV has the ability to only add these forced subs to the output, but you still need to work out which track is the correct one – a movie can have separate English subtitle tracks for closed captions, commentaries, dubs vs original tracks (e.g. a direct transcription of the English dub and a more literal translation of the original audio, as on some anime releases), trivia, and more.

Handily, the community as AVS Forum has put together a spreadsheet that lists the correct subtitle tracks for various releases. It’s not comprehensive, but it has a lot of common movies. Worth bookmarking if you’re going to be doing a lot of this. Simply tick the ‘forced only’ box for the one you need.

More to come…

These are the results of my early experimentations. I’ve got a spreadsheet – when I say I’m experimenting, I mean it – on the go with the compression rates achieved by the above FLAC conversions and will share that data when I’ve converted my initial batch. Also, once this whole HTPC project is in a stable state, I’ll put together my tips on how one can be assembled for around £200. In the meantime, get a load of this…

XBMC movie library

Isn’t it beautiful?

The Quest for Multiregion Blu-ray

Oh, for the good old days when I could just buy the DVD and know that it would work on my multiregion player…

The biggest thing that still hurts about the death of HD DVD has to be the fact that the market collectively eschewed a format that completely did away with the ubiquitous region codes of DVD. Thankfully it’s less of an issue on Blu-ray, but it’s still annoying that faithful UK film fans have to miss out on stuff like the Criterion Collection or are just now getting films that came out Stateside in November. I’ve got around it by combining a UK region B standalone player with my US PS3, but it was far from ideal, and coupled with some issues with my Samsung, I dove in to see what multiregion options we’ve got.

Given the more stringent licensing terms on Blu-ray, the current state of multiregion BD is a bit messy, either involving hardware mods or questionable firmware, and none are as simple as a multiregion DVD player. If you’re like me, with a large collection of films from all regions, it’s quickly apparent how spoilt you can become with that situation, not having to think about it at all when dropping a disc into the player.

I ultimately went for a modded Oppo BDP-80, which is a slightly cut-down version of the BDP-83 – generally considered one of the best Blu-ray players on the market.

The mod makes it completely region-free for DVD playback, and switching the Blu-ray region is as simple as putting it into standby, holding down the blue button on the remote, and pressing 1, 2 or 3 to flick between regions A-C. The majority of my BDs aren’t region coded and out of those that are, it’s about an 80/20 split in favour of region A, so I leave it set to A and flick it over before I go to watch a disc that’s locked to B. Again, not ideal, but it works and it works well, and it’s likely to be the best we’ll get until the budget Asian manufacturers start making multiregion players.

From what I’ve seen so far, I’m extremely impressed with its performance. It’s fast – this review of the 83 puts it on top of the PS3 in every test there, easily fitting my criteria of performing like a DVD player – and the picture is excellent, with lots of lovely options to fiddle with, and I particularly liked the ability to access the setup menu without quitting playback. I’ve left it on the defaults as far as picture tweaks go and it looks lovely, with some of my favourite demo discs – Apocalypto and Cars remain my go-tos – really shining.

Upscaling performance was something that concerned me, with the Oppo website recommending the 80 for “small or medium display screens”, but after being assured that my 42″ TV fell into that category – apparently you need to be in the 60″ and upwards bracket to qualify as a large screen these days – and testing it, my impressions are favourable. I’d put it ahead of my trusty old Pioneer DV-400V, which may now actually be retired given that its multiregion functionality has been matched. Oppo has quite a reputation for the quality of its upscaling – its first player, the OPDV971H, famously came out for $199 and proceeded to outperform a $3,500 Denon in objective tests – and this would seem to extend to efforts without the high-end hardware. I’d be interested to check out the 83 for myself, because I can only see so much that you can do with the limitations of DVD and would love to be proven wrong there.

So, then, it is possible to find a multiregion Blu-ray player, from the very good to the lower end, and the £50-odd premium on stock models is, in my opinion, worth it. I’m back to the good old days of DVD buying, getting new releases early and uncut from the States while simultaneously taking my pick from the cheap deals for UK catalogue titles that are available online. Now, if only somewhere had a version of Gladiator that wasn’t shit…

Best AV Upgrade I Ever Got

GlassesI’ve known that I’ve needed glasses for some time, ever since I found myself struggling to read the whiteboard in school about ten years ago, and as I’ve found it increasingly impossible to read football scores and news tickers on the TV, I finally took the plunge last week. It turns out that my eyesight didn’t even meet the DVLA standard, so if I was taking my driving test today I’d have failed it. Oops…

The first night I had them I watched Hot Fuzz on Blu-ray, which has been noted as being particularly handsome but failed to blow me away when I dipped in for a look, and the difference was night and day. What were once flat-looking skin textures were suddenly beautifully flawed and pitted, and I could see individual hairs or threads in clothing. Since then I’ve watched several HD films and played some of this generation’s most beautiful games, and I frankly can’t believe that it took me this long to get my eyes checked out.

Seriously, if you have any doubt about your eyesight, get an eye test. It might not be your TV that’s the weak link in your setup.

Of course, Freeview looks like compressed arse now, so it looks like Sky HD or Freesat is on the agenda again. You win some, you lose some.

Building My Games Room

When I moved house back in March, the opportunity came up to forgo one large bedroom in exchange for two smaller ones, and given that most gamers would love a dedicated room for their televisual pursuits, I went for it. I didn’t actually own any furniture of my own, though, least of all storage for my large collection of games and DVDs, so there was some necessary investment there.

First order of business was a TV stand, and I went for this glass model from Levv. I actually paid a little less than what it’s going for now – just under £60, if I remember correctly – but it’s still excellent value and is a nice stand. Just don’t expect any help when it comes to assembly, because the instructions aren’t great.

Games Room TV

I’ve recently added a dedicated Blu-ray player, a Samsung BD-P3600, to the mix, mainly to reduce wear on the PS3’s drive but also to give me access to region B stuff in these times when it’s suddenly more expensive to import films for my US PS3. It’s also faster and quieter than a PS3 and shares many of its media features, which is nice. I took the opportunity to jettison my faithful old Logitech sound system for an Onkyo TX-SR507, which has four HDMIs and handles all the new HD audio formats, and a set of Tannoy SFX 5.1 speakers. I’d been wanting to upgrade that for a while now and this seemed like a good time. With the Blu-ray player I was fast running out of HDMI inputs on the TV anyway, so it saves me finding a bigger HDMI switch as well.

I’m seated on a two-seater cream leather sofa, which I paid a whole £20 for from a friend. Certainly not the most comfortable I’ve ever sat on, but more than workable and fits nicely into the room. And just to tie it all together I’ve got a framed BioShock lithograph on the wall.

Games Room Overview

Probably the biggest problem that needed fixing was disc storage. Previously my games and films had been either three deep in a repurposed bookcase, three high on a shelf above my TV, or in a modified cupboard with shelves that had literally collapsed under the weight of the old games and systems. I’m only keeping games that are playable on current systems immediately accessible in addition to my DVDs and Blu-rays, and if I’m allowing room to grow it meant that I needed space for around 1,000 discs. It’s pretty hard to find anything of that size, and buying a few of Ikea’s finest would quickly get expensive. Continue reading Building My Games Room

IR2BT: Infrared Control for the PS3

The PS3’s lack of an IR port is a problem that I’ve moaned about before, and I’m certainly not the only one. When you have excellent universal remotes that cost anything up to and beyond £200 and control dozens of appliances, from the TV and DVD player to the 360 and the lighting system, it’s not that appealing to have to spend £20 on a hulking great Bluetooth remote that isn’t even backlit.

Enter the IR2BT.

IR2BT

This isn’t the first way around the problem that I’ve tried. I bought a Darklite, which works mostly but co-opts the PS3’s first controller port, which is problematic for some games that require the controller to be there, and can’t fast forward and rewind any movie with BD-Java, which is a significant number of modern releases. Any one that has a loading screen before the menus load, essentially.

The IR2BT is notable as a Bluetooth-enabled way around Sony’s oversight that provides all the functions of the official remote. It’s a smallish box (size comparison here) with an IR receiver and a Bluetooth transmitter. All it does is translate the old PS2 IR codes – which any universal remote should support in some form – into Bluetooth for the PS3, and it’s even already in the Logitech Harmony database. That’s all most of us universal remote owners want, and it’s an elegantly simple way around the omission. Continue reading IR2BT: Infrared Control for the PS3