Well, option -ss 30 should seek to 30 secs in the video, but it doesn't. If you could help in making the call to mplayer to make the snapshot, it would be really cool.
startpos=str(random.randomrange(18,40,1)) command="mplayer -zoom -ss "+startpos+" -nosound ...