The problem: I recorded a screencast of my desktop using the built-in screenshot / screencast tool on mac os x. But my laptop / desktop computer shutdown for whatever reason. Where is my screencast stored in mac os files ?

If your mac version is Catalina or Big Sur, you’ll find your screencast in ~/Library/ScreenRecordings directory.