Openshot-qt: Simple OpenShot project file is >4 million characters and 4 MB. Why?

Created on 7 Apr 2018  路  4Comments  路  Source: OpenShot/openshot-qt

Windows 8.1
OpenShot 2.4.1

OpenShot gets very slow when a project is complicated, and I just noticed how big such a simple project file is. Is undo history being recorded in the file? Perhaps, for example, there is a more efficient way of storing project data, starting with not recording default settings for clips perhaps? (eg instead of "clip": {"setting x":"default", "setting y": "not default", "setting z":"default"} having "clip":{"setting y":"not default"} as a way of reducing project size & lag?

question

Most helpful comment

@sspmrsomebody1 - Yes, I've seen reports too of the daily builds producing smaller project file sizes. I would recommend to try out a daily build.

All 4 comments

Hmm... this might take a bit of overhaul of the code; but I do like this suggestion.

However, I think someone recently reported that .osp files were getting smaller with the daily versions of OpenShot. Would you care to test it out, good sir? Please head over to the download page and click on 'daily builds' to grab the latest one. Thanks!

@sspmrsomebody1 - Yes, I've seen reports too of the daily builds producing smaller project file sizes. I would recommend to try out a daily build.

, "interpolation": 2}]}, "channel_mapping": {"Points": [{"co"
I was looking at the code of an OSP file and I thought perhaps new OSP files could be written like this? (without removing support for old files) you probably already thought of this :/
, "interp": 2}]}, "cMap": {"Points": [{"co"

@sspmrsomebody1 - I think writing them like this may make them less easy to understand. Not sure if it would be a good idea overall. (no offense) :)

Was this page helpful?
0 / 5 - 0 ratings