tmoroney / auto-subs

Generate subtitles using OpenAI Whisper in Davinci Resolve editing software.
https://tom-moroney.com/auto-subs/
MIT License
572 stars 33 forks source link

Using the Light version. With Davinci Resolve 19 #70

Open Pejyuu opened 2 months ago

Pejyuu commented 2 months ago

Trying to use the Light version with Davinci Resolve 19, and I get this error. Subtitle is made with Subtitle Edit. And seems to be working fine otherwise.

_VIDEO\TearsofTheKingdom_renders\Tears_of_The_Kingdom_Funny_Moments_1.srt ] not enough values to unpack (expected 2, got 1)

faveris commented 2 months ago

You likely have one or more subtitles that span multiple lines. I had the same issue, so I fixed it and opened a pull request (#71). You can try using my updated script.

Pejyuu commented 2 months ago

You likely have one or more subtitles that span multiple lines. I had the same issue, so I fixed it and opened a pull request (#71). You can try using my updated script.

Well, I got one step ahead. Now it says it's added subtitles to the timeline, but nothing actually appears.

And, I can't choose the Text+ asset with the Light version?

faveris commented 2 months ago

Now it says it's added subtitles to the timeline, but nothing actually appears.

Did it add Text+ items to your track with the correct subtitles when you click on them? If so, the issue might be with your text template.

And, I can't choose the Text+ asset with the Light version?

As I see, it just searches for an asset named "Text+" or "Fusion Title" in your media list. So, no, you can't choose the asset.

Pejyuu commented 2 months ago

Now it says it's added subtitles to the timeline, but nothing actually appears.

Did it add Text+ items to your track with the correct subtitles when you click on them? If so, the issue might be with your text template.

And, I can't choose the Text+ asset with the Light version?

As I see, it just searches for an asset named "Text+" or "Fusion Title" in your media list. So, no, you can't choose the asset.

Perfect! Having a Text+ or "Fusion Title" did the thing :D Thank you so much!