Thanks for this! Saved me a bunch of time doing it all on my own. I still want to investigate the effects of changing the picture size when using qscale to try and get the best quality when encoding dvd resolution videos. Will post here if I get around to it!