Is it a Vegas setting, a codec issue, or something else entirely?!

Mobby wrote on 11/7/2023, 2:32 PM

Hello, I often work with recordings from my Sony Alpha 4, and despite trying various settings in Vegas, I haven't come close to being able to smoothly review the footage in the trimmer. When I drag the clips into the timeline, it becomes quite challenging to watch everything fluidly up to a certain point. Whether I reset Vegas or explore different settings in an attempt to make the codec more tolerable for the program, the issue persists in this scenario.

To give you a better understanding of my problems, I've recorded a short video. Here, you can see how long it takes for the preview thumbnails to load. I have to let this process run each time since the CPU is already heavily utilized. I hope this information is sufficient for now, and I'm happy to provide more details if needed.
 

Since my English is not very proficient, I had the text translated, and I hope that you can still somewhat understand the issue I've described.

Comments

Former user wrote on 11/7/2023, 2:48 PM

@Mobby Hi, can you share the MediaInfo of that clip?

The App is called MediaInfo, download it, it's free & a fast download with no added adverts or any of that rubbish. https://mediaarea.net/en/MediaInfo
After downloading, right click on the media file in your Windows folder, open MediaInfo, choose Text from the options at the top, Copy & paste the information in a new comment on here 👍

Like this

You could share a sample file?

  1. Open Google, top right is a sq of dots - Open Google Drive.
  2. Drag that video onto the Google Drive window, let it upload.
  3. Right click on the file on screen - Share.
  4. A window will pop up, General Access - choose anyone with the link - Copy link.
  5. Then on here in a new comment at the top there's a chain button, paste the link on there
  6. Click Comment
Mobby wrote on 11/7/2023, 3:02 PM

Hello, thank you very much for the quick response. Here are the required data:

Format                                   : XAVC

Format: XAVC
Codec ID                                 : XAVC (XAVC/mp42/iso2)
File size                                : 544 MiB
Duration                                 : 15 s 360 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 297 Mb/s
Frame rate                               : 100.000 FPS
Encoded date                             : 2023-11-05 01:26:02 UTC
Tagged date                              : 2023-11-05 01:26:02 UTC

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:2:2@L6
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 15 s 360 ms
Bit rate mode                            : Variable
Bit rate                                 : 290 Mb/s
Maximum bit rate                         : 280 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Rotation                                 : 270°
Frame rate mode                          : Constant
Frame rate                               : 100.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 10 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.349
Stream size                              : 531 MiB (98%)
Encoded date                             : 2023-11-05 01:26:02 UTC
Tagged date                              : 2023-11-05 01:26:02 UTC
Color range                              : Full
Metas                                    : 3
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : PCM
Format settings                          : Big / Signed
Codec ID                                 : twos
Duration                                 : 15 s 360 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 2.81 MiB (0%)
Encoded date                             : 2023-11-05 01:26:02 UTC
Tagged date                              : 2023-11-05 01:26:02 UTC

Other
ID                                       : 3
Type                                     : meta
Format                                   : rtmd
Codec ID                                 : rtmd
Duration                                 : 15 s 360 ms
Bit rate mode                            : Constant

Howard-Vigorita wrote on 11/7/2023, 4:28 PM

@Mobby It's a codec problem in the sense that gpus do not support decoding avc 4:2:2... only way to get a gpu to decode it is to transcode it to 4:2:0. I just tried playing a sample of that format and Vegas does generate a bit of gpu copy utilization... I assume for caching.

Former user wrote on 11/7/2023, 5:20 PM

@Mobby Thanks n sorry had to go out @Howard-Vigorita I just created an XAVC 422 AVC & had no prob with it, I've not a lot of experience with these so if it's not the right type of file can you share one or tell me how to create one?

mark-y wrote on 11/7/2023, 5:21 PM

290 Mbps 100fps 10 bit 4:2:2 will likely never preview smoothly [edit /] in Vegas [/] on any terrestrial system.

I wonder if you could get by with less extreme shooting settings.

What will it be used for?

Build a Proxy file using the posts on this forum as your guide. Search.

GJeffrey wrote on 11/7/2023, 5:35 PM

The OP file seems to be a mp4 file.

Rewrapping to an mxf one may help with preview speed because Vegas will use another dll to read it.

fr0sty wrote on 11/7/2023, 5:39 PM

Right click on the file, "create video proxy" from the right click menu, wait for the proxy to finish, set preview quality to preview, and it will play back smoothly.

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 11/7/2023, 7:42 PM

290 Mbps 100fps 10 bit 4:2:2 will likely never preview smoothly on any terrestrial system.

@mark-y 120fps version plays back ok on Resolve. Vegas's render engine is inefficient, but it still doesn't mean it can't be played back on Vegas, @Former user with his threadripper most likely could play it fine, but not for most people.

 

Former user wrote on 11/7/2023, 7:49 PM

@Former user I missed out the 100fps bit, I couldn't work out how to create that,the best i could do was XAVC 422 AVC 59.94.

Mobby wrote on 11/8/2023, 3:56 AM

Hello, first of all, thank you very much for the numerous responses.

@fr0sty

I want to begin by mentioning that I'm familiar with creating proxy files and do use them. However, this doesn't solve the issue of having to wait for everything to update before I can begin working. What's also bothersome is that the creation of proxy files doesn't seem to affect the trimmer since it likely still accesses the original file. It only becomes a problem during editing when a larger composition is involved with multiple files added. My primary concern here is the overall performance of the program with such files, and I believe there are underlying issues that go beyond proxy creation.

@mark-y

As @Todd-A0 has already pointed out, Resolve allows for processing files without the need for proxy creation or extensive setup. I don't like making comparisons, and I do want to continue working with Vegas, but it's becoming increasingly frustrating when I feel like I have to go through countless settings before I can work on my footage. This shouldn't be the case.

That's why I had to mention this problem, and from what I've read here, the suggestions seem to revolve around either altering the actual file or Vegas lacking certain attributes to properly handle such files. If I missed something or if the automatic translator has presented statements differently, I apologize. I would appreciate it if someone could perhaps summarize the whole issue once more.

RogerS wrote on 11/8/2023, 4:20 AM

@Mobby Here's my attempt to summarize.

10-bit 4:2:2 files don't work with GPU decoding with any GPU or editing software and this is the main tool VEGAS has to improve playback performance. Other editors can use different GPU resources to achieve smooth playback. We've learned that a new video engine for VEGAS is in the works, but until it exists that doesn't help us.

For now you can test the formats your camera is capable of shooting and find ones that work well in VEGAS and give you the quality and file size you are looking for. 10-bit 4:2:0 AVC should work fine and 10-bit 4:2:0 HEVC may be fine as well. (There is also an update coming shortly for VP 21 which may help with HEVC).

Otherwise you can convert them to a file type VEGAS works well with, or create a proxy file to speed playback. It isn't a settings issue.

 

Last changed by RogerS on 11/8/2023, 4:20 AM, changed a total of 1 times.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.239

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

mark-y wrote on 11/8/2023, 7:56 AM

@Mobby I am sorry, my response to you was not generalized to accommodate other nonlinear editors, including the one you and another contributor mentioned by name. I did not mention that my advice was specifc to Vegas, with which I am most familiar.

Best of the Holiday Season!

Howard-Vigorita wrote on 11/8/2023, 9:00 AM

As an fyi, the clip in this format I tested on my laptop was over an hour long. It edited and played OK... see laptop specs in my signature. Just tried it with the new vp21 release as well as vp20 and no difference I can detect.

Considering only the low gpu utilization mentioned at first, Vegas proxies won't change that since they use xdcam-mp4 format which only cpu-decodes. Though there could be an impact due to increased decoding speed feeding gpu-accelerated fx more quickly. Only a transcode to a format gpus can decode will otherwise increase gpu utilization. If you want to preserve the 422 color, hevc is the only gpu format option available. But it only decodes with recent-model Intel gpus. Not with Nvidia & Amd. Next best choice is 420 avc which all 3 gpu makers can decode. It probably also needs to be cut back to 8-bit. Another way to go, somewhat like xdcam low-compression, is ProRes. That will preserve 422 and 10-bit but make even larger files and likely increase cpu utilization.

Mobby wrote on 11/8/2023, 10:05 AM

If it's acceptable and allowed, I would like to provide the clip for you to test and see how it performs on your end. I don't have significant issues with playing back a clip myself, but perhaps it may help others in testing some aspects.

https://we.tl/t-CHZG40wFrh

I hope the next update will address this issue and enable the processing of such recordings. Even though I occasionally use other programs for specific tasks, I'm a dedicated Vegas user and would like to continue using it.

Wolfgang S. wrote on 11/8/2023, 10:35 AM

I would try to set the project properties to 25 fps, and preview it with the preview quality preview/half. Then you should be able to edit it in Vegas at least (depending on what you wish to do).

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Howard-Vigorita wrote on 11/8/2023, 10:37 AM

That clip is 100 fps. But otherwise the same avc 422 format as the 50 fps clip I already have from another recent thread. After I exploded it into an hour+ loop with a video concatenation script I usually use to join camera clips. Seem to be getting allot of complaints about that format lately... which should also go to the camera makers as well as the gpu makers. Though I doubt it'll get much traction from the gpu makers since the rest of the world is moving away from avc.

I agree with @Wolfgang S. on reducing the project rate. When doing slomo edits, even a lower rate works well... Vegas has presets for both 1/2 ntsc as well as 1/2 pal.

Wolfgang S. wrote on 11/8/2023, 10:49 AM

Sure the clip is 100 fps. But with the suggested settings, I achieve both a smooth playback and see no continuing playback after stoping the playback. Tested on my laptop.

Maybe that helps to edit the footage within Vegas Pro 21 b187, even if it is not a perfect solution but more a workaround.

Desktop: PC AMD 3960X, 24x3,8 Mhz * RTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

Former user wrote on 11/8/2023, 12:24 PM

Hi, just for the record, I get similar playback to you @Mobby but changing the project to 25fps as suggested it plays ok.

RogerS wrote on 11/8/2023, 7:31 PM

100 fps clips are great for slow motion on a 25p or 50p timeline. Right-click and select "add at project framerate" and it will be conformed to the right speed.

GPU makers aren't going to support 10-bit 4:2:2 AVC and stopped development of it years ago, so consider other capture settings if you need greater performance.