Comments (3)
Looking at subtitles_to_sequencer.py I'm realizing that it would be right to mention that I'm trying to import a raw text file, not a timed sub file
from subsimport.
text_strip = scene.sequence_editor.sequences.new_effect(
name=sub_name,
type='TEXT',
channel=open_channel,
frame_start=int(strip_start),
frame_end=int(strip_end)
)
Works! At very least the Dur/2 and Dur*2 need a forced type to work as well... Python how far you've fallen.
Not gonna PR anything, but I will leave this breadcrumb issue for any wayward traveller. Tested on Blender 3.1.0 with these small modifications.
from subsimport.
Thanks for submitting the issue. I've added your changes to the code.
from subsimport.
Related Issues (12)
- Python error when running HOT 2
- How to import a srt file in bpy API code? HOT 1
- overlapping clips HOT 3
- Import polish special charcters HOT 5
- Still overlapping HOT 2
- Erro in subtitles_to_seguencer HOT 3
- Font change does not work
- Syllabify error - out of index on remove punctuation HOT 5
- Import *.txt doesn't import some lines HOT 1
- Error HOT 3
- Multi-line import
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subsimport.