Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

is there a way to delay screenshotting on mplayer? The parameter "-ss" doesnt work, because its not a seekable input.

Currently im using:

mplayer -nosound tv:// -tv driver=v4l2:device=/dev/video1 -frames 2 -vf screenshot -vo png:z=9

but the first frame is empty (just green) - i think that comes from the initialization of the webcam. the second frame is ok

so my idea is, to skip the first 10 frames, and then take a screenshot, to be sure the camera is initialized every time.

what parameter should i use to get this result?

share|improve this question

1 Answer 1

It takes a while for some cams to initialize. Have it take 2 shots and discard the 1st (vary the time between until it's sufficiently long enough to get a good 2nd shot)

share|improve this answer
    
yes, it sure comes from the initialization of the camera, as i mentioned before ;) Its possible to discard the first frame, yes, but i explicitly want to wait a second or 10 frames before i take the first screenshot –  Schinken Mar 18 '12 at 17:52

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.