Uugghh! Wouldn't you know it was ADVERTISERS who would come up with those phrases. Marketing sure loves to throw around technical terms in non-technical ways...
GLOSSARY:
"In-Stream" = In a video playlist (see next 3 time options)
"PreRoll" = Intro/Header (prior to main program)
"MidRoll" = Intermission (cutting in middle of main program)
"PostRoll" = Outro/Trailer/Footer (after main program)
"Linear" = One of the 3 above, IOW the same as "In-stream"
"Non-Linear" = As an Overlay on top (or around) of the main program, aka a Bug or Super
<RANT>
God, why can't they just use the terms we have already have been using (for years)?!! This just muddies the waters. Well, I guess I should expect as much.
I will have to amend my previous vitriol and at least state that there is "some" industry that does use those terms, in a somewhat standardized way. It just irks me that ad people would co-opt a term that means one thing and pervert its meaning for their uses, instead of just finding an already existing appropriate term. I mean, if Morales had come here asking "What would be the best container and video codec for video that we want to use as an Intro ad in a web playlist?", I would bet that EVERYONE (non-newbie) would be able to follow along and participate.
</RANT>
As has been mentioned, you need to work your way backwards:
1. Go to the publisher of the ads and get their usage/submission guidelines specs. Here is an example: http://www.iab.net/media/file/IAB-Video-Ad-Format-Standards.pdf
They will either be very loose (where they will transcode whatever you give them to fit their setup), or fairly tight (where they do NOT transcode, and expect the file to already be in a compatible, finished form).
Choice of codec will vary (when guidelines give options), but you want the most efficient (which usually means h.264, but could be On2VP8, etc). This is of course highly dependent uoon what your content is - you could have an animation that has extremely limited palette and be able to use a number of codecs that work specifically with such. For container, you would best go with Video Industry standards: MPG (PS or TS), MP4, possibly MOV, FLV, maybe even WMV (particularly for Silverlight player). AVI seems to not be common among source formats for advertisers, and MKV, by nature of its OpenSource origins, is not looked upon as professional enough (even though it is more than capable).
Some publishers have that 3MB file limit, not all. It seems to vary greatly, even just from 15 minutes of doing a search...IIWY, I'd create my master in HD (and in 16:9) using a lossless codec & standard container (AVI?). Then, as per specific guidelines, make targeted output variations that follow those specifics. Which might mean you have 6-8 different sizes, 4:3 as well as 16:9 (where you might need to re-adjust the layout to fit the AR change, and 6-8 different codec/container combinations - for each ad.
This is where batch encoder/transcoders with template capability come in really handy. As usual, you should be using the standard formula:
Code:
Filesize = Bitrate * RunningTime
Scott
(bet you can guess I don't do advertising stuff!, not counting full commercials or trailers)