cd-athena / EVCA

Other
12 stars 5 forks source link

Memory issues with large frames of video. #5

Open vuongtrannguyenkhoi opened 3 months ago

vuongtrannguyenkhoi commented 3 months ago

When run with file yuv with large frames, I have a memory issues. How to fix that? thanks.

m-ghasempr commented 3 months ago

The memory issue has been resolved in the latest commit. You can now use the -g argument to manage memory usage more efficiently when processing large YUV files.

As an example: python3 main.py -i <input_video> -r 3840x21260 -f 0 -g 32

-f 0: This means all frames of the video -g 32: This means that every 32 frames will be processed simultaneously. This can help with the memory issue if you decrease it.