Skip to content

Commit

Permalink
Added after effects switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimbbp committed Mar 11, 2024
1 parent b3e247d commit 5e1bc9d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ build/
.vscode/


output/
output/


#After Effects
resolution_switcher_AME/
Binary file added ae/resolution_switcher.aep
Binary file not shown.
10 changes: 9 additions & 1 deletion devnotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# KNOWN BUGS
- Memory leak when drawing image. Seems to not free up memory after each frame.


# BLOG:
March 01 2024:
Mishima took 3051757667834% (half an hour)
Expand All @@ -23,4 +27,8 @@ March 08 2024:
Dogfodding the app with my own video.
It feels like compositing the sprites on with alpha only sometimes creates compelling results.
I'm getting the handle on what kind of images look and feel best
Introduced some restrictions on the goroutines (from copilot). I need to brush up on the logic with these, but the purpose is to keep the program for crashing with the new batch feature. Currently it doesn't seem to restrict performance: generating video took 0 hours 1 minutes 34 seconds with this new 10 core restriction.
Introduced some restrictions on the goroutines (from copilot). I need to brush up on the logic with these, but the purpose is to keep the program for crashing with the new batch feature. Currently it doesn't seem to restrict performance: generating video took 0 hours 1 minutes 34 seconds with this new 10 core restriction.

March 11 2024:
Was pretty tired on friday so made some less than stellar decisions with the batch processing. Refactored today and it's much better.
However, there seems to be a memory leak (or something) that causes the program to crash after processing many sprites, especially at a higher "reslolution" (meaning, confusingly, a lower sprite resolution, thus more sprites per image)
2 changes: 1 addition & 1 deletion src/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {
false,
)
case "batchRes":
batchResIndices := []int{0, 2, 6}
batchResIndices := []int{1}
util.TimeIt(
"generating video for multiple resolutions",
video.BatchSequence,
Expand Down

0 comments on commit 5e1bc9d

Please sign in to comment.