Slow Audio Waveform Generation

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

ToejahM

  • Posts: 2
  • Joined: Mon Sep 09, 2024 10:32 pm
  • Real Name: Simon Lynch

Slow Audio Waveform Generation

PostMon Sep 09, 2024 11:11 pm

It seems like no matter what drive I try it on, the wave forms take a while to generate and the disk is only ever running around 80-100MB/s when capable of much faster speeds, tried on multiple different drives.

Did I miss a setting or is this normal? I'm using the mkv container and files around 20gb, I've tried remuxing them to no avail.
Offline

Reynaud Venter

  • Posts: 6447
  • Joined: Sun May 28, 2017 9:34 am

Re: Slow Audio Waveform Generationq

PostTue Sep 10, 2024 7:53 am

Which Resolve version and operating system? Is this on the Edit or Fairlight Timeline?

What is the source media format and codec? What is the source media duration?

Waveforms require some time to build, especially with a lot of media with longer durations.

Is the working folders path local or a network volume?
Mac Pro 7,1 Rack • Resolve Studio 20.0 • macOS 15.5 (24F74)
Merging Hapi • Anubis • Premium VAD (3.5.0) ↔︎ Lawo VSC (1.0.0)
Offline

ToejahM

  • Posts: 2
  • Joined: Mon Sep 09, 2024 10:32 pm
  • Real Name: Simon Lynch

Re: Slow Audio Waveform Generationq

PostTue Sep 10, 2024 9:32 am

Version: 19.0.1 Build 6
Timeline: Cut / Edit - doesn't matter where.
Source Media Format: mkv h264 L4.2 / Audio codec: AAC - duration determines how long it takes but for example a four hour video took over 2 minutes to generate the wave form
Working folder path: Local, from a Samsung Evo 970 Plus to a MX500 SSD to a Seagate Barracuda HDD. I've tried them all.

The read speed according to disk activity once dragged onto the timeline or into the cut page is significantly much lower than what's rated on each drive which is which I thought might be a setting somewhere.

Evo 970 Plus: About 110 MB/s (out of 3500MB/s)
MX500: About 80 MB/s (out of 500MB/s)
Seagate Barracuda HDD: About 30 MB/s (out of 200MB/s)

PC Spec and load when putting a new file in (up to 28GB files)
9900K @ 4.7Ghz (8-12% Load)
32GB DDR4 3600Mhz Ram (34% Load)
RTX 3070 (20-30% Load)

My thought that it was caching into the ram as if you delete the entire cache and put the file back in again, the waveform is instantly there again, even after a reload of the program. It's cached into a working folder that you set and the files are tiny, no more than 55mb but it's not deleted under managing the cache from the program you have to do that manually.

I get that it has to read the large video files but I don't understand why the program is reading them so slow in comparison to the read speed of the drive or the hardware assisting it, so I was wondering if I had missed a setting somewhere to speed this up.

A caveat to this is that a friend of mine videos live bands using a bunch of different cameras, puts in 90minute videos that are 40gb and they are near instant. Codec is h264 L5.2. / audio codec: Linear PCM

I just tried with my DJI Osmo Action 4 and that has a codec of h265 L5.0 / audio codec: AAC. The file was 16gb, 20minutes long and very much instant.

So is this a codec issue of the files that come from OBS? Recorded using the nvidia nvenc h264 on the p7 preset, two passes @ 10000Kbps. Is it the video codec decompression the first time davinci reads it just limiting the speed?
Offline

Mads Johansen

  • Posts: 1428
  • Joined: Mon Dec 19, 2016 10:51 am

Re: Slow Audio Waveform Generationq

PostTue Sep 10, 2024 12:18 pm

Assuming best possible circumstances: Local M2 drive, super fast CPU, then your speed is normal.

I get about 70MB/s reading 4 files for waveform generation, reading from a SSD. I'm limited by my single core CPU speed, so yours are an envy. (23 hours of video took 2 minutes 40 seconds)

Keep in mind that it's not all of the 20GB that Davinci reads, it's only the audio portion of the file.
Davinci Resolve Studio 20 build 49, Windows 11, Ultra 7 265k, Nvidia 5070 TI, 576.80 Studio
Offline

GamerKitty Euphoric

  • Posts: 380
  • Joined: Mon May 08, 2023 8:19 pm
  • Real Name: Kat Krueger

Re: Slow Audio Waveform Generationq

PostTue Sep 10, 2024 2:59 pm

wave form gen is pretty slow depending on the size of clips you're using, it also won't generate unless you have the track height opened I've noticed
Systems: I have two a desktop and a laptop.

Desktop Specs: 3070 Nvidia with 8GB Vram, 64 RAM, Ryzen 7

Laptop Specs: 2060 Nvidia 6GB Vram, 64 GB ram i7

Both are windows 11 both using Davinci Studio 19.0.1
Offline

OhanaFilms

  • Posts: 42
  • Joined: Fri Oct 18, 2024 9:18 pm
  • Real Name: Kent Rayhill

Re: Slow Audio Waveform Generationq

PostMon Nov 25, 2024 1:44 am

This is a big issue that is REALLY slowing my productivity to a crawl. The time it takes to draw waveforms on longer clips is simply unacceptable in 2024. This is one of the few things about Resolve that has me missing Premiere.
Offline
User avatar

Uli Plank

  • Posts: 25482
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Slow Audio Waveform Generationq

PostMon Nov 25, 2024 1:55 am

Yeah, it's pretty slow, about 30 seconds per one hour in the timeline for AAC audio.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3

Return to DaVinci Resolve

Who is online

Users browsing this forum: ravirai and 218 guests