1
00:00:02,400 --> 00:00:07,890
Hi, and welcome back to lesson for I think I previously said, listen tree in the last section, so

2
00:00:08,280 --> 00:00:09,570
forgive me for that mistake.

3
00:00:10,140 --> 00:00:13,170
So listen for real now and what this is.

4
00:00:13,710 --> 00:00:18,630
This is something that a lot of beginners asks questions about because a lot of lot of them are trying

5
00:00:18,630 --> 00:00:24,660
to process video from a streaming source somewhere online or from a local IP camera.

6
00:00:25,140 --> 00:00:29,580
So I'm going to show you how we can do that right now using our TSP streams.

7
00:00:29,580 --> 00:00:31,500
So let's take a look at this notebook.

8
00:00:33,000 --> 00:00:35,370
So what is our DSP or DSP?

9
00:00:35,370 --> 00:00:42,250
Is a video standard streaming protocol stands for Real-Time Streaming Protocol that allows basically

10
00:00:42,250 --> 00:00:47,220
it's a communication protocol that allows video files to be streamed over the web.

11
00:00:47,610 --> 00:00:49,890
So you can see this is a block diagram of how it works.

12
00:00:49,890 --> 00:00:52,200
There's a web server here that's digesting the file.

13
00:00:52,800 --> 00:00:56,130
This comes through the web browsers metal file media player.

14
00:00:56,520 --> 00:01:02,430
This is the artsy, including here in the RTP for the audio and video content being encoded here.

15
00:01:03,390 --> 00:01:05,520
So you can see it goes like this here.

16
00:01:06,240 --> 00:01:09,390
So it was developed by RealNetworks and Netscape.

17
00:01:09,390 --> 00:01:16,560
So if you're if you remember the computer world in the 90s, Netscape was one of the most popular browsers

18
00:01:16,560 --> 00:01:20,630
back then, and there was a video player called Real Video Player, which I do remember.

19
00:01:20,640 --> 00:01:24,480
I remember downloading it to opening video files and thinking it was so cool.

20
00:01:24,480 --> 00:01:28,140
I can watch a video on my computer and that was a pretty ancient computer thing.

21
00:01:28,140 --> 00:01:34,410
That was a Windows 95, 46, 16 megabits computer, my first computer.

22
00:01:35,190 --> 00:01:43,560
So that's was developed since back then and basically just sends video in packets here, sentences and

23
00:01:43,560 --> 00:01:44,150
finished.

24
00:01:44,190 --> 00:01:48,210
So we just fixed that earth to me that for now.

25
00:01:48,990 --> 00:01:54,060
So that's basically blocked off the Artspace streaming file system.

26
00:01:54,690 --> 00:02:03,300
So this site here basically has one of the only RTP or DSP or SDP streams.

27
00:02:03,540 --> 00:02:05,430
Sorry for that's a bit of a tongue twister.

28
00:02:05,430 --> 00:02:07,530
Sometimes say so.

29
00:02:07,530 --> 00:02:13,620
It's used widely used in testing across the web for computer vision or other streaming video applications.

30
00:02:14,130 --> 00:02:18,780
So notice instead of http, we have something called RTC speed.

31
00:02:18,810 --> 00:02:22,670
That's the protocol similar to how it should be addressed here.

32
00:02:23,130 --> 00:02:29,460
It tells a browser that's now looking at a RTU TSB stream, and so it changes the protocol of what it

33
00:02:29,460 --> 00:02:30,720
should expect as to data.

34
00:02:31,260 --> 00:02:36,740
And this is a Bugs Bunny movie stream that's been hosted this, and let's hope it's still working.

35
00:02:36,750 --> 00:02:41,560
It was working the last time I tried this notebook, so let's check it out and you can see before I

36
00:02:41,560 --> 00:02:42,060
check it out.

37
00:02:42,480 --> 00:02:45,270
We just have the simple wire loop we're capturing.

38
00:02:45,270 --> 00:02:50,040
Read here so you can see video capture that you had 30 of us still open.

39
00:02:50,040 --> 00:02:54,180
See, the function allows us just to directly dump the URL here.

40
00:02:54,870 --> 00:02:58,760
So let's load this and we can see if it comes up.

41
00:02:58,800 --> 00:02:59,340
There it is.

42
00:02:59,850 --> 00:03:06,830
So you can see the stream does short loops it and you can see it's streaming here.

43
00:03:06,840 --> 00:03:09,300
So this is a video that's being streamed on the internet.

44
00:03:09,690 --> 00:03:14,760
You can also open this link up with DLC, as well as open network stream, I believe.

45
00:03:15,630 --> 00:03:17,610
And let's end this video here.

46
00:03:17,910 --> 00:03:19,020
So we're pressing enter.

47
00:03:19,530 --> 00:03:21,180
It exits the video here.

48
00:03:21,870 --> 00:03:28,440
So if you looking for interested in using multiple IP streams, no, there's no way I can actually demonstrate

49
00:03:28,440 --> 00:03:30,990
that here without getting the IP streams available.

50
00:03:31,410 --> 00:03:33,640
However, you can take a look at Jeff Bass.

51
00:03:33,660 --> 00:03:34,680
He is the creator.

52
00:03:34,720 --> 00:03:36,180
This is his presentation talk.

53
00:03:36,690 --> 00:03:42,040
He's the creator of this library called Image Z and Q, which is quite cool.

54
00:03:42,060 --> 00:03:48,450
It allows us to use a Raspberry Pi to load multiple image streams from those Raspberry Pi and then run

55
00:03:48,450 --> 00:03:50,640
the processing and open TV.

56
00:03:51,210 --> 00:03:54,120
So any imaging library that you want to use?

57
00:03:54,360 --> 00:03:54,660
OK.

58
00:03:55,260 --> 00:03:58,100
So you can take a look if you need to use it for your application.

59
00:03:58,140 --> 00:04:02,940
I think it's quite useful for some people trying to run this just to see if it would work here, but

60
00:04:02,940 --> 00:04:06,600
it doesn't actually do anything unless you have to stream setup.

61
00:04:07,080 --> 00:04:15,150
So that's it for this lesson on IP and Artspace real time streaming protocol sources of video, video

62
00:04:15,150 --> 00:04:17,280
files or videos, I should say.

63
00:04:17,790 --> 00:04:18,450
So that's it.

64
00:04:18,450 --> 00:04:24,360
For this lesson, we will now move on to how to auto reconnect to video streams, which is a common

65
00:04:24,360 --> 00:04:29,310
problem with video streams due to poor internet connectivity or connectivity issues.

66
00:04:29,520 --> 00:04:32,590
So I'll see you in that next lesson.

67
00:04:32,700 --> 00:04:33,180
Thank you.
