added fourcc to video stream init. mjpg with avi container works.