WEBVTT

00:00:00.080 --> 00:00:05.200
thanks for watching techwiki click the subscribe button then enable

00:00:03.200 --> 00:00:10.639
notifications with the bell icon so you won't miss any future videos when it

00:00:07.440 --> 00:00:12.800
comes to video files there are a lot of

00:00:10.639 --> 00:00:16.000
file formats out there if you're a video editor or a media enthusiast you've

00:00:14.799 --> 00:00:20.560
probably encountered a veritable alphabet soup of different ones so just

00:00:18.480 --> 00:00:25.119
like in our episodes on audio and image formats which you can check out up here

00:00:23.039 --> 00:00:30.720
we're going to demystify some of the common formats that you can choose for

00:00:27.439 --> 00:00:32.559
your newfangled moving picture movies

00:00:30.720 --> 00:00:36.239
first up to avoid confusion it's important to keep in mind that the

00:00:34.160 --> 00:00:42.320
extension you see at the end of a file name such as mp4 or mkv or mov

00:00:40.719 --> 00:00:46.320
actually specifies what kind of container the file is in but there's

00:00:44.399 --> 00:00:50.000
more to formats than just the container so all those video clips and trailers

00:00:48.079 --> 00:00:54.079
that you got could be using any number of different codecs as well

00:00:52.399 --> 00:00:59.359
but what's a codec glad you asked most digital video is

00:00:57.199 --> 00:01:04.239
compressed in some way since otherwise it'd take up tons of space on your hard

00:01:01.280 --> 00:01:08.400
drive a codec is simply a particular scheme that's used to compress or

00:01:06.640 --> 00:01:12.680
decompress a file there are lots of codecs out there but

00:01:10.400 --> 00:01:17.759
one of the most prevalent ones today is h.264 which is popular because it

00:01:15.119 --> 00:01:23.200
retains decent image quality while shrinking the file sizes significantly

00:01:21.119 --> 00:01:30.159
the way it works is by instead of saving each frame of the video pixel by pixel

00:01:26.320 --> 00:01:33.040
h.264 splits frames into blocks of 256

00:01:30.159 --> 00:01:37.200
pixels each and tries to predict what each subsequent block will look

00:01:35.040 --> 00:01:42.640
like based on either the rest of the frame or from previous frames the

00:01:40.400 --> 00:01:48.079
algorithm then compares the predicted block to the actual block creating a

00:01:45.200 --> 00:01:53.040
difference called a residual next the kodak compares the residual to 16

00:01:50.720 --> 00:01:57.119
checkerboard-like standard patterns and how much of each pattern contributes to

00:01:54.799 --> 00:02:01.920
the residual is stored as a number with higher frequency patterns you see to the

00:01:58.880 --> 00:02:04.399
lower right often discarded as these

00:02:01.920 --> 00:02:09.440
take up the most space this is really similar to how jpeg works for still

00:02:06.240 --> 00:02:11.680
images and like jpeg you can choose how

00:02:09.440 --> 00:02:17.599
much compression you want with higher compression discarding more patterns and

00:02:14.160 --> 00:02:19.280
yielding smaller file sizes but also

00:02:17.599 --> 00:02:23.599
lower quality however h.264 is actually pretty good at

00:02:21.840 --> 00:02:28.319
making predictions and even includes a filter to reduce some of the compression

00:02:25.760 --> 00:02:33.519
blockiness you sometimes see on low quality video making it a standard go-to

00:02:31.040 --> 00:02:38.800
codec for sites like youtube as well as for blu-ray discs at similar visual

00:02:36.160 --> 00:02:43.920
quality h.264 only takes up about half as much space as mpeg-2 which is still

00:02:41.680 --> 00:02:50.800
in use today for dvd video and broadcast tv but a new codec the imaginatively

00:02:47.200 --> 00:02:53.200
named h.265 better known as hevc is even

00:02:50.800 --> 00:02:57.680
more efficient than h.264 it can use blocks of up to

00:02:54.920 --> 00:03:01.760
4096 pixels and has more advanced prediction algorithms which is critical

00:02:59.680 --> 00:03:06.879
for keeping file sizes manageable as internet streaming continues

00:03:03.680 --> 00:03:10.159
on its inevitable march towards 8k

00:03:06.879 --> 00:03:13.760
of course one downside to both h.264 and

00:03:10.159 --> 00:03:15.200
265 is that they're protected by patents

00:03:13.760 --> 00:03:19.200
so companies that want to use these codecs have to pay royalties that seems

00:03:17.840 --> 00:03:25.040
to be the motivation behind the development of vp8 and vp9 a pair of

00:03:23.120 --> 00:03:30.159
open source standards being pushed by google that are technologically quite

00:03:27.040 --> 00:03:31.680
similar to hevc there are image quality

00:03:30.159 --> 00:03:36.480
differences but there's no real consensus as to which one is better so

00:03:34.400 --> 00:03:40.879
some service providers like netflix just use whichever codec will work best on

00:03:39.040 --> 00:03:45.920
the device the user's watching from there are other codecs floating around

00:03:42.799 --> 00:03:48.239
there like the venerable avi but at this

00:03:45.920 --> 00:03:54.000
point we've covered the major modern ones so let's get back to container

00:03:50.239 --> 00:03:56.400
files starting with the familiar mp4 mp4

00:03:54.000 --> 00:04:04.480
enjoys wide compatibility and can hold either an mpeg or an h.264 encoded video

00:04:00.319 --> 00:04:06.319
along with an aac or mp3 audio stream

00:04:04.480 --> 00:04:09.599
pro tip if you ever see m4v

00:04:07.760 --> 00:04:13.840
at the end of a video it's basically just a version of mp4 with drm enabled

00:04:12.159 --> 00:04:18.959
so if one of these files refuses to play try simply changing the extension to mp4

00:04:16.799 --> 00:04:24.320
and give it another go but although mp4 is still really popular especially among

00:04:20.880 --> 00:04:26.000
youtubers the matraska or mkv container

00:04:24.320 --> 00:04:30.320
is one of the fastest growing it can support just about any combination of

00:04:28.080 --> 00:04:35.520
audio and video codecs including newer ones like h.265 and has more flexible

00:04:33.040 --> 00:04:40.160
support for menus and chapters as well as the ability to play back a corrupted

00:04:37.759 --> 00:04:44.400
file so you won't necessarily lose all of that super important drone footage of

00:04:42.560 --> 00:04:48.479
your boring neighborhood and for creative types there are many other

00:04:46.560 --> 00:04:53.520
formats that you might encounter each with their own advantages and drawbacks

00:04:51.120 --> 00:04:58.240
for example the mov format which was developed by apple for quicktime

00:04:55.759 --> 00:05:03.199
supports multiple codecs and is easier to edit on the fly without having to

00:05:00.400 --> 00:05:07.440
rewrite the entire file when you're done a cool feature that makes exporting a

00:05:05.280 --> 00:05:12.160
finished video from final cut much faster than competing video editors that

00:05:09.680 --> 00:05:17.680
have to encode the entire project from scratch finally we can't wrap this video

00:05:14.720 --> 00:05:21.840
up without talking about flv and f4 v these indicate of course that the clip

00:05:19.120 --> 00:05:27.039
is meant to be played in adobe flash which is being phased out

00:05:25.199 --> 00:05:30.720
now you know i'd love to tell you all about that but we're out of time so go

00:05:28.720 --> 00:05:35.440
and watch the video that we already made about it and be sure to yell at us down

00:05:33.199 --> 00:05:39.840
in the comments if we neglected the file video format of your choice

00:05:37.600 --> 00:05:43.520
juggling multiple computers is difficult you end up with various sets of mice and

00:05:41.680 --> 00:05:47.600
keyboards on your desk which not only looks messy but gets super confusing kvm

00:05:46.160 --> 00:05:50.800
switches can partially solve this problem but we found that they aren't

00:05:49.360 --> 00:05:54.720
very seamless and are sometimes cumbersome but with synergy you can move

00:05:53.120 --> 00:05:59.440
the mouse seamlessly between your computers which makes them feel like one

00:05:56.960 --> 00:06:03.360
computer check out the full details at the link below so thanks for watching

00:06:01.600 --> 00:06:07.120
guys be sure to like the video dislike it if you have to leave a comment for

00:06:05.600 --> 00:06:10.960
what we should do in future videos like subscribe all that good stuff i said

00:06:09.039 --> 00:06:13.680
subscribe already so thanks for watching guys make sure to like the video if you

00:06:12.400 --> 00:06:17.120
liked it dislike it if you didn't like it leave a comment for ideas of what we

00:06:15.600 --> 00:06:21.840
should do in future videos subscribe follow

00:06:19.039 --> 00:06:21.840
see you later
