This command encodes the video using the H.264 codec with a constant rate factor (CRF) of 18, which is a measure of video quality. The audio is encoded using the AAC codec with a bitrate of 128 kbps.
ffmpeg -i Outlander.S01E06.mkv -vf "fps=1/60" thumbnails/%04d.jpg outlander s01e06 ffmpeg