GV 4095M 1 AVC Intra Whitepaper
GV 4095M 1 AVC Intra Whitepaper
GV 4095M 1 AVC Intra Whitepaper
Until recently, content creators have had to juggle multiple different codecs in HD production because, in general, acquisition codecs (DVCPRO HD and XDCAM HD) were not capable of higher end productions, and production codecs (ProRes 422 and DNxHD) were not practically available for acquisition. Although AVCIntra offered some promise of being the first 10-bit codec with a broader appeal, it suffered from being too computationally complex for most editors of the day and at its introduction was not widely supported beyond Panasonic camcorders. Today, with the advent of powerful multi-core CPUs and the widespread acceptance of technology based on open standards, this is no longer true. This paper explains why AVC-Intra 100 has some compelling reasons to make it an emerging favorite for producing HD content today and into the future.
www.grassvalley.com
Contents
Introduction What Are the Main Codec Choices Today? What Makes a Good HD Production Codec?
is it Fast? Looks Support Usage Costs
1 1 2
2 2 2 2
3
3 4 4 5 6 8 8
Conclusion Bibliography
8 8
Introduction
today, one of the most important decisions that producers of hD content make is to decide which video codec is best suited to what they want to accomplish. this is because each of the many codecs that are available come with a specific set of tradeoffs. You may be trading full hD resolution to avoid a few transcode steps; or a tight budget may be driving you to use the lowest bit rates; or you may just be using the codec that comes with your editor by default without being aware of the set of compromises placed on you by that choice. this paper will compare the main choices of codecs available today including DVCprO hD, XDCaM hD, prores, DNxhD, and aVC-intra, explain the tradeoffs represented by each of them, and illustrate the practical impacts these have on your business. it will also present information on two important trends in todays production environment that, taken together, make the 100 Mb profile of aVC-intra the best all-around choice for production today.
Name
Raster
Chroma
Bit depth
Uncompressed SMPTE 292 ProRes 422 (HQ) ProRes 422 ProRes 422 (LT) DNxHD 220x DNxHD 220 DNxHD 145 HQX DVCPRO HD XDCAM 50 AVC-Intra 50 AVC-Intra 100
Table 1 Main HD production codec choices.
Full Full Full Full Full Full Full Full Scaled Full Scaled Full
4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:2 4:2:0 4:2:2
10-bit 10-bit 10-bit 10-bit 10-bit 8-bit 8-bit 10-bit 8-bit 8-bit 10-bit 10-bit
~ 1,500 220 147 102 220 220 145 120-220 100 50 50 100
two popular choices today are DVCprO hD and XDCaM hD 50, but they have some inherent drawbacks that limit their long-term potential as a production format: Both are only 8-bit, which increases the potential for noticeable contouring and posterization artifacts DVCprO hD only captures two-thirds of the horizontal resolution that is available in the uncompressed signal, so images could appear softer XDCaM hD 50 uses Long GOp coding which introduces concatenation (repeated encoding, decoding, and reencoding), noise even in the simplest editing scenarios, and also causes changes to frames that have nothing to do with those being edited
Because of these issues with both DVCprO hD and XDCaM hD, some large editing software companies developed their own compression solutions that were higher quality and more friendly to the CpUs of the time. avid pioneered this with its DNx line of codecs, and was followed by Grass Valley with the hQ codec, and then apple followed suit with the prores 422 family of codecs. all of these solutions require an initial transcode from the acquisition format that takes time, but they effectively eliminate the image quality problems weve just mentioned. however some of them have important drawbacks that well discuss later that are not shared by the codec that is the focus of this paper: aVC-intra 100.
www.grassvalley.com
a format looks its best when: it encodes in full resolution (with no scaling artifacts introduced) it has full 10 bits per pixel and full 4:2:2 chroma sampling, just like uncompressed hD-SDi Multiple generations can be encoded and decoded without noticeable loss in quality (no concatenation) DNxhD, prores422, and aVC-intra 100 all look really good by these criteria. By comparison, what makes DVCprO fast is what limits its potential for higher quality applications. a codec like DNX, prores, and hQ overcomes this with more bits, but this again is another tradeoff when it comes to what those extra bits ultimately cost. the best solution is the combination of the best looking video with the lowest overhead.
Support
Last, but definitely not least, the costs of using a format weighs on how good it is for production overall. the factors that contribute to the costs of a given codec choice can be some or all of the following: Costs of the bits. a given bit rate is a direct multiplier to the cost of your infrastructure like an editing SaN, an archive, or network backbone. as an example, the SaN you need to support six editing systems at 100 Mb might easily cost you 2 to 3 times less than the same system using a 225 Mb format, and that could add $200-$400k to a system and when money could be better spent elsewhere. Cost of acquisition, either directly through a camcorder or through a baseband signal to a server connected to a SaN. Do i need to hang another device off my camera (i.e., a Kipro)? are the prices for servers that record DNX competitive relative to other choices? Do i need to use a secondary tape machine and then ingest directly through the edit suite via baseband? Costs of extra steps. if you cant build a full workflow around the codec youve chosen theres an inherent cost in buying transcoding products or in the time people spend executing or waiting for the steps to complete. all of these factors have practical consequences that are oftentimes the result of choosing a format based on either the camera, the editor, or what organizations have been comfortable in using versus looking at the bigger picture of whats needed and what implications those choices will have on the system. Some of those practical considerations may yield the following overall improvements: i get double the storage capacity for a given amount of disk space it takes half the time for me to move files around i can afford to build a SaN that really allows the sharing they need
a format is fast when you can: Decode and encode multiple streams in real time on common computer platforms so that the editor can work without interruption or intermediate rendering acquire and edit in the same format on the same media to avoid a baseband ingest, a file transfer, or a file transcode before the editing process can begin hand off the finished content to a playout server without having to take the time to flatten or transcode to yet another format this is where a codec like DVCprO hD really shines. its friendly to any generation of pC/Mac platform and you can create workflows that stay in the same format all the way through. XDCaM hD shares many of these characteristics, but theres often a penalty in using a Long GOp codec because the finishing process can take longer when the entire project has to be leveled (i.e., re-encoded) as a final step to re-build the GOp structure. if you just look at the editing part of the project, prores, DNX, and hQ are extremely fast because they are friendly to the pC in terms of the number of real-time streams they can support, but they can be slowed down by transcodes either into or out of the editor (hQ does not work on the Mac).
a fast, good-looking format is not of much value unless it is also widely supported by the production tools that are available in the market. Formats based on open standards achieve this more readily than more proprietary solutions, but its not the only reason for adoption, as weve seen with JpeG 2000. Because Sony and panasonic have experience and invest a great deal in making standards, they have done an extremely good job at making sure that DVCprO hD and XDCaM hD have wide support in our industry. while DNX and prores have been made available for third-party integrations, and DNX has been made a standard, the number of solutions available is decidedly fewer in comparison with the kind of workflows you can put together with DVCprO and XDCaM. however, aVC-intra is now approaching this same adoption and with recent updates and announcement from major suppliers, it is now the only 10-bit format can be used natively on editors from all the three as: avid, apple, and adobe.
www.grassvalley.com
Codec
Fast
Looks Good
Widely Supported
Efficient
AVC-Intra 100
Yes
Yes
DVCPRO 100
Only 8-bit and horizontal resolution scaled by twothirds Only 8 bit Yes Yes
Yes
Yes
Comparatively fewer options 45% to 120% less efficient available than AVC-Intra Comparatively less options available 45% to 120% less efficient than AVC-Intra
we arent making the claim that aVC-intra is the best for any application, but we are noting that when all the factors outlined are considered, aVC-intra stands out to us as making the fewest tradeoffs and thus providing a more secure choice for the long run. in this well take a closer look at how and why aVC-intra 100 now meets all four of the key characteristics that a modern hD codec needs.
AVC-Intra 100 is fast
the class of intermediate codecs, including DNxhD, prores 422, Grass Valleys hQ, and others that arose between three to five years ago, did so to address the problem that acquisition formats were either too compromised to make good pictures when used in editing and production workflows, or too complex to support enough channels on practical editing platforms. the complexity argument is no longer valid because multi-core, 64-bit processors along with optimized chipset instruction sets specifically engineered to optimize encoder/decoder performance have become available at reasonable prices.
Westmere 6 Core
100 50 0
2003
2004
2005
2006
2007
2008
2009
2010
2011
www.grassvalley.com
Codec
Transfer Time
So, whether you are moving material from your acquisition device, restoring from an archive, or pushing it to your playout server, its going to move faster by 40-100%. Of course these benefits of speed only matter if aVC-intra provides image quality comparable to the alternatives.
AVC-Intra 100 Looks good
full HD
aVC-intra gets off to a good start by encoding the full hD raster with 4:2:2 chroma sampling and 10 bits per pixel. if youre working with multiple generations of your content or with graphics, using a 10-bit format with 4:2:2 chroma sampling is a must because: 8-bit formats will show banding in shaded graphics 4:2:0 will cause colors to bleed over subsequent generations
So why and how does aVC-intra provides image quality thats comparable to the other high-end hD codec choices?
www.grassvalley.com
aVC-intra manages to compress the full hD signal with best-in-class efficiency by taking advantage of modern compression techniques such as intra Frame coding. Such techniques have had the focus of two major international standards bodies over the past three decades as illustrated by Figure 2.
MPEG-1
MPEG-4
H.120
H.261
H.262
H.263,+
H.264
H.265
1980
1990
2000
2010
in contrast to the codecs developed for DNX, prores, or hQ that were created in private labs by a few key people, the aVC-intra compression was developed from a much larger effort and hence has the benefit of more advanced compression tools and techniques developed by a worldwide effort. One particularly powerful tool is called intra-frame prediction, and is illustrated in Figure 3. intra-frame prediction exploits the fact that each part of a picture can look similar to other parts.
Original
Intra-prediction Coded
Residual
=
10 MB 4 MB 30% Efciency Saving
+
3 MB
Figure 3 Intra-frame prediction technique. (Images used with permission of Panasonic Corporation)
www.grassvalley.com
the normal way of making objective comparisons between different video codecs is via their pSNr performance for some well known reference sequences. although the pSNr does not model the way in which the human visual system perceives noise created by image compression, it is both objective and straightforward to compute (see sidebar). Differences between codecs are only significant if the difference in pSNr exceeds approximately 2 dB. its important that the same reference content is used when comparing codecs because codec performance is a function of the uncompressed image. the european Broadcasting Union (eBU) makes available a set of uncompressed reference sequences that are commonly used to evaluate codec performance. when they evaluated aVC-intra 100 in 2007 with a panel of experts viewing content at a normal viewing distance of three screen heights, they judged the first generation to be visually identical with the reference (Visca, 2008). the eBU sequences, comprising 1250 frames of video, were used to evaluate two key performance measures for a variety of codecs used in hD production.
P SN R = 10 log10
P eak 2 M SE
www.grassvalley.com
the impact of repeated encode/decode cycles on the pSNr of a reference image is graphed in Figure 5 with each point on the line representing another generation of image. You can see that both prores 422 and DNxhD suffer from a steep degradation in the early generations, whereas aVC-intra maintains picture quality across multiple generations much better.
Unless youre doing anything but the simplest editing, its easy to rack up three, five, or seven generations of a clip during the process. the multi-generational behavior of prores 422 and DNxhD all but eliminates their apparent advantages that showed up in the previous Figure. this is especially true when you consider the penalty paid for the initial generation working with DNxhD or prores 422 requires, which can be avoided when aVC-intra is also used as the acquisition codec. So for practical purposes, aVC-intra is as good for production as prores 422 and DNxhD.
-2.5 -3
Enc-Dec Iteration
7
www.grassvalley.com
the growth in support for aVC-intra across the industry is a market trend thats as important and powerful as the dramatic improvement in CpU power touched on earlier. in a way, its one of the best-kept secrets of the content production industry, but when you look, you start to find support everywhere: if youre editing, grading, or compositing, youll find timelinelevel support for aVC-intra in Grass Valley eDiUS 5 and 6, as well as adobe Creative Suite 5; apple Final Cut Studio 3; autodesk inferno, Smoke and Flame, Flint, and Lustre; and all avid editors, such as Media Composer 5, DS 10, Symphony 5, and NewsCutter 9 Youll find across the board support for aVC-intra from Grass Valley (K2 media server family) and other video servers including avid airSpeed Multi Stream, DVS VeNiCe, eVS Xt2 (scheduled for Q4 2010), harris Nexio, Omneon Spectrum, and Quantel sQ transcoding is supported by telestream and rhozet transcoding Services
and theres a wealth of available technology from providers including MainConcept should you wish to develop your own solutions.this is a software codec that will work in both pC and Mac environments. part of the benefit of using an open standard is that MainConcept can develop its own codecs and use them for a wider range of applications by making them fully MpeG-4 compliant. in addition to Grass Valley, a number of companies have also developed their own aVC-intra decoders including apple and avid. there are also many viewing and ingest solutions available for aVC-intra, including those from Calibrated Software, MOG technology, MXF4Mac, and OpenCube. Notice that at no point in the full-hD workflowfrom editing to serving to transcodingare you restricted to a single choice of vendor. aVC-intra is the only format that can make this claim today.
Not including audio, aVC-intra 100 is a 113 Mb/s format. prores 422 varies from 145 to 220 Mb/s with avid DNxhD occupying a similar range. what does this 40% to 120% efficiency advantage gain for you? On a single editing system, the savings may not be that significant, though they might mean that you can use that rugged solid-state drive youd like instead of a spinning disk But multiplied over thousands of hours of content or over a large editing SaN, the potential efficiency savings mount up significantly. potentially you can halve the storage requirement from your capital budget, and halve the archive data tape requirement from your operating budget production system costs are driven both by the storage costs and bandwidth. Choosing a higher bit rate will increase them both.
Conclusion
weve shown that aVC-intra 100 is the best all-round solution for high-quality hD production today when evaluated on the four codec features that make a difference to the production values and economic efficiency of your workflow: aVC-intra is fast because you can avoid time-consuming trans-codes and eliminate their impact on image quality, and computers today are powerful enough to support multiple channels on a practical workstation aVC-intra looks good because of its superior multi-generation performance, and the fact that its possible to avoid two encode/decode generations by deploying aVC-intra from acquisition to playout which is possible because aVCintra is widely deployedmeaning you can choose the point solutions that are best for you from among multiple vendors when defining your workflow as the most efficient full hD codec available, aVC-intra can deliver important cost savings relative to the alternatives. You can halve your storage costs and double your transfer rates
Bibliography
Visca. (2008). hDtV production Codecs. EBU Technical Review, 1-15.
SALES
Local and regional sales contacts can be found by visiting www.grassvalley.com/sales
SuPPort
Local and regional support contacts can be found by visiting www.grassvalley.com/support
Copyright 2011 Grass Valley USA, LLC. All rights reserved. EDIUS is a registered trademark and Grass Valley is a trademark of GVBB Holdings S.a.r.l. All other tradenames referenced are service marks, trademarks, or registered trademarks of their respective companies. Specifications subject to change without notice. GV-4095M-1