Is there a way to auto generate poster image for videos

I’m trying to have the poster auto generated for my videos so I don’t have to keep taking screen shots of the first frame and manually adding it myself. Is there a way to do this? Reason is because video shows the 1st frame for desktop but doesn’t show for mobile so I need to always manually add a poster image and its annoying!