Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I insert a single picture into a stream to be seen for a specific seconds? There is abundant info in ffmpeg man, but I do not want to become a movie magician, just solve an urgent task. Please drop me a sample command line. Thanks.

share|improve this question

a) Convert the stream into WMV format

b) Split the stream where you wish to insert the picture

c) Convert said picture into WMV format

d) Do

cat before.wmv picture.wmv after.wmv > combined.wmv

e) If you intend to broadcast it, make sure you do not violate 27 C.F.R. sec, 5.65 (h) (1988) which bans broadcasting subliminal content, or any local regulation. That's the only Federal ban on subliminals I could find.

share|improve this answer
Thanks, but I am talking inserting a picture, not a stream. What is more, my question included timing as well. – user2469202 Oct 23 '13 at 18:20
Convert the picture into a stream is required, for x frames where x is the number of frames you want. You could create a one-frame WMV if you just want the picture to appear for 1/30 of a second (assuming you want the standard framerate); for two seconds, make it 60 frames. The Format Junkie app… will help with creating a WMV from one or more PNG files. – K7AAY Oct 23 '13 at 22:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.