shoot at 1080i if that is the best your camera can do. For youtube output 1080p or 720p files
For Bluray you have few choices but usually you would create 1080i mpeg2 or AVC files and sony vegas can create both. There are other threads here that go more into depth about it.