I'm creating a single page application with Golang on the backend and javascript on the frontend. I´d like to find a way how to get the first frame of a video using Golang.
First, I upload a .mp4 video file to the server. It is saved on the server.
Is there a way to get the first frame of this video, using Golang? It should be possible to do it using Javascript on frontend, but I don't feel like it is the right way to solve this issue.
I have no idea how to implement it using Golang, and I haven't found any useful libraries, not even built-in functions that could help me to solve this.
Every piece of advice or any recommendations will be much appreciated.