Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

ffmpeg上传视频获取第一帧用作封面,如何确定视频封面尺寸

我们需要在富文本种上传视频,但是视频尺寸是不固定的,但是通过ffmpeg截取的时候,需要确认尺寸,改怎么设置呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

ffmpeg取一帧图片怎么会需要尺寸呢?
ffmpeg -ss 00:01:01 -i video.mp4 image.jpg


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...