Spacedust Films

This simple-to-use mini guide lays down the fundamentals of encoding and compressing HD footage for the web to help editors/DV directors work quicker and produce a more streamline output.


The goal to producing web films is to create footage that looks good but is watchable by the mainstream user without the video sticking or taking an age to download.


Most video-makers do not have the same compression armory as the big online players like Apple and Google so the suggestions are based on equipment and software readily available to the average person.


Looking at the big picture the main issue is balancing the most important elements to achieve a winning solution.


This basically boils down to a compromise of 3 things:


COMPATIBILITY V BEST QUALITY V SMALL FILE SIZE


Let’s look at each one of these areas in more detail with tools and tips to achieve a video that looks great and plays smoothly.


Compatibility


Flash video is generally considered to be the leading online video format. Windows (WMV) is a close second, but Flash video is the winner for a number of reasons:


Market Penetration
The Flash player is installed on a higher percentage of end user computers than any other video format. Although not all end users have the latest version installed (so they may not support the latest Flash video codec), Flash still enjoys the best overall support. And as more consumer sites continue to move to the Flash video format, it’s even more likely that your audience will have an appropriate player


Consistent Playback
The Flash video format works well across PCs, Macs, Linux, etc. Flash files are very consistent in their playback. They also handle variable connection speeds pretty well. It’s nice to know that it will play well across varied platforms.


Better “Streaming”
In general, the Flash video format is very good at playing as it streams down additional content. WMV Format, Quicktime and Real either require a streaming server to achieve the effect or do not do as good of a job. While they’ve improved, it still seams like these other technologies are behind in progressive download.


Advanced Features
The Flash video format provides some very nice features for overlays and interactivity.


Which version of Flash?
I recommend always encoding to Flash 8. Flash 9 is better quality, but its still not as widespread. Nearly everybody has Flash 8, even your grandma.


Quality


Best quality input


Keep everything at the best quality throughout the edit stage – no compressing or exporting to another codec. If you’re using Final Cut Pro I would suggest exporting as a Quicktime movie and ticking the ‘self contained movie’ box and keeping the current settings. Some people talk about exporting using the Apple Prores 422 (HQ) codec, but for web video I think this is a step too far, and makes minimal difference. Here’s a screen grab of the FCP export settings:

screenshot


Optimal Video dimensions and sizes


The next consideration is what physical size you want to reduce your video to. The original High Definition size is going to be either 1980×1080 or 1280×720 as below:

sizes


Ideally everyone would love to show their video at this full size, but broadband speeds are still not fast enough to cope with the data transfer. It may play OK on your 10MB fiber optic connection, but you need to remember the number of offices that have just moved up to broadband, and the poor experience they would have at this size.
Hence, the video needs to be proportionately reduced to a more manageable size. This size changes year to year but the optimal size we have found is 512 x 288. 320 x 240 used to be the norm a few years ago, but this is a little small (and it’s only 4:3) to see good detail in a video.
512 x 288 is creeping up towards SD TV size (720×576 PAL) and works well on most PC screens/browsers. Actual size is below:

actual_sizes


Video Multiples


For the best image quality and playback, you should always use width and height dimensions that use a multiple of 4 (good), 8 (better), or 16 (best). Refer to the following tables to pick dimensions for your layout (Courtesy of influx):

aspect


Compression settings


Bitrate
This is a big one and determines the quality but also the size of the file – this can range from 300 to 6000 Kpbs. Taking on board current PC users connection speeds (average 2Mb in Feb 2009) sticking to between 493- 800 Kpbs works smoothly.


A good little application to work your bitrate out is here is – Adobe – Flash application: Flash video (FLV) bitrate calculator

Key Frames Buffer
Set this to 30 – it is relatively low, but any higher you generally lose the quality – especially if there’s lots of pans and tilts in the footage.

Buffer


This is an important factor and determines how much of the video is uploaded before it starts to play. Setting the buffer to 10 seconds gives users a chance to download a reasonable chunk of the film without waiting too long and clicking away from the video – any less and it starts to stutters and jumps as it tries to play immediately – give it some breathing space!

Codec/Software


I use On2 Flix Pro for my encoding, I found it a very simple, intuitive and quick piece of software. It’s a bit pricey but well worth the money spent on it. Here’s a screen shot of the settings (taking on board all of the above):


on2


Summary


I hope all of the above suggestions assist you in producing great looking, smooth web video. Have a play around and see what works for you, but the above settings have worked successfully for me and are a good starter for ten.
Any questions please leave a comment.

8 comments

Great info and great looking clip.

A question though: why set the average quality to 100% in the encoder settings? I would have thought “more is better”.

thanks,

mark

Thanks for the comments Mark,

I’m not too sure where you mean the average quality setting is set to 100%.. In On2Flix Pro the quality is around the 75% mark. This is determined by the max bitrate (493 kbps).

Does that answer your problem? – if not get back to me

Jon

Nice one Jon. But how many hosts actually allow the user to upload Flash videos directly?

I’ve created a site allowing people to compare the various hosts – Video Embeding Comparisons Site: http://kareltests.co.uk
I hope folk find it useful (it’s down for maintenance right now but will be up again soon).

Like it Karel. Looking forward to viewing your site.

Regards hosts allowing users to upload Flash Videos directly – the only one I know of is blip.tv – which leaves the original flash video as it is.

The other option of course is to host it yourself.

Hi, nice information.

You state 30fps for the Frame rate, did you mean for the key frame?

Hey Cory

Good spot – you were paying attention.

Yeah, should be Key Frame set at 30. FPS (as Im sure you know) would be kept the same as the original source

Cheers for getting in touch

Could you help me, please?
—————————————
signature: zithromax order seg6se98i

Yes, what help do you require?

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>