formats andcodecs

33

Upload: mike-cummins

Post on 20-May-2015

171 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Formats andcodecs
Page 2: Formats andcodecs

Why will your PC play some video files and not others? It’s all down to codecs.

So why do we need codecs?

Page 3: Formats andcodecs

Video uses a lot of storage space on your PC/Mac.

For instance 5 minutes of captured camcorder footage uses about 1gb of storage.

On the plus side, storage is now cheap.

Page 4: Formats andcodecs

The trouble really comes when trying to distribute the footage.

People don’t want to be given hard drives to plug in to their computer. They want DVDs, iPod videos, Sky & Freeview.

So the files need compressing to fit these media

Page 5: Formats andcodecs

...the trouble is that there are hundreds (thousands?) of compression options!

So let’s start at the top...

Page 6: Formats andcodecs

Way back in the 1950s three main broadcast standards were established by various countries:

PAL (in the UK) NTSC (in the USA) SECAM (in France)

Page 7: Formats andcodecs

...and they all worked quite happily for the next thirty years!

This was mainly because video production was expensive and made by a small number of companies. Thus easily regulated.

Then came digital!

Page 8: Formats andcodecs

The Digital Revolution of the 1990s made video production cheap and available to the masses.

This made it difficult (impossible?) to regulate.

New digital ‘standards’ were required, and lots of options competed...

Page 9: Formats andcodecs

Instead of being imposed like the 1950 standards, the new standards were placed in competition with each other.

The theory was that the best standard would become dominant.

The actual result was a minefield of formats, containers and codecs...

Page 10: Formats andcodecs

Codec stands for Code / Decode

It is basically a computer program that en-codes video to a specified format

From this point on the same codec is needed to play (decode) the video

Page 11: Formats andcodecs
Page 12: Formats andcodecs

The trouble comes when you move your video to another computer...

...if that PC/Mac hasn’t got the required codec installed (to decode the video) then your video won’t play.

Tip: PC users can try ‘G-Spot’ (freeware) to identify the codecs used by a video

Page 13: Formats andcodecs

Sorenson Indeo Cinepak

Oh, and there’s an another pile of codecs for encoding audio files!

...eh, what about Quicktime and AVI?

Page 14: Formats andcodecs

Here’s the big confusion: Quicktime, AVI and Real are not codecs!

These are ‘container’ formats.

This basically means that they contain codec compressed video and audio in one easy to play file.

Page 15: Formats andcodecs
Page 16: Formats andcodecs

Video codecs can be broadly split into two types:

frame-based codecs temporal (or field-based) codecs.

Say What!?!

Page 17: Formats andcodecs

Well known examples are Cinepak and Motion-JPEG

They work by examining and compressing each frame of video individually.

They have two main disadvantages: they can be slow to encode file sizes can be quite large

Page 18: Formats andcodecs

=Tim

e

Page 19: Formats andcodecs

The best known is MPEG-2 (used for Digital TV & DVDs)

They watch how much a video clip changes from frame to frame then compress only the changes between the first full frame (a keyframe) and the next.

Thus keeping file sizes down!

Page 20: Formats andcodecs

=+++

Keyframe

Page 21: Formats andcodecs

=+++

Copies unchanged parts of the keyframe

Page 22: Formats andcodecs

The quick answer to this question is to use the relevant presets within your editing software:

Codecs made Simple in iMovie

Page 23: Formats andcodecs

But it’s always worth checking with your client about their requirements.

Especially if they’re planning on showing the video overseas.

This is where programs like Apple’s Compressor come into play (but that’s another presentation for another day!)

Page 24: Formats andcodecs

Interlaced Progressive

Page 25: Formats andcodecs
Page 26: Formats andcodecs

The ‘i’ and ‘p’ make all the difference!

In terms of picture quality there is very little between 1080i and 720p:

1080i has a slightly higher resolution but it’s not very sharp with fast moving action...

...so 720p is favoured by sports networks

Page 27: Formats andcodecs

1080p is the ideal format but broadcasters are not yet equipping themselves to transmit in this format (it takes up too much bandwidth!)

Also known as ‘Full/True High Definition’ or ‘24p’

So it is currently being used as an alternative to expensive film-stock when actually shooting a TV or movie film production

Page 28: Formats andcodecs
Page 29: Formats andcodecs

These are rival disc formats – they are like super large DVD discs (holding up to 50gb)

...this means that a HD movie (which obviously has a larger file size) could fit on one of these discs rather than span across five DVDs

They are nothing (directly) to do with video formats

Page 30: Formats andcodecs

Blu-Ray is supported by Sony, Panasonic & Apple

HD DVD is supported by Toshiba, Microsoft & Intel

This could be the next ‘VHS vs Betamax’

Page 31: Formats andcodecs

At the other end of the resolution spectrum is the booming mobile video market

This is more concerned with getting files smaller to fit on the tiny screen on your phone or iPod

Typical Screen Res is a tiny 176 x 144

Page 32: Formats andcodecs

You can’t!

Things are moving too fast, the best you can do is be aware of the issues and make sure you know the most common settings you work with

And always keep a copy of your finished video at the highest quality it was produced at!

Page 33: Formats andcodecs

---End---