umpcportal home

Tag Archive | "gpgpu"

Ultra Mobile Video Editing Part 4 – Lenovo S205 / AMD Brazos Video Editing Test


You may recall that I lost a number of days work last week. Test results, screen caps and a whole bunch of text went out the window when I did a factory re-install on the device I was both testing and writing the article on. That will teach me!

The article was Part 4 of the Ultra Mobile Video Editing series and was a detailed look at two Brazos-optimised video editing applications on the Lenovo S205 AMD E-350 device. The results were, in general, quite impressive with both Cyberlink Power Director 9 and Corel VideStudio X4 showing use of the platforms features. In some cases, hardware video decoding and effects rendering was significantly speeded up through use of AMD Brazos features. In some cases, the results weren’t so good. It all depended on the type of output file.

After I lost my work on the reivew I wrote an overview of AMD APP enhancements amd i’ve just updated that with input from AMD and Cyberlink. The key thing to know with the C and E-Series APUs is this AMDs video encoding acceleration subsystem (which used to be called Avivo) which is used by many of the AMD enhanced video editors and converters, is not implemented on the E-350 (or its drivers.) It’s likely to be because it’s actually slower than the CPU but the end result is that there are limits to the enhancements that can be made.You can’t expect General Purpose GPU (GP-GPU) enhancements.

cyberlink pipeline

The diagram above shows the Cyberlink PowerDirector Brazos acceleration process. Note that the encode stage is 100% CPU bound. Actually this Cyberlink diagram is slightly wrong because there are some encode enhancements implemented in specific effects code that has been written to use Open CL/APP by Cyberlink.

videostudiopro

pd screen cap
Corel Video Studio X4 (above) and Cyberlink PowerDirector 9 (bottom) video editing panes.

vs accel optionspd-hw-accel
Click to enlarge. These are the hardware acceleration features in Video Studio (left) and PowerDirector.

Ultra Mobile Video Editing Test Results.

The parameters I’ve set for the project are shown below and you can read about why these parameters have been set here.

  • PC and software to cost less than 600 Euros
  • PC to be less than 1.5KG with 12 inch screen or less.
  • Total camera + PC solution to weigh less than 2KG and cost less than 1000 Euro
  • Source video should be 720p
  • Video sent to YouTube should be 480p minimum
  • Editing solution must include watermarking, overlays, crossfades, and multiple audio tracks.

Testing results. (Summarised from paper notes taken during testing.)

Source file: H.264 720p 8mbps 25fps. Output file H.264 720p 5mbps.  All possible acceleration turned on. System power settings set to ‘always on’ (full power.)

1 Corel VideoStudio X4 managed to do this test in 3.7x real time which, for such a heavy processing job, is impressive. PowerDirector 9 took significantly longer.

2 In this test, the video decoding accelerations and memory transfer accelerations implemented tend to have little effect as the processing is very CPU intensive. Hardware video decoding and memory optimisations start to have a more significant effect where output files are smaller and use a less complex codec. 720p H.264 input and MPEG-2 DVD file output is a good example. Resutls were the same with and without accelerations enabled. Using the AMD System Monitor (V0.91) very little GPU activity was seen.

3 Using Corel VideoStudio, the E-350 CPU was 1.5x faster than the C-50 and 2X faster than an N450 CPU on this specific video encoding test.

4 For this project (480p minimum output size requirement) there wasn’t an output profile on either software suite that supported the required 852×480 output resolution. 852×480 is a favorable resolution for enabling HQ/480p  experience on YouTube.

5 By adding DivX Pro to the Lenovo S205 I was able to create the required output in an AVI container. I was not successful in getting MP3 audio into the container but I’m confident this is possible. Divx Pro is a 19 Euro license. Divx Pro is a similar implementation of MPEG4 to H.264 (MPEG 4 Part 10) The rendering speed was approx 2.2X real time. This was the best result I achieved in all the tests I did and one that proves the AMD E-350 is capable of producing fast results for my specific video editing and upload requirements. Based on this test it appears that Divx Pro is more tunable (for both resolutions and encoding speed) than the H.264 codecs used in these editing suites.

6 I was able to output a 720×576 file with 16:9 aspect ratio (correct when re=sized to 852×480) using Power Director 9. The rendering speed was an impressive 1.8x real time. This option as sub-optimal as some resolution is lost when the rendered file is squashed into a 720-wide frame.

Other notes:

  • The YouTube processes on both Cyberlink PowerDirector 9 and Corel Videostudio X4 don’t support an HQ profile. On Cyberlink, the profiles outpur WMV files which took much longer then H.264 files to output. (Aprox 5.5x real time)
  • VideoStudio took a very long time to start from fresh boot. Over 60 seconds. PowerDirector 9 is about 25 seconds to start up in the same scenario.
  • Both video editing suites were fluid in their editing processes.
  • Power Director has some effects that are implemented in OpenCL for a significant acceleration advantage.

NotebookItalia also did tests (translation) with Corel VideoStudio and got similar results with Corel VideoStudio . We worked together on cross-checking our articles before posting.

Summary

Editing 720p content with these two software packages is quite acceptable for small, in-field projects. Rendering profiles need to be chosen carefully though to get the best out of the system. For my requirements a 720p H.264 file input and a 480p file output for optimal YouTube uploading I found that a combination of Corel VideoStudio and Divx Pro worked best. Hardware and memory acceleration works in this process and with an 8mbps H.264 720p file input and 480p 30fps file output with ‘fastest’ Divx encoding settings and a 2Mbps bitrate. Rendering rate was 2-2.5x real time depending on audio codex setup. (Using high-power ‘always on’ battery settings on the system.) The images below show most of the configuration settings used.

imageimage

imageimageimage

With most of the process being CPU-load though, one wonders what a dual-core N570 CPU would achieve with the same test. I will be looking to get that result added to this report as soon as possible.

Let us all know about your mobile video editing experiences in the comments/discussion below.

Stay tuned for the next part of this series where I will be testing a standard laptop CPU and chipset, possibly an Intel Sandy Bridge system.

Lenovo S205 – Where’s the AMD APP Love? Updated with AMD, Cyberlink Input


I’ve been working on a big ultra-mobile video editing article since last Wednesday that gives you all you need to know about video editing on the Lenovo S205. Unfortunately, I just re-installed the S205 OS and forgot to backup the directory where the draft article was. I’m hoping to recover the file this afternoon but I can at least tell you one thing The Lenovo S205 (and possibly Acer 522) don’t support the important AMD Video Converter (Avivo) software from AMD because they have special driver builds that do not include this layer. The Avivo software, as far as I understand, is the base software on which video encoding software (as in video converters and video editing software) that are AMD APP-enabled, hook into to get a GPU hardware boost from the E-350 APU for rendering H.264 and MPEG-2.

Update:07 April 2011

I have had a conversaion with an engineer from Cyberlink who confirms that AVIVO-based encoding acceleration is not supported on these [E-Series, We suspect C-series too] AMD Fusion devices. In fact, what’s really happening here is something more important. AMD Fusion [E-series, C-series] does not support video encoding acceleration. The APP (was ATI Stream) feature that is used by the AMD Video converter base software (was AVIVO) is not implemented. Information from Cyberlink…

Fusion APU does not support Accelerated Parallel Processing (aka ATi Stream) for video encoding. The current AMD drivers do not allow HW acceleration to be enabled for video encoding on the Fusion APUs, and this is by AMD design.

I wish AMD, Cyberlink, Corel and the other companies promoting AMD APP would have been kind enough to point this out earlier. Take a look at this marketing brief…I would call it very misleading.

Transcoding is a very time-consuming and computationally intensive process. With the new AMD Fusion UVD 3 (Unified Video Decoder), and AMD Accelerated Parallel Processing (APP) technology, CyberLink PowerDirector the world’s first 64-bit video editing software offers up to 3.7x faster video rendering speed, allowing users to produce professional-looking videos in less time. MediaEspresso, universal media conversion software, now offers ultra-fast transcoding capability via the UVD 3 Decoder, enabling consumers to enjoy up to 2.75x speedup in performance, significantly reducing waiting time while giving users more time to share and enjoy their HD videos. [Ref: Cyberlink Press Release]

That’s a carefully crafted statement right there. PowerDirector does use APP, but only for some effects. You want to speed-up a section of video that has a fireworks effect on it, yes, PD9 will use APP to accelerate it. MediaEspresso doesn’t use APP. Al it uses are 1) The hardware video decoder which, when your output files are small and simple, provides a big boost. When your files are large and complex, 720 H.264 for example, the percentage advantage of the hardware decoder drops to almost zero. 2) It uses some “optimizations to enable Direct Memory Access between the CPU and GPU memory. Using DMA, we are able to save precious CPU cycles when the CPU is accessing the decoded video frames stored in the GPU memory.” Source: Cyberlink

So that clears up the question mark over my test results.  Fusion enhanced video software can use 1) UVD, the hardware decoder, to accelerate decoding of source video 2) Some optimisations to speed up memory optimisations 3) Specific effects process written to use the APP API.

So will AMD Video Conversion (Avivo) support come in future driver sets? I also ask myself the question, if you can write code to implement affects enhancements, why can’t you write code to improve the video encoding  process? Is this something this might come in the future? These questions remains unanswered for the time being.

End of Update. 07 April 2011

Update: 12 April 2011

It appears that I kicked a little bees-nest with this post as both Cyberlink and AMD have been in touch. The information and contact is much appreciated. Both AMD and Cyberlink wanted to clarify that the video encoding limitations don’t / won’t apply Fusion-wide. i.e. The E-Series APU that we’re testing here is aimed at consumer markets but there will be other products that will widen the use of APP.

The AMD E-Series parts are designed with the latest technology in their class making it a fully capable platform. While entry-level AMD VISION systems are capable of video transcode and editing, they are primarily designed with a focus on content consumption. VISION Premium and VISION Ultimate are the recommended systems for content creation. Upcoming AMD Fusion products designed for these mainstream and enthusiast markets will bring the capabilities of the current AMD Fusion products to new levels and introduce new and exciting levels of APP support.

So. Clearly there will be new products soon. I’ve been pointed to the AMD Fusion Developer Summit in a couple of emails so maybe they (AMD, Cyberlink) will be announcing new products then?

Cyberlink also sent a PDF which highlights the Brazos acceleration in their products. Here’s the diagram that shows the UVD (Decode) and DMA (Memory transfer) accelerations.

I posed a question to Cyberlink – can you do anything else to enhance performance through APP? The answer -They are looking at it and expect to implement for APP use in the future. Cyberlink are at the Fusion Developer Summit and holding a talk on Optimizing Video Editing Software with OpenCL. Details can be found in the event catalogue here.

End of update – April 12th

videostudiopro

How stupid is that? AMD will be pleased to hear that that part of their platform is crippled on the Lenovo S205. Especially as they’re promoting it. (See Update above. The limitation was actually designed into Fusion from day 1)

Yes, I’ve tried updating all drivers but I can’t get the video encoding acceleration working at all even with new versions of Catalyst 11.2 or 11.3. I’ve tried 5 different software packages that claim to get a boost from the Fusion GPU but none of them get any speed increase at all. Some of them don’t even see the hardware.

vs accel options

I can get some specific code in one video editing program working (an effects overlay that is written to use AMD’s APP API) but that’s about it.

This is such a shame because the S205, when using Corel VideoStudio Pro X4 is really looking good even without the hardware rendering acceleration. The editing process itself is very smooth. There’s a need for some new profiles to enable my specific usage case and an SSD would improve the lengthy start-up time but I was seeing H.264 being rendered at 5mbps in 720p at about 3.7x real time. (slower than real time.) The rendering speed for 720p h.264 could be brought into the 2x range if Avivo was working and that’s very usable indeed.

My final test before sending the article out was to run the software again after a factory reset on the S205. I didn’t quite back everything up before I did it! I’ll bring you more details soon but right now I’m working on recovering 4-days of work on the article! Update: Looks like I lost it. I’ll put together a new one over the next few days. (See update above)

Many thanks to NotebookItalia.it who I discussed test results and thoughts with during this test. They have an article up showing vido rendering tests on C-50 and E-350 CPUs here. (Translation)

Follow Chippy on  TwitterFollow Chippy on  YouTube

Popular mobile computers on UMPCPortal

Acer C740
11.6" Intel Celeron 3205U
Acer Aspire Switch 10
10.1" Intel Atom Z3745
HP Elitebook 820 G2
12.5" Intel Core i5 5300U
Acer Aspire E11 ES1
11.6" Intel Celeron N2840
Acer C720 Chromebook
11.6" Intel Celeron 2955U
ASUS Zenbook UX305
13.3" Intel Core M 5Y10a
Dell Latitude E7440
14" Intel Core i5-4200U
Lenovo Thinkpad X220
12.5" Intel Core i5
Acer Chromebook 11 CB3-131
11.6" Intel Celeron N2807
Lenovo Ideapad Flex 10
10.1" Intel Celeron N2806

Find ultra mobile PCs, Ultrabooks, Netbooks and UMPCs quickly using the following links: