Generating subtitles Resolve goes into infinite loop

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

Håkan Mitts

  • Posts: 355
  • Joined: Tue Aug 04, 2015 10:22 am

Generating subtitles Resolve goes into infinite loop

PostFri Apr 19, 2024 10:54 am

Sometime (but not always, more like 1/5 times) when I try to generate subtitles in Resolve, Resolve goes into a very "aggressive" infinite loop.

The subtitle generation stops at the "Initialize" stage, CPU and GPU work at high capacity. Most strangely, if Smart cache is enabled, Resolve goes "berserk" with writing files into the clip cache. If render cache is set to "none" Resolve just freezes. In both cases, only way to recover is to kill Resolve from the Taskmanager, pressing "Stop" in the UI has not effect.

Sometimes choosing an ohter track helps and I can generate from there, in this last case, none of my 3 audio tracks worked.

A couple of screenshots:

Taskmanager load:
subtitles.jpg
subtitles.jpg (55.32 KiB) Viewed 4619 times


Files generated
subtitles2.jpg
subtitles2.jpg (87.63 KiB) Viewed 4619 times


Result of waiting about 1-2 minutes for the process to complete. Yesterday when I took a coffee break after starting subtitle generation Resolve had nenerated about 30 Gb of files and the number of files was close to half a million. Good stresstest for the SSD..
subtitles3.jpg
subtitles3.jpg (51.81 KiB) Viewed 4619 times


Log etc here: https://www.dropbox.com/scl/fi/glwkz6ng6pq5htjd29ybp/subtitles.zip?rlkey=egppyu8qasovsh7kvk4rgo9fg&dl=0
Resolve Studio 20.0.0/Windows 10/AMD 5600x/64GB/RX 6600
Resolve Studio 20.0.0/Windows 11/Intel Core Ultra 7 258V/32 GB/Arc 140V
Offline
User avatar

AndreN

  • Posts: 65
  • Joined: Wed Sep 09, 2020 4:00 pm
  • Location: Erfurt
  • Real Name: Andre Neumann

Re: Generating subtitles Resolve goes into infinite loop

PostFri Jun 21, 2024 6:23 am

Did you ever found a solution? After trying to create subtitles from audio (German, tried different settings, auto etc.) I am stuck on initializing… and can’t stop the process. I have to force quit resolve.

--
Edit: I had to turn off Voice iso audio effect. Works now. Phew.


Thanks
Andre
DR20 studio MBP M3 pro 2023, Seqoia 15.5 18gb RAM. SpeedEditor
DR20 11’ iPad Pro m4, 8gb RAM

Coming from AVID. Working as DoP, editor, musician, just a guy for everything.
www.n13-media.de
www.instagram.com/xnthirteenx
Offline
User avatar

Firehouse Creative

  • Posts: 120
  • Joined: Fri May 01, 2020 6:57 pm
  • Location: Nashville, TN
  • Real Name: Wes Langdon

Re: Generating subtitles Resolve goes into infinite loop

PostThu Jul 18, 2024 3:03 pm

Came here after pulling my hair out over this all morning, worked yesterday. Can confirm, disabled the new AI tools on my dialogue track and tried it again and it worked fine.
---
Wes Langdon
Instagram: @supervibrant

Resolve Studio 19.1.4 | Mac Studio M1 Ultra (20-core) | macOS Sequoia (current) | Resolve Mini Panel | Resolve Editor Keyboard | Ultrastudio 4K Mini > LG EP950 & CX | Synology DS1821+ via 10Gbe NFS
Offline

ectoruseff

  • Posts: 31
  • Joined: Tue Aug 15, 2023 7:06 pm
  • Real Name: Ecto Ruseff

Re: Generating subtitles Resolve goes into infinite loop

PostWed Nov 20, 2024 2:10 am

It's insane, as soon as I disabled AI audio tools like ducker and voice isolation - It started working fine.

Also, Dialogue separator is causing audio rendering issues - some initial part of audio is rendered and rest of the audio is just not rendered (it's mute).
Offline

BorisMcGoo

  • Posts: 8
  • Joined: Thu Jan 04, 2024 6:16 am
  • Real Name: Boris McGooligan

Re: Generating subtitles Resolve goes into infinite loop

PostSat Jan 11, 2025 4:19 am

This happened to me on a recent project. I had a documentary that was 60 minutes long and the subtitle function stopped halfway through. I went over to Premiere Pro (boo!) and that was even worse - it stated that it would take 3 days, so I found a workaround. I reckon that a long project is too much for DaVinci so I simply split the subtitle generation into 6 x 10 minute chunks. Just set an In and Out point and generate the subs in bits. Clear the I & O using alt or option and x, and keep going - no problem at all. I must also say that the subs it generated were really impressive - putting quotation marks where necessary and getting names and complex words entirely correct. Of course you have to check the subs and adjust where necessary, but overall, they were 99% accurate. Export the sub file by right clicking on the sub track. Hope this helps.
Offline
User avatar

LucaL1fe

  • Posts: 4
  • Joined: Sun Mar 23, 2025 10:42 am
  • Real Name: Luca Köster

Re: Generating subtitles Resolve goes into infinite loop

PostTue Apr 01, 2025 12:59 pm

I just wanted to say that I’m still encountering this problem (19.1.4), it's really annoying and a fix would be really appreciated!
Offline
User avatar

LucaL1fe

  • Posts: 4
  • Joined: Sun Mar 23, 2025 10:42 am
  • Real Name: Luca Köster

Re: Generating subtitles Resolve goes into infinite loop

PostTue Apr 01, 2025 3:02 pm

For me works:

1. Highlight all relevant Audio

2. Make New Compound Clip out of them

3. Generate Captions (now working)

4. Highlight all Captions and copy it into your clipboard

5. undo steps until your project is like before

6. rightclick track area "Add subtitle track"

7. Paste

I like this approach more because you can't forget to enable / disable some effects.
Offline
User avatar

Tony359

  • Posts: 637
  • Joined: Wed Jan 04, 2023 3:50 pm
  • Location: United Kingdom
  • Real Name: Antonio Marcheselli

Re: Generating subtitles Resolve goes into infinite loop

PostThu May 08, 2025 10:17 am

I encountered this today - I'd imagine it's because I used "voice isolation" for the first time.

My workaround is: export sound only (uncheck VIDEO) in PCM format, then drag that file onto a new timeline. Subtitle generation then works there.

Don't forget to set the timeline to start at 0 or subtitles will be exported out of sync...

Thanks for the hints!
DaVinci Resolve Studio 19.1.3
Ryzen 5700X - 32GB RAM - 4TB USB4 SSD - RTX 3070 8GB
Windows 10 22H2
Mac Mini M4 16GB - 256GB
Offline

Steve Alexander

  • Posts: 5649
  • Joined: Mon Mar 23, 2015 2:15 am

Re: Generating subtitles Resolve goes into infinite loop

PostThu May 08, 2025 11:26 am

Tony359 wrote:Don't forget to set the timeline to start at 0 or subtitles will be exported out of sync...

That's unfortunate.
aka Barkinmadd
Resolve Studio 20 | Fusion Studio 20 | 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sequoia 15.4.1
Offline
User avatar

Tony359

  • Posts: 637
  • Joined: Wed Jan 04, 2023 3:50 pm
  • Location: United Kingdom
  • Real Name: Antonio Marcheselli

Re: Generating subtitles Resolve goes into infinite loop

PostThu May 08, 2025 1:51 pm

Very. My 30 minutes task today turned into a whole morning of troubleshooting and thinking "how did I fix that last time it happened?"...
DaVinci Resolve Studio 19.1.3
Ryzen 5700X - 32GB RAM - 4TB USB4 SSD - RTX 3070 8GB
Windows 10 22H2
Mac Mini M4 16GB - 256GB

Return to DaVinci Resolve

Who is online

Users browsing this forum: Uli Plank and 223 guests