We already know Nvidia graphics processors can do more than play games. Thanks to Nvidia’s CUDA architecture, GeForces can be used for tasks ranging from game physics acceleration to video transcoding. Today, we’re going to look at another item in the CUDA bag of tricks: video enhancement.
Chances are you may not have heard of MotionDSP: it’s a Silicon Valley start-up that’s made a business out of improving video quality for security firms and government agencies thanks to its Ikena software suite. You know those CSI moments in movies and TV shows when a video is being analyzed, and with the touch of a button, the image can be zoomed and enhanced to reveal the identity of the bad guy? That’s the kind of software MotionDSP produces.
MotionDSP made its first foray into consumer products with FixMyMovie.com. That tool brought some of the firm’s video enhancement algorithms to mainstream consumers, who are used to working with low-quality video shot with devices like mobile phones. FixMyMovie is no more, however, and in its place MotionDSP has launched vReveal. Like FixMyMovie before it, vReveal is designed to bring the power of enterprise-grade video enhancement software down to consumersbut with a twist.
Consumer apps need to support consumer hardware, and to that end, MotionDSP went to great lengths to refine its algorithms as much as possible for mainstream configurations. Then it went one step further by partnering with Nvidia to build in CUDA support, with the intent to vault vReveal performance to new levels. The pairing seems like a natural fit, since it should theoretically mimic the performance advantages of other GPGPU apps like Badaboom’s video transcoder.
vReveal is not a video editor. It doesn’t compete with iMovie, Adobe Premiere Elements, or even Windows Movie Maker. Instead, vReveal is a video enhancer, offering features not found in traditional video editors. The program’s interface is fairly straightforward, and you’ll feel right at home if you’ve ever used Google’s Picasa.
So, what makes vReveal special? Here’s a breakdown of its different features:
- Clean Removes visual artifacts induced by low-quality image sensors. Noise from dim filming conditions can be cleaned up, too, as can macroblocking caused by compression algorithms.
- 2x Resolution This is the big one. MotionDSP claims vReveal is the only consumer app with “super-resolution” capabilities, which is basically a fancy marketing term for advanced resizing algorithms. Other programs use various interpolation methods, but vReveal relies on adjacent video frames to enhance the image. By comparing the contents of previous and following frames, 2x Resolution is able to enlarge a video more accurately and fill in the new pixels.
- Sharpen It does exactly what you’d expect: sharpen object edges and reduce video blur.
- Auto Contrast Once again, the name is pretty self-explanatory. This feature will automatically improve washed-out or overly dark content.
- Stabilize By cropping a bit of the image on all sides, the software produces a more stable final picture. This feature is similar to image stabilization options in cameras and other video software.
- Fill light Brightens up the foreground of a video in the event of an underexposed subject.
- CUDA support Accelerates many enhancement effects, offloading work from the CPU onto compatible GPUs to improve performance. Currently, the software lacks support for SLI multi-GPU configs and G80-powered video cards (like the GeForce 8800 GTX, GTS 320, GTS 640, and Ultra). Support for those hardware configs may make it in down the line, though.
- Batch modification vReveal can modify and export a series of video files in order to save time.
- YouTube uploading Exports videos directly to YouTube.
- Broad file format suppport With the appropriate DirectShow codecs installed, vReveal should import just about any video under the sun, including 3GP, MP4, and MOV.
As a mainstream application, vReveal does have some limitations. After all, MotionDSP wouldn’t want to cannibalize Ikena sales. You can import video with any resolution you want, but vReveal only lets you apply enhancements to videos with a vertical resolution of 576 lines. The 2x Resolution feature is effectively limited to clips with resolutions of 352×288 and below, which is fine for most camera phones that shoot at 320×240. vReveal’s “super-resolution” algorithm also uses fewer frames than Ikena’s, further limiting the extent to which you can blow up images.
Our testing methods
We had intended to use a Phenom-based system with a GeForce 8800 GTX to test vReveal, but the previously mentioned G80 limitation sunk those plans. Instead, we did our testing with a GeForce 9400M-powered Apple MacBook and a GeForce 8800 GT-based desktop system. As always, we did our best to deliver clean benchmark numbers. Tests were run at least three times, and the results were averaged.
Our test systems were configured like so:
|Processor||Intel Mobile Core 2 Duo P7350 2.0GHz||Intel Core 2 Duo E6400 2.13GHz|
|System bus||1066MHz (266MHz quad-pumped)||1066MHz (266MHz quad-pumped)|
|Motherboard||Apple Mac-F42D89C8||MSI P965 Platinum|
|Chipset||Nvidia GeForce 9400M||P965 MCH|
|Chipset drivers||ForceWare 179.48||INF update 18.104.22.1689, Intel Matrix Storage Manager 8.7|
|Memory size||2GB (2 DIMMs)||4GB (4 DIMMs)|
|Memory type||2x 1GB Hynix DDR3-1066 SDRAM||2x 2GB Corsair ValueSelect DDR2-667 SDRAM|
|CAS latency (CL)||7||5|
|RAS to CAS delay (tRCD)||7||5|
|RAS precharge (tRP)||7||5|
|Cycle time (tRAS)||20||15|
|Audio||Realtek ALC885||Creative Sound Blaster X-Fi XtremeGamer|
Nvidia GeForce 9400M
with ForceWare 179.48 drivers
|Zotac GeForce 8800 GT Amp! Edition
with ForceWare 182.06 drivers
|Hard drive||Fujitsu 160GB 5400RPM SATA||2x Western Digital Caviar SE16 320GB SATA in RAID-1 mode|
|OS||Windows XP Professional||Windows Vista Home Premium x64|
|OS updates||Service Pack 3, latest updates at time of writing||Service Pack 1, latest updates at time of writing|
We used the following versions of our test applications:
- MotionDSP vReveal 1.0
The tests and methods we employ are usually publicly available and reproducible. If you have questions about our methods, hit our forums to talk with us about them.
What can vReveal do?
Although vReveal deals with video, we can better study its touch-up features using still screenshots. The only feature that really must be seen in motion is image stabilization. We’ve resized our shots of the original clips to provide a more direct comparison with their higher-resolution, enhanced counterparts.
Unless otherwise noted, all of these videos were shot with a Nokia N82 camera phone at a resolution of 320×240 at 15 frames per second. After all, it wouldn’t make sense to put vReveal through the paces with footage from a high-defintion camera, and camera phones are some of the most popular devices for capturing video on the go. First up is a video of some racked billiard balls:
Enhanced with Clean, 2x Resolution, Sharpen, and Auto Contrast
Right off the bat, we can see how vReveal can clean up a typical video from a handheld device. The original video is rife with macroblocking (also known as tiling) as well as a lack of definition around the hard edges of the billiard balls. The entire image is also a little desaturated, which is a common issue with lower-quality imaging sensors.
The enhanced video has noticeably more impact thanks to the automatically adjusted contrast, and the cleaned up macroblocking and sharpened edges have added definition to the image, as well. vReveal’s 2x Resolution algorithm has also improved clarity, particularly with the numbers on the balls. While the video still won’t win the Oscar for best cinematography, vReveal’s got it looking better than it did before. Next up, let’s expose my unabashed fandom for Batman comics:
Enhanced with Clean, 2x Resolution, Sharpen, and Auto Contrast
We saw a hint of this with the numbers on the billiard balls, but vReveal does a surprisingly good job of cleaning up text in low-quality videos. The combination of vReveal’s 2x Resolution algorithm and contrast adjustment generally makes text more legible, and it makes lettering pop out instead of getting lost in macroblocking. I don’t know who would normally shoot a video of comic books, but my Batman graphic novels show what this software can do with a more complicated scene.
vReveal’s algorithms can only go so far to compensate for low-resolution videos, but the text is definitely improved on the covers for The Killing Joke and Dark Victory. High contrast areas receive the most love, with the white lettering and detail in Commissioner Gordon becoming more noticeable. Once again, the enhanced picture is more vibrant than the original.
Enhanced with Clean, 2x Resolution, Sharpen, and Auto Contrast
Behold my keyboard in all of its grody glory! Thankfully, the 320×240 video masks how dirty it really is, and not even vReveal can restore that. The improved contrast is the most noticeable enhancement to this video, but Clean, Sharpen, and 2x Resolution also make hard edges appear more defined. The bottom edge of the space bar (going from black to silver) looks noticeably better, as does the line below it where the wrist rest meets the keyboard. vReveal wasn’t able to restore some of the smaller symbols, although the larger lettering looks slightly clearer.
Our final clip is not one I shot myself. It’s a short 640×480 video of a dog chewing on a bone while lounging on the couch. What a life.
Enhanced with Clean, Sharpen, Auto Contrast, Stabilize, and Fill Light 50%
Because of this original video’s resolution, we were unable to use the 2x Resolution algorithm. That’s all right, though, because this clip’s real problem is the dim lighting. There’s a large amount of noise in the picture, and the entire image is underexposed. Clean and Sharpen cleared up a lot of the artifacts, but the image was still too dark, even after Auto Contrast did its thing. To help, we turned to the Fill Light feature, which did a good job of bringing out detail in the foreground without completely blowing out the brighter background.
The final image has noticeably more detail than the original, though vReveal isn’t able to do anything about the extremely dark areas near the dog’s bodythe source video just doesn’t have enough information. You might notice some slight cropping in the enhanced image, and that’s due to the Stabilize feature we used for this video. The resulting clip didn’t have subtle camera shakes anymore, although that came at the cost of some of the picture near the edges. That’s certainly a worthwhile sacrifice, though.
Once again, we’re left with a video that’s been improved just about as far it can be with software. To improve the scene any further, the video would probably need to be shot again with better lighting.
Of course, one of the standout features of vReveal is its ability to leverage the power of Nvidia GPUs to improve performance. With that in mind, the question becomes: how does GPU-accelerated rendering affect performance?
vReveal provides an easily accessibly toggle for GPU acceleration, so benchmarking was surprisingly easy. We simply rendered our clips out to Windows Media Video format using the previously noted enhancements, and we measured encoding times with both GPU assistance and software rendering only. vReveal reported the final encoding time after each job, so there was no reason to break out the stopwatch.
Something to keep in mind is that these clips were all very short. The keyboard clip was only seven seconds, the comics video was nine seconds, and the billiards one was the longest at 10 seconds. Meanwhile, the clip of the dog lounging on the couch was the shortest of all at only five seconds long, but it had double the resolution and a higher frame rate. You’ll see shortly how that affected performance. The first three clips all used identical enhancement settings, so they provide an interesting look at how well CUDA can accelerate the same features across different clips. Let’s take a look at the MacBook test system first:
Color me surprisedwhatever color that may be (maybe lilac). For the first three videos, GPU-assisted encoding increased performance by an average of roughly 33%. Moving on to the dog-on-the-couch video, we also see some interesting results. Despite being the shortest clip of the bunch, it takes around twice as long to render, likely due to the higher frame rate. Also, if you remember, the couch dog clip couldn’t use the 2x Resolution enhancement, and we had Stabilize and Fill Light enabled. Even with different settings and a higher-quality source video, our integrated GPU managed to provide an 18% boost over software rendering. That’s pretty impressive for a graphics chip with only 16 stream processors, especially when you consider the GeForce GTX 280 and 285 have 240 of those.
Now let’s see what sort of performance boost an inexpensive GeForce 8800 GT with 112 SPs provides over the 9400M:
Perhaps the first observation to get out of the way is that our two test systems’ CPUs performed almost identically. The real star of the graph, however, is the GeForce 8800 GT, which managed to decrease encoding times by around 75% across the board. Seven times the stream processors doesn’t net seven times the performance, and diminishing returns have to kick in somewhere. Nevertheless, it’s impressive to see how well CUDA scales from an integrated graphics solution to a fairly modest discrete graphics card.
I’m also relieved that users can reap noticeable performance gains in CUDA applications without having to break the bank. (A GeForce 9800 GT, which is essentially the same as the old 8800 GT, can be had for as little as $100 at Newegg.)
The Intel Core 2 Duo is no slouch in terms of rendering performance, so it’s impressive to see even a lowly integrated graphics chipset improve performance by such a noticeable margin. But what sort of impact does GPU-assisted video encoding have on CPU usage and multitasking in general?
Software rendering with 2GHz Core 2 Duo P7350
Software rendering with 2.13GHz Core 2 Duo E6400
With GPU assistance disabled, vReveal managed to max out both cores during video rendering, just as it should. Getting anything else done while encoding was a pain, and even web browsing was noticeably affected. Unless you go into the Task Manager and change vReveal’s priority (which can only help so much), it’s a safe bet you won’t be using your computer while it’s rendering movies.
GPU-assisted rendering with GeForce 9400M
GPU-assisted rendering with GeForce 8800 GT
You might notice differences in the load balance between Windows XP and Vista, with the XP machine more evenly distributing the work, while Vista places the brunt of the load on one core and uses the secondary core more sparingly. This is likely due to Vista’s new thread scheduler, rather than anything vReveal is doing, and it could result in a better multitasking environment.
Evidently, vReveal is using the GPU to do some of the CPU’s work instead of loading up both chips fully. Plenty of users will no doubt appreciate the ability to use their computer while it’s rendering, but I would love to see a high-performance mode that would not only use the GPU for encoding, but also maximize CPU cycles, as well. That assumes, of course, that fully utilizing both the CPU and GPU at the same time could substantially improve rendering times.
MotionDSP has definitely brought an interesting product to market in vReveal. Current mobile video devices certainly produce low-quality content, and by offering a stripped-down version of its enterprise tools, MotionDSP gives users access to video enhancement technology that would otherwise be out of their price range. MotionDSP also managed to package vReveal into a simple, straightforward user interface. And there’s no question that the technology worksvideos captured from low-quality sources look better after being run through the app.
The software’s limitations are a bit disappointing, though. The resolution cap on the product’s most compelling featurethe 2x Resolution filteris a major handicap that could prevent many users from getting the results they desire. Old camcorder videos in standard-def format cry out for this sort of enhancement, but that wedding video probably won’t benefit from vReveal’s best filterunless it was shot on a camera phone, which raises all sorts of other personal issues. Beyond that, the restriction of vReveal’s remaining image enhancement features to SD video really limits its relevance to the short term. Even camera phones are moving to resolutions of 640×480 and beyond, while YouTube (vReveal’s primary video sharing destination) already supports high-definition content. And most of those other filters are already available in mainstream video editing suites.
Bottom line, vReveal’s two biggest virtues are its almost-magic 2x Resolution filter and its speedy GPU-based video rendering. Those features, along with its batch-processing capabilities, could make it a decent addition to a video editing toolbox that already includes a full-featured program like Premiere Elements or iMovie. In light of its limited role and the resolution caps involved, though, the $49 price of entry seems a little high to me. MotionDSP already has plans for an enhanced version of vReveal with higher-resolution video support, but as one might expect, that will come at an added cost. The higher price tag could put vReveal into direct competition with all-purpose video editing suites, which again seems a little steep for a limited-use consumer application.
As for Nvidia’s CUDA, there’s no question GPU optimization can yield performance gains in the right applications. Of course, since this is image processing, it’s not very far afield from the GPU’s original mission. Perhaps the biggest surprise for us was the extent to which an integrated graphics chipset like the GeForce 9400M can improve performance over a dual-core CPU alone. This reality could open the door to CUDA (and, in the future, OpenCL) applications on a variety of entry-level computers. And a mid-range card like the GeForce 8800 GT or 9800 GT can provide an even more substantial boost in CUDA applications. We’d like to see more of this sort of thing soon, please. For now, though, we’ll have to get by with the handful of apps like this one that demonstrate GPU computing’s potential.