wordpress not generate thumnails for mp4 videos

You can output them on the front end using custom fields like this:

printf( '<a href="https://wordpress.stackexchange.com/questions/258892/%s"><img src="https://wordpress.stackexchange.com/questions/258892/%s" /></a>', get_post_meta( get_the_id(),'video_url', true ), the_post_thumbnail_url() );

Or this if you want to use a different image for your video thumbnail

printf( '<a href="https://wordpress.stackexchange.com/questions/258892/%s"><img src="https://wordpress.stackexchange.com/questions/258892/%s" /></a>', get_post_meta( get_the_id(),'video_url', true ), get_post_meta( get_the_id(),'video_img', true ) );