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.
keith-turner/motion-photos
Script to extract mp4 video at end of MVIMG jpg files created by Pixel 2
ShellApache-2.0