Extract frames from video

This commit is contained in:
NukeBird 2025-02-12 17:55:44 +03:00
parent 3f91ad256a
commit 04ee1d8b32
3 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
build/
.cache
frames/
generated_frames/
# Prerequisites
*.d

1
extract_frames.sh Normal file
View file

@ -0,0 +1 @@
ffmpeg -r 1 -i bad_apple.mp4 -r 1 frames/$filename%03d.jpg

View file

@ -69,8 +69,8 @@ int main (int argc, char *argv[])
{
auto img = LoadImage(argv[1]);
SetConfigFlags(FLAG_WINDOW_HIDDEN);
InitWindow(img.width, img.height, "");
SetTargetFPS(60);
std::vector<glm::uvec2> pts;