Depending on what you are doing and how long the clip is form can be very slow. Particular can as well, again depending on the project.
You need to look at Adobe.com there are many tech docs on there for getting an idea of what ur settings should be.
But trust me. Dont use h264 in AE… Its a headache waiting to happen.
My Work:
https://www.morecompletefx.com