So I'm trying to do hardsub a srt subtitle with XVID4PSP right?
Video using MPEG4 2-Pass Size, Audio is Copy. Output to MKV container.
Instead, it just screamed error every time at 97% mark.

Code:
Error:
ffmpeg version v0.8b2-55-gd780623, Copyright (c) 2000-2011 the Libav developers
  built on Jan 16 2012 06:34:56 with gcc 4.6.2
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
Input #0, avs, from 'D:\Temp\0011.avs':
  Duration: 02:01:49.35, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 1920x1040, 574503 kb/s, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 03851148] w:1920 h:1040 pixfmt:yuv420p
Output #0, avi, to 'D:\Temp\0011.avi':
  Metadata:
    ISFT            : Lavf53.19.0
    Stream #0.0: Video: mpeg4, yuv420p, 1920x1040, q=2-31, pass 1, 1879 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press ctrl-c to stop encoding
ffmpeg version v0.8b2-55-gd780623, Copyright (c) 2000-2011 the Libav developers  built on Jan 16 2012 06:34:56 with gcc 4.6.2
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
Input #0, avs, from 'D:\Temp\0011.avs':
  Duration: 02:01:49.35, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 1920x1040, 574503 kb/s, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[buffer @ 019eaa50] w:1920 h:1040 pixfmt:yuv420p
[mpeg4 @ 01a62268] [lavc rc] Error: bitrate too low for this video with these parameters.
Output #0, avi, to 'D:\Temp\0011.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 1920x1040, q=2-31, pass 2, 1879 kb/s, 90k tbn, 23.98 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
I can give full log if you want.

What did I miss? Should I not use 2-Pass Size thing? I do want to make it smaller for reasons.
This is my first time hardsubbing something and also my first time using XVID4PSP since a long time.
Any help is appreciated. Thanks!