Guide to HEVC/H.265 Encoding and Playback

For years, H.264 has been the go-to video compression standard. Whenever you download a film or TV show, watch a Blu-ray, view HDTV broadcasts, or stream something from various sites and services, there’s a very good chance the video stream you’re watching has been encoded with H.264.

H.264 is a great compression standard for a number of reasons. It provides very good quality at relatively low bitrates, and its widespread use means it’s supported by essentially every video playback device made in the past five to ten years. It’s also very versatile, not only allowing compression to small file sizes, but also to high quality, high bitrate files that are suitable for use on Blu-ray discs.

While H.264 is doing a pretty good job of delivering compressed videos to users, there’s a better standard out there that offers similar quality at even smaller file sizes. The standard is called HEVC, or High Efficiency Video Codec, and it first appeared in 2013 as a true successor to H.264. For this reason, HEVC is also known as H.265, or MPEG-H Part 2.

HEVC’s main advantage over H.264 is that it offers roughly double the compression ratio for the same quality. This means that a video file encoded with HEVC can occupy half the space of its H.264 equivalent with no noticeable change in quality, or the same amount of space with improved quality. Sounds pretty good, right?

HEVC is able to compress files to a greater extent than before by evolving upon the H.264 standard. In both of these standards, motion compensated prediction is used to find areas that are redundant within a single frame or in the frames that follow. When redundant blocks of pixels are identified, they are encoded by referencing another area in the same or following frames. In H.264, these blocks can be up to 16×16 pixels in size, but big gains in compression were made by increasing this to 64×64 in HEVC.

Other improvements also help HEVC achieve greater levels of compression, including better variable-block-size segmentation, improved deblocking and motion compensation filters, sample adaptive offset filtering, and better motion vector prediction and precision. This page here from the x265 group has a great explanation of these terms and how it can improve HEVC’s efficiency.

As HEVC is relatively new to the scene, it’s not nearly as compatible with existing playback devices as H.264. Many such devices have dedicated hardware for decoding H.264 streams, while equivalent hardware for decoding HEVC is significantly less common. That’s not to say it’s impossible to decode HEVC on today’s devices – software playback is still possible on a wide variety of hardware, and some hardware decoding solutions exist – but something that can play H.264 is not necessarily HEVC-compatible.

Here’s a quick rundown of well-known hardware that includes dedicated HEVC decoding blocks, which definitely support efficient HEVC playback:

  • Intel 6th-generation ‘Skylake’ Core processors or newer
  • AMD 6th-generation ‘Carizzo’ APUs or newer
  • AMD ‘Fiji’ GPUs (Radeon R9 Fury/Fury X/Nano) or newer
  • Nvidia GM206 GPUs (GeForce GTX 960/950) or newer
  • Other Nvidia GeForce GTX 900 series GPUs have partial HEVC hardware decoding support
  • Qualcomm Snapdragon 805/615/410/208 SoCs or newer. Support ranges from 720p decoding on low-end parts to 4K playback on high-end parts.
  • Nvidia Tegra X1 SoCs or newer
  • Samsung Exynos 5 Octa 5430 SoCs or newer
  • Apple A8 SoCs or newer
  • Some MediaTek SoCs from mid-2014 onwards

As you can see, most desktop hardware released in 2015, and most mobile hardware from late 2014 onwards, supports dedicated HEVC playback. Hardware designers have been more focused on getting HEVC decoding blocks into mobile hardware first, as the CPUs in these products typically aren’t fast enough for software decoding. Support in desktop hardware has been marginally slower as most desktop-class parts are powerful enough to decode HEVC without dedicated decoding blocks.

If you have a computer or device that doesn’t include the aforementioned hardware, that doesn’t mean you won’t be able to decode HEVC. PCs, even those with entry-level CPUs from several years ago, shouldn’t have much trouble software decoding HEVC videos. One of my HTPCs equipped with a $50 Intel Celeron ‘Ivy Bridge’ CPU from 2012 is more than capable of decoding HEVC, and I’ve even achieved smooth playback on Intel Bay Trail and Qualcomm Snapdragon 801 devices in some circumstances (albeit at high CPU utilization).

As a general rule of thumb, if you have an older PC you’d describe as “very slow” it probably won’t be capable of HEVC playback. Anything else will probably suffice.

Where you won’t find HEVC playback support is in many dedicated media players on the market today. These products either don’t support HEVC hardware decoding, have too low power SoCs to support smooth software playback, or only support a small handful of popular video formats without the ability to run wide format playback software like VLC.

Here’s a quick rundown of popular media playing devices that don’t support HEVC:

  • Google’s Chromecast (first and second generations)
  • Apple TV (although some reports suggest 1080p HEVC playback is possible by running VLC on a 4th-gen model)
  • Roku (third-gen models and earlier)
  • Amazon Fire TV (2014) and Fire TV Stick
  • Any Western Digital WD TV products
  • All PlayStation consoles
  • Xbox 360

And here are the media players that do support HEVC:

  • Roku 4
  • Amazon Fire TV (2015)
  • Xbox One

This isn’t an exhaustive list, but you can clearly see that there’s just a handful of very recent devices that support native HEVC playback. The Xbox One is the only console to support playback, although support for HEVC was added through a software update, presumably utilizing software decoding.

So while the benefits of HEVC encoding are clear, playback is essentially restricted to PCs, high-end smartphones and tablets, and a very small range of media players and consoles. At this point in time, compatibility is a disadvantage to encoding your media library in HEVC.

As for software that can playback HEVC-encoded files, there are many options out there. On Windows 10, you can natively play HEVC videos in the default Films & TV app or through Windows Media Player. Alternatively, you can use VLC or MPC-HC for playback, which support older operating systems, or popular media center apps like XBMC/Kodi (version 14 onwards) and Plex Media Player (not Home Theater).

If you’re running Mac OS X or iOS, VLC is your best bet. On Android devices, you’ll be able to play back HEVC files using MX Player through software decoding if your device is fast enough, or if it (and the version of Android) supports native HEVC playback. Note that some devices have HEVC decoding blocks in their SoCs but don’t support native playback at this time.

Microsoft’s Plumbago Digital Notebook App Aim to Retire Pen and Paper

Microsoft's Plumbago Digital Notebook App Aim to Retire Pen and Paper

Looking for an alternative to pen and paper to scribble important notes on the go? US-based technology giant Microsoft heard you and has offered a tablet-based app recreating the analogue appeal of writing.

For those who carry high-tech digital devices but prefer taking notes with pen or pencil and paper,Microsoft has launched Plumbago – a new app for Windows 8.1 and 10 tablets released through the Microsoft Garage.

Plumbago is a digital notebook with technology that smoothens handwriting so your scribbles are easier to read later. It also contains realistic ink technology and other features like an optimised tool picker designed to reduce the number of taps to access its features, notebook covers and paper selector, Microsoft said in a blog on Friday.

“We were thinking about how to make a great experience that really took advantage of the Surface and its pen, and could replace a physical notebook,” Gavin Jancke, general manager of engineering in Microsoft Research, said.

“There are tactile, perceptive and visual properties about a real notebook that are hard to displace. So our goal was to create a neat Windows app using technology that could potentially displace those physical and perceptive artefacts,” Jancke added.

The app has several kinds of papers to choose from, such as yellow rule – with the familiar pink margin line – as well as grid, music sheets, among others.

The app let users have up to a 25-page virtual notebook. To flip the page, a user needs to just swipe the screen to flip the page over – just like with the real notebooks.

It also has an option of choosing between pen, pencil and highlighter.

“This pen optimised experience also responds to the pressure of the pen. The harder you push on the surface, the deeper the drawing tool lays onto the paper” Jancke noted.

Firefox 2.0 for iOS Brings 3D Touch Support, New Password Manager, and More

Firefox 2.0 for iOS Brings 3D Touch Support, New Password Manager, and More

Mozilla has updated its Firefox Web browser for the iOS platform. Bumping up the version number to 2.0, the company says that Firefox for iOS now supports Apple’s 3D Touch feature while also getting other new features including an improved password manager.

The Firefox 2.0 for iOS update has enabled 3D Touch on the Web browser. 3D Touch as you may recall is a feature that was introduced by Apple with the iPhone 6s and iPhone 6s Plus. It enables the handsets to gauge different pressure levels and perform a range of actions. Pressing hard on the Firefox icon, Mozilla says, will give users quick access to open the last bookmark, open a new private tab, and open a new tab, the company said.

In addition, Firefox 2.0 for iOS also supports Peek and Pop features, both of which leverage on Apple’s 3D Touch display. Firefox allows users to quickly preview a tab and add things to reading list, copy URLs, and perform some other actions.

Additionally, opened tabs now also show up in Spotlight Search results on the home screen. You can also search for text in a Web page with “Find in Page” feature. You can do so by long-pressing on a text item or from the Share menu.

Users will find changes to the password manager in Firefox 2.0 for iOS useful too. The app now allows you to edit the saved logins and do other manipulations. According to the changelog provided by the company, users can now search, view and edit local or entries saved in Firefox account filtered from the ‘Logins’ setting option.

To recall, Firefox was released to iOS platform in September last year. The company has been since actively feeding updates to the Web browser to keep it competitive against other popular Web browsers.

Microsoft Unveils Windows 10 Insider Release Preview Ring for PCs, Mobile

Microsoft Unveils Windows 10 Insider Release Preview Ring for PCs, Mobile

Microsoft on Wednesday introduced new test ring dubbed Windows Insider Release Preview ring for both PC and mobile. The company says that the new rings have been debuted to focus on Insiders that will receive the current build but will continue to receive early access to updates, application updates, as well as driver updates.

The Redmond giant in addition to also announced release of Build 10586.107 for Windows 10 Mobile Fast Ring Insiders.

The three new Windows Insider rings introduced include Fast, which will be for Insiders who want access to latest builds but will have to face risk to their devices in order to identify issues, and will be the first ones to provide suggestions; Slow, which will be for Insiders will get early access to builds and feature updates but will have less risk to their devices, and can still want to provide feedback; Release Preview, which is for Insiders who want early access to updates for the Current Branch as well as Microsoft apps, and drivers, but want to face minimum risk to their devices. The Release Preview ring Insiders will be also able to provide feedback to make Windows better.

In a blog post, Gabe Aul, the Corporate Vice President, Engineering Systems Team, also announced the next cumulative update for Windows 10 Mobile Insider Preview Build 10586 which is now available for Insiders in the Fast Ring as Build 10586.107.

The update includes additional fixes for missing tiles where a device could be missing tiles on the Start screen after going through the device out of box experience; improved narrator support for multiple languages, and improvements to the device reset when BitLocker/ Device Encryption is enabled by enterprise policy or by the user.

Recently, Microsoft released a new update (build number 10586.104) for Windows 10 to fix some bugs and also launched a dedicated site to showcases all the features and changes it seeds with the new Windows 10 update.