I tried with ffmpeg 0.4.8 and without --embeded-ffmpeg, and here is the error:
xtoffmpeg.c: In function `XImageToFFMPEG':
xtoffmpeg.c:1120: warning: passing arg 2 of `av_write_frame' makes pointer from integer without a cast
xtoffmpeg.c:1120: error: too many arguments to function `av_write_frame'
If you could solve that will be sufficient..
PS. I forgot to mention.. When I run the compiled xvid I get the following output immediately after the GUI appears:
Output not a video file or no counter in filename
That is even before I try to record the video. The filename is 'test.mpeg'. If I change it with somestring.xwd it captures only different frames into xwd (X Windows Dump), but NOT mpeg