PDA

View Full Version : High motion matrix and resizing


ryeguy
22nd April 2005, 01:08
First of all I'd like to state that I am not encoding real movies, but I'm trying to find the optimal settings for a Counter-Strike movie. Right now, there exists a movie that has no artifacts whatsoever in it, but has about a 2000kb/s bitrate. It has a filesize of 15mb/s, which is amazing for the clear picture he is able to achieve. I know he used xvid and 2nd pass but that's all I know, and all he'll tell anyone. I'm thinking that he used a matrix or something else radically different than anyone else who makes movies. Anyways, my question is this: Does anyone know of a matrix, or any xvid settings specialized towards high motion (remember this is for a video game)? I have VHQ and Motion Search Precision all the way up.

Question 2:
I have a clip that is 800x600. I use vdub to 2nd pass the file at 3000kb/s (this is just a control for the experiment), and the file comes out to about 25mb. I then use the same clip and I use vdub's resize filter to size it down to 640*480, then render out with the same encoding settings. This comes out to 24mb. Why is it that the file size is only a meg smaller when, if you multiply it out and do a proportion, 640*480 is 36% smaller?

Axed
22nd April 2005, 08:49
Well, output size really does depend on the compressibility of the input. Since a CS demo (or whatever) is basicly like anime you might benifit from looking for the posts about people encoding their cartoons.

You really shouldnt be using the internal filters of VDubMod to modify the image, use AVISynth and possibly some filters designed for cartoons. Ive never done it personally, but there are many posts on other filters you could use to sharpen the picture to make it clearer, and such.

Ark
22nd April 2005, 09:20
I don't think that it should be assimilated to animated content. Sure, noise is non existant, but textures are made "realistic" by programmers, so a lot of gradients and low presence of flat colored areas.

I suggest using a soft resizer like bicubic or even bilinear (through AVISynth) because source is going to have some aliasing on its own.

For xvid settings, i suggest 2pass, AQ, no qpel, b-frames at default, MSP6 (always!), VHQ4 and for b-frames too, max i-frame interval depending on framerate (if 60 fps > 600).

In choosing a right matrix for this case, is more like what compressibility ratio you want to achieve rather than the more or less "action" that goes in the movie. Try sixofnine-HVS, or Sharktooth's v3LR.

*.mp4 guy
22nd April 2005, 10:18
I would definately recomend using some mild bluring to reduce aliasing (before resising) and maybe some dctfilter or smoothd to add to compressability, after that go with whatever matrices you like best.