GoZen update: 2024 – Week 1

The past days have been busy because of the earthquake and holiday season, but I finally was able to resume work on GoZen.

Settings menu

The settings menu has been going through many changes and has been a giant headache. Having it as a separate application sounds like a good idea:

  • Better code separation;
  • Better performance;
  • Good to be able to open the settings menu without needing to open the editor.

I finally got a solution which will work well, to get into more technical details: I’m using the Godot provided ConfigFile, performance for this is only a couple milliseconds slower than saving a file yourself, not certain why that’s the case but so be it.

Two files get saved for the editor settings: user data and settings menu data. The user data is with the user chosen values and the settings menu data will have the metadata for each of these variables (such as min_value, max_value, options for a drop down).

Config files are easy for users to edit with a text editor, giving yet another option for people to edit their settings. You can also just delete the file and it will rebuild itself on startup with the default values if you messed up too much.

Media pool

The UI part of the media pool is mostly functioning, except for the global folders which will be implemented later on. But I also realized that I can not close this part whilst working on the timeline as they work together. So deadlines have been moved around a bit.

Conclusion

I guess I’ll be able to finish the final settings menu stuff later today, the medio pool will see its last couple of UI changes as well and I’ll start making progress on the timeline again in the next couple of days. The past few days I have been very active again with development but I’ll have to slow down a bit if I want to meet the deadlines for youtube videos as well ^^” Balancing everything isn’t that easy :/

Roadblock

Just mentioning it here quickly to say that I’m back to ffmpeg troubleshooting. Up until now I have been working with mainly small videos, 4 to 10 seconds long. I tried adding a 1 minute file into GoZen but memory consumption quickly shot to the max and started taking up Swap space … This is bad news, except for the people who want to edit 10 second videos I guess ^^”

Solution?

I need to find someone with actual experience in this area (video demuxing, dynamic video loading, …). This is a giant performance bottleneck to fix, but needs to be fixed before I should spend any other time on the other parts of the editor.

I should have tested this sooner, but I was to happy that I got small video files playing in the editor that I never took a look to memory consumption. I knew this was going to be an issue, a 200MB video can easily result in 30+ GB or ram usage when loading the full video into memory.
If anybody knows anybody with experience, let me know please. ^^”