HI Xvidcap 1.1.7 still has same problems.

runs for 9 secs or 19s or what ever then crashes with this error

jpd@linux-909c:~> xvidcap
[mpeg4 @ 0x841140]removing common factors from framerate
The program 'xvidcap' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 879796 error_code 8 request_code 147 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)