The Google Pixel 2 creates files like MVIMG_20180625_163537.jpg that contain video in addition to an image. This git repo contains a bash script that extracts the video into a separate file.