Very slow preview with iPhone 4K/60fps/HDR video

juafromspace wrote on 12/30/2022, 3:33 AM

Hello,

I'm using Vegas Pro 20, trying to edit MOV video files from an iPhone, filmed in HEVC 4K 60fps with HDR enabled (I can post MediaInfo if needed, but I guess iPhones are popular enough that he video file properties are known). The Vegas project settings match the video files, and HDR mode is set to HLG.

Just dropping one of those video files into the timeline, with no editing, no video FX, no transitions, etc., and the preview window set to "Draft (Auto)", I'm getting less than 1 fps playback speed. Disabling Legacy HEVC Decoder slightly improves things and I get about 2 fps, but that's still unusable.

The computer is fast enough to handle the material: Ryzen 7 3700X, GeForce RTX 3070, 64 GB RAM. The same video files play fine in video players on the machine, and I also have DaVinci Resolve Studio installed which plays them back on the timeline just fine with a smooth 60fps.

I assume there's something wrong with my Vegas setup. I'm not currently expecting Vegas to meet Resolve's performance, but it shouldn't be *that* slow, right? What can I try to maybe improve the situation?

Thanks in advance for any help

Comments

RogerS wrote on 12/30/2022, 3:59 AM

I don't think there are magic settings to improve performance.

While 32-bit full does use GPUs, 4K 60 is asking a lot for it. Proxy files are likely the way to go and as Vegas doesn't support Dolbyvision I'd skip HDR as well at the capture stage.

Reyfox wrote on 12/30/2022, 4:10 AM

I too have Resolve Studio. Nice software. But I still can't find myself doing timeline editing with it. Vegas for "me", is just easier and faster. As @RogerS mentioned, proxies. HDR? Unless you have a monitor that is HDR, not sure about using it. HEVC? It reminds me of when H264 was first introduced. Most software and computer builds struggled with it. Then there is the possibility of having a variable frame rate video file, common in cellphone videos no matter the make/model. MediaInfo will let you know.

There is SHUTTER ENCODER and/or HANDBRAKE can make those 60P 4K HEVC MOV files more acceptable for Vegas.

juafromspace wrote on 12/30/2022, 4:24 AM

doesn't support Dolbyvision I'd skip HDR as well at the capture stage

The Dolby Vision profile used by modern iPhones is based on HLG, so setting Vegas HDR mode to HLG gives me sufficiently good results, even without interpretation of the extra Dolby Vision metadata. (I have not yet done a comparison though with results from Final Cut, so maybe I'm missing out on extra HDR quality and haven't realized it yet.)

Unless you have a monitor that is HDR, not sure about using it.

I have an HDR screen and playing these video clips with HDR looks gorgeous 😀. I don't want to capture without it anymore.

I too have Resolve Studio. Nice software. But I still can't find myself doing timeline editing with it.

Same here, I also greatly prefer the Vegas workflow. I'm a long time Vegas user since version 3.0, I have made attempts in the past to switch to Resolve, and also to Final Cut, but came back to Vegas every time. But right now, the performance problems here are just too great, so for this kind of project I guess I will have to begrudgingly use Resolve or Final Cut.
I will try out proxy files though (do the proxy files support HDR?).

Btw, a rather bizarre detail: when I render the project in Vegas to a UHD HDR10 HEVC file with the Magix HEVC encoder and NVENC enabled... the rendering process performs with higher fps than the timeline preview playback. At least to me, that's unexpected, as rendering is usually slower than preview...

Reyfox wrote on 12/30/2022, 4:35 AM

I can't answer support in the encoders as to whether they will retain all of your settings. But rendering on Vegas is surprisingly fast depending on the file format and whether you use CPU/GPU. I rendered a plain vanilla MP4 1080HD video to 720HD. It was blistering fast. Using computer in my signature below.

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.1

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

RogerS wrote on 12/30/2022, 4:39 AM

I've only seen screenshots but DolbyVision on the phone or in FinalCut and HLG in Vegas looked quite different. If it's acceptable though that's fine. I'd probably opt for Final Cut for this workflow if it's an option as Apple knows its own products.

Dexcon wrote on 12/30/2022, 4:52 AM

... and I also have DaVinci Resolve Studio installed which plays them back on the timeline just fine with a smooth 60fps.

If DaVinci Resolve Studio 18, so it should because Studio 18 works with Dolby Vision when selected as a preference (but the free Resolve version doesn't have Dolby Vision access).

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

Yelandkeil wrote on 12/30/2022, 5:28 AM

Hi @juafromspace, please keep your HDR-shooting!

According to your HW the workflow can go in 2 steps without any proxy.

  • cut and edit in 8bit mode till you are satisfied with your story - if no smooth playback view, use dynamic RAMview;
  • color grade in HDR10 mode, don't choose HLG which is a TV-Station-format - you said you have an HDR(10) display.

I did a small test for iPhone footage and the result looks great

.

Forget those Dolby Dielby Vision, it's just cheating for their license that you could buy. But we are HDR-amateurs.

Stay with HDR10 - 10bit depth HDR-video for displays we're able to purchase, and license free.

 

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Former user wrote on 12/30/2022, 8:02 PM
 

Just dropping one of those video files into the timeline, with no editing, no video FX, no transitions, etc., and the preview window set to "Draft (Auto)", I'm getting less than 1 fps playback speed. Disabling Legacy HEVC Decoder slightly improves things and I get about 2 fps, but that's still unusable.

I was thinking you have a problem with your computer settings, as I was giving the Vegas team high praise for fixing Iphone HEVC 10bit just the other day. Well it turns out, it will use Nvidia Gpu decoder for some 10bit HEVC Iphone files, BUT it will be turned off on others.

Example this Iphone 12 video will not play with GPU decode

  • com.apple.quicktime.software             : 14.1
  • Format                                   : HEVC
  • Format/Info                              : High Efficiency Video Coding
  • Format profile                           : Main 10@L5.1@High
  • HDR format                               : Dolby Vision, Version 1.0, dvhe.08.0A, BL+RPU, HLG compatible
  • Codec ID                                 : hvc1
  • Codec ID/Info                            : High Efficiency Video Coding

This Iphone 13 video will play with GPU decode

  • com.apple.quicktime.software             : 15.1.1
  • ID                                       : 1
  • Format                                   : HEVC
  • Format/Info                              : High Efficiency Video Coding
  • Format profile                           : Main 10@L5@Main
  • HDR format                               : Dolby Vision, Version 1.0, dvhe.08.07, BL+RPU, HLG compatible
  • Codec ID                                 : hvc1
  • Codec ID/Info                            : High Efficiency Video Coding

Although Vegas isn't reading the dolby metadata it can be seen the Dolby VIsion was upgraded for Iphone 13, which probably also updated iphone12's via OS update. So maybe you do get gpu decode on all Iphones with the latest OS, but not for older HEVC 10bit recorded on earlier software/firmware