Programatic resize of transcoded stream

Hi all.

I need to resize output of the transcoder and placed in output?

Where I can find some documentation or samples to implement this. I found how to add a graphic overlay to transcoded streams, but no information how to modify or resize stream.

Thanks!

Oleh.