Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

ffmpeg - How can I extract the image included in the MJPEG stream of an MKV file?

I have a video file, and when I describe it using the ffmpeg -i command, I see the following:

Stream #0:4: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 540x800 [SAR 1:1 DAR 27:40], 90k tbr, 90k tbn, 90k tbc (attached pic)
filename : cover.jpg
mimetype : image/jpeg

What is the ffmpeg command line to extract the cover.jpg image that is apparently contained in this stream?

I have tried the -dump_attachment:t option, but I don't think it applies here and in any case, it did not work.


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

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
...