1
00:00:00,240 --> 00:00:04,740
So now let's take a look at the turd of exercise in this working with video section.

2
00:00:05,340 --> 00:00:11,250
We are we're going to save and record videos using open TV, so I know you would have seen that before.

3
00:00:11,280 --> 00:00:18,030
Previously in collab, however, it's going to be a bit more explicit and go through this in a bit more

4
00:00:18,030 --> 00:00:18,480
detail.

5
00:00:18,960 --> 00:00:24,810
So remember when we're creating the video right to object, we're firstly, we're loading a video like

6
00:00:24,810 --> 00:00:27,180
normal here and we're not doing any.

7
00:00:27,660 --> 00:00:30,000
We actually we all agree scaling this image here.

8
00:00:30,450 --> 00:00:31,980
So that's the output of image here.

9
00:00:32,580 --> 00:00:38,400
So we're going to use this virtual video writer, which is a very cool function that OpenSea provides.

10
00:00:38,970 --> 00:00:45,420
What it allows us to do is this is the output name here to save this image file, and we specify the

11
00:00:45,420 --> 00:00:51,240
source type file type of file that's going to create using the MJ peg, which is MPEG.

12
00:00:52,380 --> 00:00:54,000
It's really short for something else.

13
00:00:54,510 --> 00:01:01,440
But is it in motion JPEGs that actually what is with the shortfall and this is the MPEG file format

14
00:01:01,710 --> 00:01:08,460
of what we're storing it as this is a frame rate, this is a width and height and falls indicates,

15
00:01:08,460 --> 00:01:09,990
but it's a color or not.

16
00:01:10,470 --> 00:01:12,720
So because we're writing a grayscale image.

17
00:01:12,810 --> 00:01:13,680
We use it.

18
00:01:13,680 --> 00:01:14,580
We use falls here.

19
00:01:15,030 --> 00:01:19,350
Normally it's true by default, so it doesn't really matter what you put there.

20
00:01:19,830 --> 00:01:22,590
However, you need to have a color, but it should be true.

21
00:01:22,990 --> 00:01:25,800
It's true by default, so it's not really specific.

22
00:01:26,040 --> 00:01:27,450
So it's not really that important.

23
00:01:28,350 --> 00:01:31,460
So for CC is a full byte code.

24
00:01:31,470 --> 00:01:35,550
That's what was MGP g like this?

25
00:01:36,120 --> 00:01:40,220
So for byte code is used to specified a codec that we use and we can.

26
00:01:40,230 --> 00:01:42,000
There are many other codecs that are available.

27
00:01:42,450 --> 00:01:46,200
However, this one works quite well and reliably and quickly in open TV.

28
00:01:46,650 --> 00:01:48,840
So I would encourage you to use this one.

29
00:01:49,140 --> 00:01:56,610
But there are others that are available here and actually and gives a very good is not super large,

30
00:01:56,610 --> 00:01:59,430
mega-sized to be fair, but it does give a very big video size.

31
00:01:59,430 --> 00:02:07,590
So just be careful if your memory hard drive space is a limiting factor, so you can just check out

32
00:02:07,590 --> 00:02:09,930
the other options here and we can use.

33
00:02:10,650 --> 00:02:12,870
So simply, let's run this.

34
00:02:12,870 --> 00:02:17,250
This is just going to create an output video and it's done already.

35
00:02:17,760 --> 00:02:18,990
That was quite fast.

36
00:02:19,410 --> 00:02:24,270
And let's go to find her to see the output video of that.

37
00:02:28,100 --> 00:02:36,150
So let's bring that window here and drummer that I was to video see, we got a nice, skilled video

38
00:02:36,660 --> 00:02:43,860
from the original video, so it's pretty cool that we are manipulating videos now and open TV and it

39
00:02:44,130 --> 00:02:45,720
looks and it works quite well.

40
00:02:45,720 --> 00:02:51,270
You see how quickly that this function run in a matter of seconds and just converted all the frames

41
00:02:51,270 --> 00:02:54,060
quickly to grayscale and wrote the video file.

42
00:02:54,540 --> 00:02:56,610
So that's it for this lesson.

43
00:02:56,940 --> 00:02:58,620
This lesson is actually quite important.

44
00:02:58,620 --> 00:02:59,990
When and what?

45
00:03:00,000 --> 00:03:05,520
When using color of the cloud environment like that where you can't actually bring up a live video player

46
00:03:05,880 --> 00:03:08,060
like we do when we're running it locally.

47
00:03:08,070 --> 00:03:16,050
So this allows you to run some intense GPU type computer vision, work on the cloud free one collab

48
00:03:16,410 --> 00:03:21,330
without having to, and allows you to easily just review the video outputs that you create.

49
00:03:21,960 --> 00:03:25,260
So the thank you, I will now move on to the two video of the section.
