The XAVC family of codecs was introduced by Sony back in 2014. Until recently all flavours of XAVC were based on H264 compression. More recently new XAVC-HS versions were introduced that use H265. The most commonly used versions of XAVC are the XAVC-I and XAVC-L codecs. These have both been around for a while now and are well tried and well tested.
XAVC-I
XAVC-I is a very good Intra frame codec where each frame is individually encoded. It’s being used for Netflix shows, it has been used for broadcast TV for many years and there are thousands and thousands of hours of great content that has been shot with XAVC-I without any issues. Most of the in flight shots in Top Gun Mavericks were shot using XAVC-I. It is unusual to find visible artefacts in XAVC-I unless you make a lot of effort to find them. But it is a high compression codec so it will never be entirely artefact free. The video below compares XAVC-I with ProResHQ and as you can see there is very little difference between the two, even after several encoding passes.
XAVC-L
XAVC-L is a long GOP version of XAVC-I. Long GoP (Group of Pictures) codecs fully encode a start frame and then for the next group of frames (typically 12 or more frames) only store any differences between this start frame and then the next full frame at the start of the next group. They record the changes between frames using things motion prediction and motion vectors that rather than recording new pixels, moves existing pixels from the first fully encoded frame through the subsequent frames if there is movement in the shot. Do note that on the F5/F55, the FS5, FS7, FX6 and FX9 that in UHD or 4K XAVC-L is 8 bit (while XAVC-I is 10 bit).
Performance and Efficiency.
Long GoP codecs can be very efficient when there is little motion in the footage. It is generally considered that H264 long GoP is around 2.5x more efficient than the I frame version. And this is why the bit rate of XAVC-I is around 2.5x higher than XAVC-L, so that for most types of shots both will perform similarly. If there is very little motion and the bulk of the scene being shot is largely static, then there will be situations where XAVC-L can perform better than XAVC-I.
Motion Artefacts.
BUT as soon as you add a lot of motion or a lot of extra noise (which looks like motion to a long GoP codec) Long GoP codecs struggle as they don’t typically have sufficiently high bit rates to deal with complex motion without some loss of image quality. Let’s face it, the primary reason behind the use of Long GoP encoding is to save space. And that’s done by decreasing the bit rate. So generally long GoP codecs have much lower bit rates so that they will actually provide those space savings. But that introduces challenges for the codec. Shots such as cars moving to the left while the camera pans right are difficult for a long GoP codec to process as almost everything is different from frame to frame including entirely new background information hidden behind the cars in one frame that becomes visible in the next. Wobbly handheld footage, crowds of moving people, fields of crops blowing in the wind, rippling water, flocks of birds are all very challenging and will often exhibit visible artefacts in a lower bit rate long GoP codec that you won’t ever get in the higher bit rate I frame version.
Concatenation.
A further issue is concatenation. The artefacts that occur in long GoP codecs often move in the opposite direction to the object that’s actually moving in the shot. So, when you have to re-encode the footage at the end of an edit or for distribution the complexity of the motion in the footage increases and each successive encode will be progressively worse than the one before. This is a very big concern for broadcasters or anyone where there may be multiple compression passes using long GoP codecs such as H264 or H265.
Quality depends on the motion.
So, when things are just right and the scene suits XAVC-L it will perform well and it might show marginally fewer artefacts than XAVC-I, but those artefacts that do exists in XAVC-I are going to be pretty much invisible in the majority of normal situations. But when there is complex motion XAVC-L can produce visible artefacts. And it is this uncertainty that is a big issue for many as you cannot easily predict when XAVC-L might struggle. Meanwhile XAVC-I will always be consistently good. Use XAVC-I and you never need to worry about motion or motion artefacts, your footage will be consistently good no matter what you shoot.
Broadcasters and organisations such as Netflix spend a lot of time and money testing codecs to make sure they meet the standards they need. XAVC-I is almost universally accepted as a main acquisition codec while XAVC-L is much less widely accepted. You can use XAVC-L if you wish, it can be beneficial if you do need to save card or disk space. But be aware of its limitations and avoid it if you are shooting handheld, shooting anything with lots of motion, especially water, blowing leaves, crowds etc. Also be aware that on the F5/F55, the FS5, FS7, FX6 and FX9 that in UHD or 4K XAVC-L is 8 bit while XAVC-I is 10 bit. That alone would be a good reason NOT to choose XAVC-L.
Please Share If You Found This Useful. Sharing Helps Keep This Site Running And Encourages Me To write More!
How much can I fit on a SD card, CFExpress card, SxS or XQD card is a question that comes up regularly. So I have prepared a table of the typical record times for most of the different XAVC-I and XAVC-L codecs and frame rates . Originally drawn up for…
I often hear people saying that XAVC-I isn't good enough or that you MUST use ProRes or some other codec. My own experience is that XAVC-I is actually a really good codec and recording to ProRes only ever makes the very tiniest (if any) difference to the finished production. I've…
If you are running the latest Mac Sierra OS the recent Pro Video Formats update, version 2.0.5 adds the ability to play back MXF OP1a files in Quick Time Player without the need to transcode. You can also preview MXF files in the finder window directly! This is a big…
In "cameras"
3 thoughts on “XAVC-I or XAVC-L which to choose?”
All good points when it comes to image quality and motion.
I’m curious if you’ve noticed any difference between XAVC-I and XAVC-L when it comes to editing and the load it puts on your NLE and computer? I’ve noticed that XAVC-L sometimes doesn’t play as smoothly perhaps because the complexity of decoding the long GOP structure is more compute intensive vs. intra frame compression.
I’ve found that on F5/F55, the XAVC-L codec option is only available in HD resolutions (1920×1080). UHD and 4K is always XAVC-I. (Operating Instructions p.6: https://pro.sony/ue_US/support-resources/pmw-f55/manual) So an advantage of newer cameras like the FS7 is that you have the option to record in XAVC-L at higher resolutions of 4K.
Long GoP codecs are more complex to decode than I only codecs, so XAVC-L will require more processing power than XAVC-I. But most recent computers now include hardware decoding for H264 (and many now also include H265) so this is generally much less of an issue than it used to be.
I had forgotten about all the XAVC-L limitations in the F5/F55, it was only added late in the cameras life (version 9 firmware). It’s been a long while since I used mine.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
All good points when it comes to image quality and motion.
I’m curious if you’ve noticed any difference between XAVC-I and XAVC-L when it comes to editing and the load it puts on your NLE and computer? I’ve noticed that XAVC-L sometimes doesn’t play as smoothly perhaps because the complexity of decoding the long GOP structure is more compute intensive vs. intra frame compression.
I’ve found that on F5/F55, the XAVC-L codec option is only available in HD resolutions (1920×1080). UHD and 4K is always XAVC-I. (Operating Instructions p.6: https://pro.sony/ue_US/support-resources/pmw-f55/manual) So an advantage of newer cameras like the FS7 is that you have the option to record in XAVC-L at higher resolutions of 4K.
Long GoP codecs are more complex to decode than I only codecs, so XAVC-L will require more processing power than XAVC-I. But most recent computers now include hardware decoding for H264 (and many now also include H265) so this is generally much less of an issue than it used to be.
I had forgotten about all the XAVC-L limitations in the F5/F55, it was only added late in the cameras life (version 9 firmware). It’s been a long while since I used mine.
Hi
Is the choice effecting the SDI and HDMI signal?
TNX
/ Jonas