I found several answers on the internet about this, but none brought me enough clarity to solve this problem. ( ffmpeg-progressbar-cli doesn't work ) so I need something in javascript.
I need to change the aspect ratio of some videos and I need to implement a progress bar for that. I was thinking of something like getting the total amount of frames the video has and the current frame.
but I don't know how to get these two values and I don't even know if this is the best way to create a progress bar.
I've seen in other answers people recommending using ffmpeg-progressbar-cli, but it doesn't work for everyone from what I've noticed.
I also read the documentation looking for something about capturing only the current frame but I didn't find anything about it