the highest quality for YouTube, we’d better try the optimized video settings recommends by YouTube while converting:
Video codec: MPEG-4, H.264, or MPEG-2
Audio codec: MP3 or AAC, 128k Mono or 320k Stereo
Resolution: Recommended:1280 x 720 (16:9 HD) and 640 x 480 (4:3 SD)
Frame rate: 30 frames per second
File size and length: Up to 2GB file size and 10 minutes duration
If you can't set the optimized settings accurately, try and match them as close as possible.
By
the way, .FLV should be a much better choice than other formats, as
long as you limit the bit rate in not more than 320 kbps. In that case,
the generated .
FLV files will not be converted for the second time
by YouTube’s encoders while uploading, so that you can remain the
original quality of .FLV video files as much as possible.
http://itvoir.com/portal/forums/thread-view.asp?tid=759&mid=1677