It appears that YouTube occasionally hiccups on some ogv files and produces green screen. The following may not be the best solution. But it almost always solves the problem by first transcoding the video to avi. In linux, it can be done by mencoder as follows
mencoder input.ogg -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi