A simple script to scale an image up and generate a video from it using ffmpeg.
Fastest frame generation time: ~9ms
-
Clone the repository:
git clone https://github.com/MatheusLasserre/gokenburn.git -
Download dependencies:
go mod tidy -
Install ffmpeg on your system.
-
By default, it is configured to the jpg image in the assets folder: "example.jpg", and to out the video at the same folder as "example-scaled.mp4".
-
Run the main script:
go run main.go