Have been using mencoder to create the timelapse videos that are sent to youtube. Today no video was uploaded. Found out mencoder locked up with a buffer underflow error. Had to add an option to set the muxrate to some fool proof value to fix this. Funny thing it was working fine for over 200 timelapse videos with no problems.