mi-classroom / mi-web-technologien-beiboot-ss2024-OliverWich

mi-web-technologien-beiboot-ss2024-OliverWich created by GitHub Classroom
https://still-moving.oliverwich.de
MIT License
1 stars 0 forks source link

Enable different frame rates per project #4

Open OliverWich opened 4 months ago

OliverWich commented 4 months ago

Infer the framerate of a project via ffprobe (use a default / max of 30) and write that into a config or meta file in the project folder.

Read out that file when creating a project instance and write that value into .fps.

OliverWich commented 2 months ago

The framerate can be obtained via ffmpeg and should be dynamically fetched (and calculated) only when needed by a getter on Project.fps However, this is difficult because ffprobe is async and getters can only be sync...