Four times faster than today's top NVidia and AMD solutions. What is it? Sandy Bridge's Secret Weapon: Quick Sync. That is the name of last year’s Tom’s hardware
article . "Why Quick Sync is Intel's secret weapon" - and this is already a techradar
publication . In fact, there is nothing secret about Intel Quick Sync Video technology (Intel QSV), but most unfortunately do not have complete clarity about what it is, where it is, and, most importantly, how to use it effectively. Not only is a simple user, but even almost any employee of Intel finds it difficult to answer these questions,
especially if you wake him up at night. Let's try to fix it, and let's start with the basics.
In the Russian spelling, the abbreviation Intel QSV looks like “ICS”, which adds even more uncertainty - “X”, and also “to”? Therefore (and not only because of this) it is better to simply translate the name.
Full translation - "Quick Video Sync." What is a "video" - you probably know yourself. "Synchronization" is the ability to convert video from the original "desktop", i.e. high resolution of formats in formats supported by mobile devices and video hosting sites. Although, this is not the only possible use of QSV.
The adjective “fast” here reflects the fact that in all independent transcoding tests video QSV significantly, at times, wins not only software coding on the CPU, but also the hi-end GPU!
')
Intel Quick Sync Video is a marketing term for hardware decoding and encoding video content in H.264 / MPEG-4 AVC, VC-1 and MPEG-2 formats (currently only decoding), implemented in Intel's embedded GPUs from ultrabooks to servers starting from the second generation of Core microarchitecture (Sandy Bridge).
That is, you can transcode video from DVD or Blu-Ray.
In addition to general-purpose executive devices (Execution Units or simply EU), Intel's integrated GPUs have a special hardware module, the Multi-Format Codec Engine (MFX), which implements video decoding and encoding:
Such a fixed hardware solution not only speeds up video processing, but also unloads the CPU, and also reduces system power consumption.
In this case, the decoding is carried out entirely in the above-mentioned hardware module,
and coding occurs in two stages: one on the GPU actuators, the second - in hardware.
On the above slide from the presentation at the Intel Developer Forum you can see where the coding stages are done. Once again, everything happens on the GPU, i.e. in hardware, and “Hybrid HW / SW solution” means only the fact of using programmable EU GPU blocks.
It should be noted that these two coding stages are well conveyed, i.e. while MFX hardware processes one frame,
The EU, who have completed their part of the work on this frame, are already processing the following to transfer it to the hardware,
which naturally improves overall system performance.
In Ivy Bridge processors, that is, in the second version of Quick Sync, Sandy Bridge hardware modules were improved - the speed and quality of coding was improved, support for ultra-high resolutions up to 4K Video was added. The system is even capable of decoding multiple Quad HD video streams simultaneously.
To find another appropriate monitor ....
There were no tests for working with QuadHD-like resolution, but the usual tests showing the speed of Quick Sync are more than enough for statistics.
For example, last year’s experience
vilianov Happy with Quick Sync .
But relatively recent information - Anandtech
reviews the Intel Ivy Bridge (Core i7 3770K with HD Graphics 4000, Quick Sync version 2) and compares the transcoding speed of the Blu-Ray source on the iPad:
The measurement goes in frames per second, and the performance of the QSV Ivy Bridge is compared not only with external GPUs, but also with the Core i7 2000K (Sandy Bridge with the first generation QuickSync - Intel HD Graphics 3000 on board), as well as Handbrake - an open source software solution not using QuickSync.
Also note that the advantage of QuickSync is especially noticeable when recoding to low resolutions:
At the same time, the anecdote “I
type at a speed of 1000 characters per minute, but such garbage turns out to be “ inappropriate here - the coding quality, although slightly inferior to the purely soft one, but always wins, or, in the worst case, goes on par with any other GPU coding. There are many pruflinks with a discussion of quality (here is a
good example in Russian), we note only that quality is almost always evaluated subjectively, “by eye”, and, moreover, it essentially depends on the specific coding program.
Access to hardware-based video processing QSV is through the Intel HD graphics driver, the interface to it is non-public, primarily because it is not constant — it depends on the specific hardware and driver version. Although a few individual software companies, if necessary, under a special agreement with Intel, get access to the coveted API.
All other companies wishing to take advantage of Quick Sync Video can do this (and they do, of course) using the special SDK -
Intel Media SDK , which provides a fixed interface for working with video. At the same time, automatically, behind the scenes, MSDK uses all the features of Intel hardware acceleration for each given system: Quick Sync, if available, otherwise - software programs optimized for a specific CPU.
In general, a great thing. Yes, and free ...
Therefore, in the list of companies using MSDK, you can find such famous companies as MainConcept, Nero, Corel, CyberLink ...
But, not all applications are equally useful, i.e. productive (you know, from the same bricks, you can build different houses). Here is an interesting and useful performance comparison from the same
vilianov - "
Faster is where "
So, if you want the video to be recoded just as quickly from yours, this requires:
1. Availability of an integrated GPU in the processor with Quick Sync support.
As already mentioned, the CPU must be no older than the second generation of the Core microarchitecture (Sandy Bridge).
In addition, its integrated graphics should also be second generation - starting with
Intel HD Graphics 2000 . This is important because the initial Sandy Bridge models sold under the Pentium brand have “non-dimensional” Intel HD Graphics, which does not support Quick Sync.
To date, Quick Sync support for mobile and desktop computers is present in Intel HD Graphics 2000, 2500, 3000 and 4000, and for servers in the P3000 and P4000 models.
2. Support GPU chipset (motherboard) .
In order for the GPU to transfer data to the south bridge of the motherboard - that is, ultimately, to the display port (DisplayPort), the chipset must support the Flexible Display Interface (FDI) - the “bridge” between the GPU and the display. An up-to-date list of chipset and CPU models with FDI support is in the corresponding
article on wikipedia
By the way, this requirement does not have a specific relationship to the support of Quick Sync Video, but is simply a necessary condition for the operation of Intel HD Graphics in the system.
And of course, if the system uses an external graphic card that disables the integrated graphics of the CPU, it is generally impossible to use Quick Sync. Solutions to this problem for some cases:
- For laptops - use the ability to switch the graphics system from external to internal (switchable graphics)
- For desktop computers, connect a second monitor to the integrated graphics port, allowing it to be used in the BIOS and making it primary.
- Use LucidLogix Virtu graphics virtualization solution
3. Video driver support.
Today, QSV is supported by Windows 7, Windows 8 and Mac OS Mountain Lion drivers.
It is also possible to install the appropriate Windows 7 drivers on Windows Server 2008 (with the Desktop Experience component installed).
The latest drivers for Intel HD Graphics (by the way, not only for the systems mentioned above) can be found
here .
To make sure that you have an up-to-date driver that correctly understands your hardware, check that the library has a library like
libmfxhw * .dll . If it was found, for example,
libmfxhw64-s1.dll in the case of a 64-bit system with a Sandy Bridge processor, everything is OK.
4. Software support.
A current list of recommended Intel commercial Windows applications using Quick Sync via MSDK is
here .
There is also an open source application -
Quick Sync Decoder , which uses Quick Sync decoding of H.264, MPEG2 and VC-1 video through the ffdshow filter.
OS X Mountain Lion QSV supports AirPlay Mirroring and QuickTime X.
But, firstly, there are an order of magnitude more video processing applications in nature than in the above list. And some of them may well use QSV, not reporting this out of modesty. And secondly, the declared support for QSV and its actual engagement with your task are two big differences. In many applications, to activate QSV you need to put a tick in a completely unexpected place or change some non-obvious setting, which you may need to look for if for some reason QSV does not work.
All this leads us to the task - to check whether the hardware acceleration was actually used when processing your video.
For applications from the list above, as well as those that you suspect of using the Intel Media SDK (evidence - the application uses the library libmfxsw * .dll), you can do it like this:
- Download and install the Intel Media SDK
- In the folder “<install-folder> \ tools \ mediasdk_tracer \” we find and run the MSDK profiler - tracer.exe

- We start logging with the Start button, we start video processing in your experimental application, after a few seconds we stop logging by pressing Stop.
- In the log file specified in the Output File field, look for the lines
• MFXInit.impl = HARDWARE or MFXInit.impl = AUTO
• MFXInit.status = MFX_ERR_NONE
If they are found - everything is in order, QSV is used. Otherwise, no, or you are mistaken, and the application does not use MSDK.
In the latter case, another check performed by the iron will help dispel doubts:
- Download and install Intel Graphics Performance Analyzer (GPA)
- Launch GPA Monitor, then click the right mouse button on the GPA Monitor icon in the system tray to open the context menu and select Media Performance in it:
The window that opens shows the load of the executive devices (EU) and the hardware video processor (MFX) of the Intel GPU.

- We start video processing in your application, and in real time we look at the tables using the components of the Intel GPU. Or - do not look, but save this data in the log by pressing Capture. If the lines “decoding” (DECODING) and “encoding” (ENCODE) flash in the tables or log file, as shown below, it means that QSV is used.

How complicated it all is ... but it’s not easier Can. In all ultrabooks, Quick Sync Video works initially by definition, and using the free Intel MSDK you can easily write an application that uses QSV by default.