I use ffmpeg to convert video into MPEG-TS segments for HLS. How can I then extract image from these MPEG-TS files for use as static "cover page". I would like to either extract the first or the last frame as JPEG image from the TS file.
Select any frame based on its time position.
ffmpeg -i INPUT -ss 00:00:00.00 -vframes 1 OUTPUT