Openshot-qt: How to create template for OpenShot cloud API?

Created on 26 Nov 2018  路  3Comments  路  Source: OpenShot/openshot-qt

I need to create videos using cloud API. Its difficult to make a video using raw JSON. My concern is, If i make a video using OpenShot Video Editor (Desktop) can I use it with cloud API as a template?

question 鈽侊笍 cloud

Most helpful comment

@peanutbutterandcrackers
I got an answer from Jonathan Thomas by an email.

Regarding the template creation, you can create a project in desktop OpenShot Video Editor, the resulting .osp project file is a JSON formatted file. You can load the contents of that file with the /load/ endpoint. That will create all the File objects, Clip objects, and Effect objects in your Cloud API project. Once that is done, you can upload each File object's media file (since they will not have any local files after calling the /load/ endpoint). You can also use the /text-replace/ endpoint for updating SVG title files.

Now that you have an OpenShot project loaded, you can create copies of this API Project (if needed) with the /copy/ endpoint, and then make changes to Clip objects (length, start, position), or change File objects, or edit text, etc...

All 3 comments

Hey there,

We (the volunteers) haven't really used Cloud API as of yet so we are not able to answer this right away. However, this tutorial video might be of some assistance, hopefully?

If there needs to be a way for the Cloud API users to create templates using the desktop app (if there isn't already), we could label this as an enhancement so that you could get the feature later.

Thank you for using the cloud API. The money from that helps fund OpenShot - the Free/Libre Software.

@peanutbutterandcrackers
I got an answer from Jonathan Thomas by an email.

Regarding the template creation, you can create a project in desktop OpenShot Video Editor, the resulting .osp project file is a JSON formatted file. You can load the contents of that file with the /load/ endpoint. That will create all the File objects, Clip objects, and Effect objects in your Cloud API project. Once that is done, you can upload each File object's media file (since they will not have any local files after calling the /load/ endpoint). You can also use the /text-replace/ endpoint for updating SVG title files.

Now that you have an OpenShot project loaded, you can create copies of this API Project (if needed) with the /copy/ endpoint, and then make changes to Clip objects (length, start, position), or change File objects, or edit text, etc...

Wow. Great! I guess that resolves this issue. Please do close this one if it has been resolved. Thank you for your time!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mnally8 picture mnally8  路  3Comments

BofingerRick picture BofingerRick  路  3Comments

ppkakkar picture ppkakkar  路  3Comments

Geoff0627 picture Geoff0627  路  3Comments

ghost picture ghost  路  3Comments