Enabling Hardware Decoder allows H.265 HVEC - but kills H.264 AVC

Jeff-Maruschek wrote on 12/7/2021, 8:06 PM

Vegas Pro 18 (527)

Video files are coming from a Fuji X-T4.

Video Card: Radeon 6700XT 12GB RAM

CPU: AMD Ryzen 7 3700X 8 core 3.6Ghz

System RAM: 32GB

You have three container/codec options on the Fuji...I'm trying the following two:

MOV/H.265 (HEVC)

MP4/H.264

Situation:

With Hardware Decoder set to off...the HEVC preview/playback is choppy and CPU is around 10%...but the H.264 plays perfectly and CPU is around 40%. (even up to 400 mpbs)

When I choose AMD UVD/VCN for hardware decoder...the HEVC H.265 plays in preview PERFECT...10% CPU....and about 5-8% GPU. HOWEVER...Vegas Pro won't even play back the same H.264 files. (black screen...audio plays...no video at all)

I don't care about H.265 but have some footage I need to use for the next project...I've learned my lesson and will stick to H.264 for now...however...the above doesn't make sense to me. How is Vegas not decoding an H.264 on the 6700XT at all?

I'm hoping there is a setting somewhere I'm missing. Thanks in advance.

(I tried to include all the needed into...but I'll post more if requested.)

Comments

RogerS wrote on 12/7/2021, 9:14 PM

Please share a screenshot of your preferences, file i/o tab.

You should keep the decoder on and can "enable legacy AVC" if you are having trouble with the GPU decoding (maybe, not sure what your current settings are).

Jeff-Maruschek wrote on 12/8/2021, 2:01 AM

RogerS, thank you for the suggestion, but that makes it worse.

 

Here is H.264 working...and H.265 stuttering:

Here is H.265 working perfect...and H.264 being recognized...takes a long time to add to the timeline...and plays with a black screen but with audio:

When I enable Legacy AVC...Vegas no longer even RECOGNIZES H.264. I cannot even add the video to the timeline:

However, I uncheck legacy avc, restart Vegas, H.264 is again recognized:

system info:

OS Name    Microsoft Windows 10 Pro
Version    10.0.19042 Build 19042
Other OS Description     Not Available
OS Manufacturer    Microsoft Corporation

System Manufacturer    Micro-Star International Co., Ltd.
System Model    MS-7C91
System Type    x64-based PC
System SKU    To be filled by O.E.M.
Processor    AMD Ryzen 7 3700X 8-Core Processor, 3600 Mhz, 8 Core(s), 16 Logical Processor(s)
BIOS Version/Date    American Megatrends International, LLC. 1.60, 5/13/2021
SMBIOS Version    2.8
Embedded Controller Version    255.255
BIOS Mode    UEFI
BaseBoard Manufacturer    Micro-Star International Co., Ltd.
BaseBoard Product    MPG B550 GAMING EDGE WIFI (MS-7C91)
BaseBoard Version    1.0
Platform Role    Desktop
Secure Boot State    Off
PCR7 Configuration    Binding Not Possible
Windows Directory    C:\Windows
System Directory    C:\Windows\system32
Boot Device    \Device\HarddiskVolume1
Locale    United States
Hardware Abstraction Layer    Version = "10.0.19041.1151"

Installed Physical Memory (RAM)    32.0 GB
Total Physical Memory    31.9 GB
Available Physical Memory    28.3 GB
Total Virtual Memory    40.9 GB
Available Virtual Memory    34.9 GB
Page File Space    9.00 GB
Page File    C:\pagefile.sys
Kernel DMA Protection    Off
Virtualization-based security    Not enabled
Device Encryption Support    Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not Modern Standby, Un-allowed DMA capable bus/device(s) detected, TPM is not usable
Hyper-V - VM Monitor Mode Extensions    Yes
Hyper-V - Second Level Address Translation Extensions    Yes
Hyper-V - Virtualization Enabled in Firmware    No
Hyper-V - Data Execution Protection    Yes
 

RogerS wrote on 12/8/2021, 2:26 AM

Please share media info for this file type. Instructions here: https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Since the old decoder (compoundplug; new one is so4compound) can't even play the file I'm going to guess that it's 10-bit or otherwise difficult to play.

Please go to help/driver update and see if your AMD graphics drivers are current.

You need to keep hardware decoding on for h.265 to playback well. You may need to re-encode the h.264 if we can't get it working.

Jeff-Maruschek wrote on 12/8/2021, 6:57 AM

Thank you for your time!

Here is the same H.264 file. * bit 4:2:0

General
Complete name                            : C:\Video Projects\LA7\Episode 1\Video\DSCF1533.MP4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42)
File size                                : 1.52 GiB
Duration                                 : 32 s 0 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 409 Mb/s
Movie_More                               : FUJIFILM DIGITAL CAMERA X-T4
Encoded date                             : UTC 2021-12-06 19:25:00
Tagged date                              : UTC 2021-12-06 19:25:00
Origin                                   : Digital Camera

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L6.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 32 s 0 ms
Bit rate                                 : 406 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 2.040
Stream size                              : 1.51 GiB (99%)
Language                                 : English
Encoded date                             : UTC 2021-12-06 19:25:00
Tagged date                              : UTC 2021-12-06 19:25:00
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 32 s 0 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Maximum bit rate                         : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 500 KiB (0%)
Language                                 : English
Encoded date                             : UTC 2021-12-06 19:25:00
Tagged date                              : UTC 2021-12-06 19:25:00

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 32 s 0 ms
Bit rate mode                            : Constant
Frame rate                               : 24.000 FPS
Time code of first frame                 : 11:34:44:00
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2021-12-06 19:25:00
Tagged date                              : UTC 2021-12-06 19:25:00

 

Here is info for one of the h.265 files:

General
Complete name                            : C:\Video Projects\LA7\Episode 1\Video\DSCF1510.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 576 MiB
Duration                                 : 23 s 0 ms
Overall bit rate                         : 210 Mb/s
Movie_More                               : FUJIFILM DIGITAL CAMERA X-T4
Encoded date                             : UTC 2021-10-28 17:12:59
Tagged date                              : UTC 2021-10-28 17:12:59
Origin                                   : Digital Camera
MVTG                                     :

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.2@High
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 23 s 0 ms
Bit rate                                 : 206 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 1.033
Stream size                              : 564 MiB (98%)
Language                                 : English
Encoded date                             : UTC 2021-10-28 17:12:59
Tagged date                              : UTC 2021-10-28 17:12:59
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : hvcC

Audio
ID                                       : 2
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : lpcm
Duration                                 : 23 s 0 ms
Bit rate mode                            : Constant
Bit rate                                 : 2 304 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 24 bits
Stream size                              : 6.32 MiB (1%)
Language                                 : English
Encoded date                             : UTC 2021-10-28 17:12:59
Tagged date                              : UTC 2021-10-28 17:12:59

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 23 s 0 ms
Bit rate mode                            : Constant
Frame rate                               : 24.000 FPS
Time code of first frame                 : 11:18:44:08
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2021-10-28 17:12:59
Tagged date                              : UTC 2021-10-28 17:12:59
 

Radeon 6700XT Driver already updated to 21.11.3 (11/16/21) but I see now there is a newer version which I'm downloading and installing now.

RogerS wrote on 12/8/2021, 7:49 AM

Please try the Radeon™ Pro Software for Enterprise, revision Number 21.Q4 which just came out last week. Pro is more intended for video editing and should remain stable as it's released less frequently.

For the AVC file it's not 10-bit but is very high bitrate. Perhaps the old decoder doesn't support that level of AVC. (aside: as it's Matrix coefficients : BT.601 you'll want to add a channel blend 601 to 709 preset or LUT to convert to REC 709)

See if the new driver helps things at all.

Jeff-Maruschek wrote on 12/8/2021, 10:31 AM

Thank you for the suggestion! However, there was no change.

Jeff-Maruschek wrote on 12/8/2021, 10:34 AM

I also thought it could be a problem with a high bitrate 400 Mb/s h.264 file...but I just tried with these two. (first is 200 Mb/s and next is a 100 Mb/s and still the same....Vegas recognizes, but can't play video. (audio is fine) Black screen:

General
Complete name                            : C:\Video Projects\test\DSCF1537.MP4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42)
File size                                : 245 MiB
Duration                                 : 10 s 0 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 205 Mb/s
Movie_More                               : FUJIFILM DIGITAL CAMERA X-T4
Encoded date                             : UTC 2021-12-08 11:18:48
Tagged date                              : UTC 2021-12-08 11:18:48
Origin                                   : Digital Camera

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 10 s 0 ms
Bit rate                                 : 197 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.992
Stream size                              : 235 MiB (96%)
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:18:48
Tagged date                              : UTC 2021-12-08 11:18:48
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 10 s 0 ms
Source duration                          : 10 s 5 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Maximum bit rate                         : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 156 KiB (0%)
Source stream size                       : 156 KiB (0%)
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:18:48
Tagged date                              : UTC 2021-12-08 11:18:48
mdhd_Duration                            : 10000

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 10 s 0 ms
Bit rate mode                            : Constant
Frame rate                               : 24.000 FPS
Time code of first frame                 : 11:42:38:06
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:18:48
Tagged date                              : UTC 2021-12-08 11:18:48

 

 

General
Complete name                            : C:\Video Projects\test\DSCF1538.MP4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42)
File size                                : 171 MiB
Duration                                 : 13 s 0 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 110 Mb/s
Movie_More                               : FUJIFILM DIGITAL CAMERA X-T4
Encoded date                             : UTC 2021-12-08 11:19:23
Tagged date                              : UTC 2021-12-08 11:19:23
Origin                                   : Digital Camera

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 13 s 0 ms
Bit rate                                 : 104 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.525
Stream size                              : 162 MiB (95%)
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:19:23
Tagged date                              : UTC 2021-12-08 11:19:23
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 13 s 0 ms
Source duration                          : 13 s 13 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Maximum bit rate                         : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 203 KiB (0%)
Source stream size                       : 203 KiB (0%)
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:19:23
Tagged date                              : UTC 2021-12-08 11:19:23
mdhd_Duration                            : 13000

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 13 s 0 ms
Bit rate mode                            : Constant
Frame rate                               : 24.000 FPS
Time code of first frame                 : 11:42:48:07
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2021-12-08 11:19:23
Tagged date                              : UTC 2021-12-08 11:19:23

Howard-Vigorita wrote on 12/8/2021, 11:09 AM

@Jeff-Maruschek I see there's a Time Code stream in the avc clips which is an extension of the mp4 spec. You might try doing an ffmpeg mp4-to-mp4 stream copy of just the audio and video streams. Or copying all 3 streams into an mov container.

Jeff-Maruschek wrote on 12/8/2021, 12:36 PM

ffmpg command used: ffmpeg -i DSCF1537.MP4 -map_metadata -1 -c:v copy -c:a copy DSCF1537m.MP4

Howard, thank you for your post....I tried that with the 1537.mp4 file above and it made no difference. Here is the new Mediainfo: (added an m to the new file name)

General
Complete name                            : C:\Video Projects\test\DSCF1537m.MP4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 236 MiB
Duration                                 : 10 s 0 ms
Overall bit rate                         : 198 Mb/s
Writing application                      : Lavf58.76.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 10 s 0 ms
Bit rate                                 : 197 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.992
Stream size                              : 235 MiB (100%)
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 10 s 0 ms
Duration_LastFrame                       : -5 ms
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 156 KiB (0%)
Default                                  : Yes
Alternate group                          : 1

Jeff-Maruschek wrote on 12/8/2021, 2:17 PM

Now I think about it...it's probably easier to just ffmpeg from 264 to 265...just tried it...it works...I can just always film in 265...it just stinks that I can't open both at the same time with acceptable decoding. (and having to remember this 6 months from now when someone sends me a h.264 file...knowing which setting to change and restart Vegas)

Since Vegas 18 can decode 400 mb/s h.264 no problems with my CPU...but not with hardware decoding on my Radeon 6700XT...seems like a Vegas/Radeon6700 issue...stinks.

I might try to reinstall Vegas at some point...maybe I changed some other setting a while ago that's screwing things up.
 

I also don't understand why h.265 NEEDS hardware acceleration....when it stutters without...looks like the driver is single threaded and I'm seeing 10% CPU just because there is only one logical processor pegged.

 

Any chance Vegas 19 might see improvement in this regard?

 

I appreciate everyone's ideas.Please keep them coming of folks see something else.

Former user wrote on 12/8/2021, 7:30 PM
 

I also don't understand why h.265 NEEDS hardware acceleration....when it stutters without...looks like the driver is single threaded and I'm seeing 10% CPU just because there is only one logical processor pegged.

 

Any chance Vegas 19 might see improvement in this regard?

 

I appreciate everyone's ideas.Please keep them coming of folks see something else.

@Jeff-Maruschek I tested VP18 against Premiere because they are similar in their use of cpu, Resolve does some magical stuff where the GPU is always hooked in doing something during playback, but Premiere like Vegas only uses GPU when needed. I torture tested both with a 4k HEVC 422 120fps clip. To prevent any sort of automatic ram caching I didn't let them loop, manually stopped and started. Compare the cpu use

This demo is played back at 2x speed because it's just the graphs that are interesting. Premiere looks like it's playing smooth and it is playing much smoother than Vegas obviously but the yellow dot shows it's dropping frames. But the difference is huge, Premiere will use 100% of my CPU , Vegas won't

VP19 is the same, I don't think Vegas has ever been upgraded in this respect

RogerS wrote on 12/8/2021, 7:57 PM

I don't have an AMD GPU so can't replicate (XT-3 footage here works okay with Intel decoding). Feel free to share a sample of your footage if you want others with different systems to test it.

Hopefully Vegas or AMD driver updates will improve support- every version of VP has been fixing bugs and from time to time we get performance improvements too, so it's not the end of the story.

If you want to reinstall Vegas to fix bad settings, I would instead just do a reset.

Former user wrote on 12/8/2021, 8:55 PM

@Jeff-Maruschek can you provide a sample clip from your camera of the format that you are having the trouble with to dropbox, google drivet etc. I"m always interested in problem AVC clips. Checked on google, plenty of XT-3 clips, but didn't see any XT-4, like RogerS no problems in playing XT-3 AVC with GPU decoding (Nvidia)

Howard-Vigorita wrote on 12/9/2021, 12:00 PM

As an fyi, I looked at the xt-3 avc clips and they're different. They have gop n=1 whereas the nt-4 above indicates "M=1, N=12". Don't know if the xt-4 has an intra setting to make them more alike. An ffmpeg transcode with libx264 would probably do it. h264_amf with a 6700xt should be quicker.

Jeff-Maruschek wrote on 12/9/2021, 2:04 PM

Everyone...thank you so much for your input and suggestions...I'll upload some examples later today.

Jeff-Maruschek wrote on 12/9/2021, 4:17 PM

Here is a quick 400 MB/s 4k H.264 file direct from my X-T4. (just over 200MB)

https://drive.google.com/file/d/1kxg13n9wdmDXr3mJkQfhok5XGgU3N82b/view?usp=sharing

As a reminder...with hardware DECODING set to off....on my machine, Vegas 18 plays these files perfectly with about 40% CPU. At the same time, on this setting of OFF, H.265 files stutter on playback and editing...and take FOREVER during a rendering.

With hardware decoding set to AMD UVD/VCN, Vegas cannot decode or encode H.264 files like the one I've shared. However, at this setting, it can encode/decode H.265 perfectly and at a completely reasonable speed.

For people looking into this...we're trying to figure out why my setup can't decode H.264 files from my X-T4 with the GPU (hardware decoding)

Thanks again everyone!

 

Jeff-Maruschek wrote on 12/9/2021, 5:00 PM

Also, I just tried a reset and it made no difference.

Former user wrote on 12/9/2021, 5:59 PM

Here is a quick 400 MB/s 4k H.264 file direct from my X-T4. (just over 200MB)

https://drive.google.com/file/d/1kxg13n9wdmDXr3mJkQfhok5XGgU3N82b/view?usp=sharing

No problem with decoding on Nvidia

As a reminder...with hardware DECODING set to off....on my machine, Vegas 18 plays these files perfectly with about 40% CPU. At the same time, on this setting of OFF, H.265 files stutter on playback and editing...and take FOREVER during a rendering.

This is an excellent point you bring up about HEVC decode with CPU only, people in the past have always said it's reasonable for Vegas to not be able to playback HEVC without decode, as the files are so highly compressed but as you've said and I've shown Vegas will only use a tiny bit of CPU for decode of HEVC(without GPU decode), while it will use 80%+ CPU for AVC decode. It's very curious why Vegas is setup like this, it makes no sense, it also most likely explains the bad playback of HEVC with gpu decoding, if only that small amount of CPU can be accessed for decoding, the limits of acceptable playback are just a little wider with GPU decode set to on

Jeff-Maruschek wrote on 12/9/2021, 8:26 PM

@Former user, this isn't about Legacy AVC...what GPU are you using and what's your hardware decode setting?

Former user wrote on 12/9/2021, 9:33 PM

@Former user, this isn't about Legacy AVC...what GPU are you using and what's your hardware decode setting?

Have you checked if your GPU will decode XT3 AVC?

Here's a direct link, I don't have the webpage link anymore. if a player pops up, look for a 'save as' option

https://www.imaging-resource.com/PRODS/fuji-x-t3/FULLRES/yvid-xt3-DSCF7273-h264-Standard.MOV

@Howard-Vigorita The graphs look a bit different, but at this point I don't think we know if Vegas can decode All I-frame AVC with his GPU decoder

Poster's video is on the left, XT3 on right

Jeff-Maruschek wrote on 12/9/2021, 9:46 PM

I at first did not watch your video because you mentioned Legacy settings. I haven't had legacy settings on (checked) at all. But I did just watch it and it looks like you've demonstrated that a 3090 GPU can play the files with hardware decoding on. Thank you for your time making the video!

I've read this thread a few times & still don't understand why are you turning hardware decoder off?

I'm turning hardware decoder off because that's the only way I can play my H.264 files. No other way or combination of settings.

Your initial comment 'I don't care about H.265 but have some footage I need to use for the next project..' implies all you need to do is get the H.264 playing.

This is true, but after all of this, I think I'm just going to film in h.265 from now on and go from there. I'm lucky I got my 6700 and don't feel like spending $800 (and the time to try to get one right now) for an NVIDIA card JUST so I can easily edit both 264 and 265.

Jeff-Maruschek wrote on 12/9/2021, 9:56 PM

Thank you for this! I tried and it's the SAME. Loads into the timeline...no thumbnail...plays...but complete black screen.

It's looking more and more like a AMD Radeon 6700XT issue...or the way Vegas jives with a 6700XT.

Have you checked if your GPU will decode XT3 AVC?

Here's a direct link, I don't have the webpage link anymore. if a player pops up, look for a 'save as' option

https://www.imaging-resource.com/PRODS/fuji-x-t3/FULLRES/yvid-xt3-DSCF7273-h264-Standard.MOV

@Howard-Vigorita The graphs look a bit different, but at this point I don't think we know if Vegas can decode All I-frame AVC with his GPU decoder

Poster's video is on the left, XT3 on right

 

RogerS wrote on 12/10/2021, 1:11 AM

Maybe file a support request if you haven't already.

Not being able to decode Fuji 8 bit h264 files with the Radeon 6700XT is strange. @VEGASHeman

Howard-Vigorita wrote on 12/10/2021, 9:00 AM

@Jeff-Maruschek tried that clip on a few of my systems and I get blank screens if I set decoder to Intel 630 or 750 as well as AMD Vega64 or 6900xt. Decoding with Nvidia 1660 or 1050ti is fine. Wondering if some hardware decoders just can't handle the avc bitrate... I didn't focus on that at the time but looking back at the ffmetrics quality testing I did months ago and drilling down on avc, I see I couldn't get anything much over 200 mbps with a variety of software unless I employed Nvidia or CPU decoding. Not sure what Vegas can do about that except maybe fall back to cpu decoding for hardware that cannot handle high bitrate avc.