Hi. I create educational videos for students to learn English.
I create the same video for every single class. BUT I record the audio separately for each class then add it to the video.
Is here a way of me automating the task. ie: Create an audio folder for each class. Use script to add the audio at certain points in the video, then export the video. This way I don't have to add the audio separately for each audio and each class. It would save me days of work literally.
Copy link to clipboard
Yes, that's completely possible.
You'd run such a script from within a CEP panel; here's the PProPanel example, and here's some "getting started" info. 🙂
Example code, for inserting projectItems into a sequence:
Example code, for rendering a sequence:
Thanks for the answer, you seem to be a super expert. I personnaly had difficulty reading it first. I would have few questions if you dont mind.
1) What is (ProjectItemType.BIN) ? It seems there are 3 types: BIN, FILE and CLIP, but I am missing one because they all both to numbers up to 4, but in the whole file you linked there are only 4 times.
2) This line (timeAtZero.seconds) indicates the instant 0, right? My question is how to indicate another number? for example second 121 (2:01) ?
1. The fourth type is ROOT, the root of the project.
2. Correct; you can indicate another time by passing a new value in ticks (254016000000 ticks per second), or a floating point value for seconds (121.0, for your example).