Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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 xmodulo.com/2013/04/… will help with creating a WMV from one or more PNG files. –  K7AAY Oct 23 '13 at 22:17
add comment

Your Answer

 
discard

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.