[FFmpeg-user] How to set preview of video?

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Wed Apr 29 22:14:57 EEST 2020


On 04/29/2020 02:23 PM, Cemal Direk wrote:
> Hi, i wanna set preview  of any video? like thumbnail.
> 
> is ffmpeg supporting this property?
> 
> i am using this code  its other method...
> 
> ffmpeg -i video.mp4 -i image.png -map 0 -map 1 -c copy -c:v:1 png
> -disposition:v:1 attached_pic -y out.mp4
> 
> 
> but i wondered. can i set 15. seconds of video as  thumbnail. without
> import any video or image?

Cemal,

Suppose you want 15 seconds of video that starts at running time 3:23.

ffmpeg -ss 3:23 -to 3:38 -i in.mp4 -codec copy -map 0 out.mp4

I don't know what you had in mind for the PNGs.


More information about the ffmpeg-user mailing list