GH5 HEVC + VP19

Comments

vkmast wrote on 8/23/2021, 5:38 AM

I do recall someone mentioning that the reason that some of the codecs need to be downloaded from Magix from time to time is that somehow this avoids a royalty cost or something to that effect.

Read e.g. here?

AVsupport wrote on 8/23/2021, 8:51 AM

I can't see $0.80 royalty costs being an issue for poor codec support. Also, nVidia is just as good if not better when you choose the right settings (you have more choices, more flexibility). So, no reason not to fully embrace it. HEVC has been around long enough, it's the obvious way forward, and the team has chosen to ignore this albeit various requests, for other reasons.

 

 

my current Win10/64 system (latest drivers, water cooled) :

Intel Coffee Lake i5 Hexacore (unlocked, but not overclocked) 4.0 GHz on Z370 chipset board,

32GB (4x8GB Corsair Dual Channel DDR4-2133) XMP-3000 RAM,

Intel 600series 512GB M.2 SSD system drive running Win10/64 home automatic driver updates,

Crucial BX500 1TB EDIT 3D NAND SATA 2.5-inch SSD

2x 4TB 7200RPM NAS HGST data drive,

Intel HD630 iGPU - currently disabled in Bios,

nVidia GTX1060 6GB, always on latest [creator] drivers. nVidia HW acceleration enabled.

main screen 4K/50p 1ms scaled @175%, second screen 1920x1080/50p 1ms.

Mohammed_Anis wrote on 8/23/2021, 11:44 AM

I can't see $0.80 royalty costs being an issue for poor codec support. Also, nVidia is just as good if not better when you choose the right settings (you have more choices, more flexibility). So, no reason not to fully embrace it. HEVC has been around long enough, it's the obvious way forward, and the team has chosen to ignore this albeit various requests, for other reasons.

 

 


*Sighs*

You're comparing consumer/end user pricing versus development/large scale commercial licensing. The price tag that Media Player pops up for HEVC playback is not as the same as what a developer gets when getting in touch with the proprietors of the technology.

And everything that was put fourth regarding this matter has been categorically referred to as a "Speculation", at least from my end.

I do not work for MAGIX. I'm not on VEGAS Team's payroll, as much as I'd love to be.


 

Last changed by Mohammed_Anis on 8/23/2021, 11:46 AM, changed a total of 1 times.

"I'm a part of all that I've met." Alfred Lord Tennyson

Youtube Channel: https://www.youtube.com/c/VEGASCREATIVEACADEMY


Card name: AMD Radeon RX 6800 XT
Processor: AMD Ryzen 9 5900X 12-Core Processor             (24 CPUs), ~3.7GHz
Memory: 32768MB RAM
Monitor Id: PHLC18F
Native Mode: 3840 x 2160(p) (59.997Hz)
Storage Devices: 2 SSDS, One large HD. VEGAS is installed on SSD

 

Howard-Vigorita wrote on 8/23/2021, 12:24 PM

I use hevc extensively mostly because it is high quality, high performance, and space effective both in-camera and in-computer. But I think it's days are numbered unless they drop licensing costs. Otherwise it'll be gone in new cameras as soon as someone makes an in-camera asic that allows it to record av1. Which is royalty-free. Av1 decoding is already starting to be included in video boards and igpus. Some Samsung and Android cell phones are already decoding it, being driven by Netflix transmission. Quality analysis I did with ffmetrics puts av1 encoding up with the best.

Richvideo wrote on 8/23/2021, 4:47 PM

I use hevc extensively mostly because it is high quality, high performance, and space effective both in-camera and in-computer. But I think it's days are numbered unless they drop licensing costs. Otherwise it'll be gone in new cameras as soon as someone makes an in-camera asic that allows it to record av1. Which is royalty-free. Av1 decoding is already starting to be included in video boards and igpus. Some Samsung and Android cell phones are already decoding it, being driven by Netflix transmission. Quality analysis I did with ffmetrics puts av1 encoding up with the best.

After thinking about it, how would a license fee play into this- The file plays fine with Intel QSV, if it was a license issue the file would not import at all into Vegas. The issue is the inability of Vegas to utilize the NVIDIA GPU to decode the file so unless NVIDIA is charging them (which I don't see them doing that since they want to sell cards) HEVC fees are not the problem.

fr0sty wrote on 8/23/2021, 4:48 PM

I wouldn't call HEVC high performance, it takes quite a lot to decode it, and if your GPU doesn't support decoding it, then you definitely won't be editing it without proxies.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

AVsupport wrote on 8/23/2021, 5:11 PM

It's in the name, High Efficiency. Hence little data, at a great quality, albeit at the cost of compute intensity, hence one needs hardware acceleration to work with effectively; no one had a problem with this with XAVCS being AVC, which this more sophisticated codec is built on. But AVC is OLD and the world moves on. So do I, and if my NLE isn't, then I have a problem. Most of us now shoot/edit 4K which is 4x the data. As we're heading down the road of more resolution>more data all the time, this is one necessary path we must take. And yes, when you can decode with Intel, why can't you with the faster nVidia? Also, if one developer cannot afford the license fee, then give the client a chance to purchase separately, for that 80c.

 

Last changed by AVsupport on 8/23/2021, 5:13 PM, changed a total of 2 times.

my current Win10/64 system (latest drivers, water cooled) :

Intel Coffee Lake i5 Hexacore (unlocked, but not overclocked) 4.0 GHz on Z370 chipset board,

32GB (4x8GB Corsair Dual Channel DDR4-2133) XMP-3000 RAM,

Intel 600series 512GB M.2 SSD system drive running Win10/64 home automatic driver updates,

Crucial BX500 1TB EDIT 3D NAND SATA 2.5-inch SSD

2x 4TB 7200RPM NAS HGST data drive,

Intel HD630 iGPU - currently disabled in Bios,

nVidia GTX1060 6GB, always on latest [creator] drivers. nVidia HW acceleration enabled.

main screen 4K/50p 1ms scaled @175%, second screen 1920x1080/50p 1ms.

Former user wrote on 8/23/2021, 5:30 PM

. And yes, when you can decode with Intel, why can't you with the faster nVidia? Also, if one developer cannot afford the license fee, then give the client a chance to purchase separately, for that 80c.

 

Like I said to that guy from the start, he is coming up with a premise that logically describes why on earth Vegas doesn't fully implement the NVIDIA and AMD decoders, and only use Intel GPU decoder to it's fullest at a time where home users are moving away from Intel. I think his idea is that Magix spent all their budget on HEVC rights for Intel decoding, and didn't have the money for AMD and Nvidia GPU decoding. That's probably not how it works, he's saying software, and each GPU maker requires a different license and they all cost money so Vegas only bought the software and Intel IGPU decoder license???

There used to be 10bit HEVC Nvidia decode, but it was unstable and caused crashes, and was removed. Doesn't it make more sense that this is still the reason, not some story about Magix being cheap, and back to my original point, bring someone in that can fix the problem, it will pay for it'self with positive reviews

 

Richvideo wrote on 8/23/2021, 5:53 PM

I wouldn't call HEVC high performance, it takes quite a lot to decode it, and if your GPU doesn't support decoding it, then you definitely won't be editing it without proxies.

If you are a pro/semi-pro editor you most likely have a decent GPU and most of them have decoded HEVC for a while now.

I think that my old GTX 960 card even had it

Former user wrote on 8/23/2021, 6:33 PM

I wouldn't call HEVC high performance, it takes quite a lot to decode it, and if your GPU doesn't support decoding it, then you definitely won't be editing it without proxies.

If you are a pro/semi-pro editor you most likely have a decent GPU and most of them have decoded HEVC for a while now.

I think that my old GTX 960 card even had it


Even the lowest power gpu's like GTX1030 have hardware decoding, and on the laptops the MX150. Anything with a low powered CPU will have a GPU decoder that does HEVC, and anything with a high power CPU will, It's basically everything. Only problem might be the cheapest AMD laptops and no discreet GPU with integrated graphics, not sure if Vegas support that

Howard-Vigorita wrote on 8/23/2021, 7:02 PM

I wouldn't call HEVC high performance, it takes quite a lot to decode it, and if your GPU doesn't support decoding it, then you definitely won't be editing it without proxies.

Hevc is clearly very hardware demanding but the advantage is that it's possible to satisfy its needs. If you do, it yields better performance than other formats. When it comes to 10-bit 422, there's no avc decoder support for that from anybody.

Here's a summary of Hevc licensing:

https://www.mpegla.com/wp-content/uploads/HEVCweb.pdf

With so many patent holders, it can get complicated. End users are not charged a license fee unless they sell an hevc product above a threshold count. I assume ffmpeg doesn't have to pay because they don't sell anything. I assume Magix might have to pay based on sales volume, which is probably why they go through the codec authorization process so they can document their hevc user count. Microsoft is probably in the same boat with their hevc codec which probably motivated them to put it in their store for a nominal fee. Camera and GPU makers are probably paying through the nose. Nvidia tried to sell the cell phone makers an hevc decoding asic a few years ago and got no takers. Probably because they'd end up paying double. Since then camera, computer, phone, and chip makers have all banded together into the open source av1 consortium.

fr0sty wrote on 8/23/2021, 7:26 PM

Actually I think they did add AVC 10 bit 4:2:2 decoding to the latest intel chips, if I remember right, but yes, there are more hardware decoding options for HEVC.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Former user wrote on 8/23/2021, 7:42 PM

. Probably because they'd end up paying double. Since then camera, computer, phone, and chip makers have all banded together into the open source av1 consortium.

As you said AV1 is the highest quality on YouTube, so already there is a use to be able to decode AV1 via GPU, The latest Intel CPU's and Nvidia and AMD GPU's support AV1 decode, Video editors have begun supporting AV1 and VP9 GPU decode. An 8K AV1 I tried editing with from YouTube has a 28MB/s bit rate which is about what I would hope for. YouTube didn't use the extra efficiency of the codec to save bandwidth at a cost to quality. I hope it would be feasible for cameras to provide AV1 encoding as an option soon. Also from what I can see YouTube only does 8K in AV1, I guess bandwidth too high on VP9, and YouTube is banking on widespread support for AV1 gpu decoding

Howard-Vigorita wrote on 8/24/2021, 10:52 AM

Did a quick double check and there's no 4:2:2 avc hardware decoding yet on Intel igpus. I put a copy of the 7th gen and later Intel support matrix in a google sheet here (easier to read than Intel's web page):

https://docs.google.com/spreadsheets/d/1zVCWwv8GP5e8gST1J_1dntVk4tXGaIteZNgUxgBHtDQ/edit?usp=sharing

... which is supplemented by this which I clipped off of my 11900k data sheet:

Richvideo wrote on 8/24/2021, 12:11 PM

I think the convo has gone a bit off track with the license fees.

The bottom line is what exactly is the hold up on getting Vegas to intergrate NVIDIA GPU decoding of common codecs used in Pro and Prosumer cameras- especially the Panasonic line of mirrorless cameras (GH5,GH5s, S1, etc).

Is it?

1-cost

2-lack of programmers at Magix well versed with the NVIDIA SDK

3- They hate NVIDIA and 10bit HEVC

 

fr0sty wrote on 8/24/2021, 1:06 PM

4- Lack of resources to do it (YET). They are an 8 person team that has a lot of big issues to tackle. This is a relatively small annoyance in comparison.

Last changed by fr0sty on 8/24/2021, 1:07 PM, changed a total of 1 times.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Richvideo wrote on 8/24/2021, 1:41 PM

4- Lack of resources to do it (YET). They are an 8 person team that has a lot of big issues to tackle. This is a relatively small annoyance in comparison.

Subcontract a person to do it

Howard-Vigorita wrote on 8/24/2021, 3:01 PM

@Richvideo I was able to test the GH5 clip you uploaded on my 1660 and not even the ffmpeg nvidia decoder would take it. Only the x265 software decoder. Using ffmpeg with the copy codec gave the same results. Suggests it's a GH5/Nvidia problem. Fwiw, AMD wouldn't decode it either. Only Intel or software codecs. So I tried the software libx265 codec to transcode it with ffmpeg to a nearly identical mov clip. And that clip is golden all around. If you want to try it for yourself, here's the script:

ffmpeg -i "A074C006_210724_E99Z.mov" -an -c:v libx265 -crf 11 -y out420.mov

That yields a slightly higher bitrate and omits the audio. Crf 12 will yield slightly lower.

Richvideo wrote on 8/24/2021, 5:58 PM

@Richvideo I was able to test the GH5 clip you uploaded on my 1660 and not even the ffmpeg nvidia decoder would take it. Only the x265 software decoder. Using ffmpeg with the copy codec gave the same results. Suggests it's a GH5/Nvidia problem. Fwiw, AMD wouldn't decode it either. Only Intel or software codecs. So I tried the software libx265 codec to transcode it with ffmpeg to a nearly identical mov clip. And that clip is golden all around. If you want to try it for yourself, here's the script:

ffmpeg -i "A074C006_210724_E99Z.mov" -an -c:v libx265 -crf 11 -y out420.mov

That yields a slightly higher bitrate and omits the audio. Crf 12 will yield slightly lower.

Thank you for looking into this issue for me it is appreciated

It plays very smoothly in Adobe Premiere on the same AMD Ryzen system and Adobe uses NVIDIA decoding so I am not sure if it is an NVIDIA -Panasonic codec problem.

I can re-encode it in Adobe Media Encoder but I would rather that it just plays in VP19 as is. The name of the product is Vegas Pro (Pro being the keyword) I shoot with a pro camera and this is not some weird obscure codec from an off-brand camera or device.

Former user wrote on 8/24/2021, 7:00 PM

@Richvideo I was able to test the GH5 clip you uploaded on my 1660 and not even the ffmpeg nvidia decoder would take it. Only the x265 software decoder. Using ffmpeg with the copy codec gave the same results. Suggests it's a GH5/Nvidia problem. Fwiw, AMD wouldn't decode it either. Only Intel or software codecs.

 

Once again, people are blaming Nvidia (and Amd) instead of the developers. If Resolve and Premiere can get it right, so can Vegas. ffmpeg and handbrake both use software decode and like Vegas they need further development. Looking at handbrake options they also favor Intel IGPU with a box to tick to use it instead of using your AMD/Nvidia GPU because at a guess handbrake works with the Intel IGPU works where Nvidia/Amd doesn't

I looked at 2 recommended trans-coders, they both used Nvidia decoder for this file, I don't like the first so won't name it, but the 2nd is Shutter Encoder. Shutter encoder a more recently developed trans-coder and it is a better developed ffmpeg with a GUI, you can enter ffmpeg commands into it's function box, so ffmpeg can use Nvidia GPU decoder in the hands of a good developer

 

Howard-Vigorita wrote on 8/24/2021, 7:19 PM

@Former user Just tested the clip @Richvideo uploaded with Resolve Studio configured to only use the Nvidia 1660 gpu and it crashed. The 16- and 20-series use the same decoder chips. The 30-series uses a newer decoder chip so they might be more friendly to it.

Richvideo wrote on 8/24/2021, 7:42 PM

@Former user Just tested the clip @Richvideo uploaded with Resolve Studio configured to only use the Nvidia 1660 gpu and it crashed. The 16- and 20-series use the same decoder chips. The 30-series uses a newer decoder chip so they might be more friendly to it.

I just put it in Resolve 17 and it plays fine. It does not seem to be utilizing the GPU so that does seem to indicate that Vegas should be able to play it even without GPU decoding, that is if you are working with a system with a decent CPU (Ryzen 3900-12 core).

Former user wrote on 8/24/2021, 7:52 PM

@Howard-Vigorita What about Shutter Encoder, see if you get Nvidia GPU decode for that. My GPU decoder option in preferences is auto, make sure that's not set to none. I think the only thing that changed between your GPU's decoder and 3000 series is addition of AV1 decode. I would ask on the Resolve help forum for people with 16/20 series Nvidia GPU's to try and play the file to determine if it's software bug or a problem with your system.

Former user wrote on 8/24/2021, 7:54 PM

 

I just put it in Resolve 17 and it plays fine. It does not seem to be utilizing the GPU so that does seem to indicate that Vegas should be able to play it even without GPU decoding if you are working on a system with a decent CPU (Ryzen 3900-12 core).

This is where things get even more confused. Howard has Resolve studio that has GPU decode, Resolve (Free) does not have GPU decode