Skip to content

henadaus/Video-Streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Video-Streaming

This project aims to stream the video stored at server end to the client as per its request.

The entire process takes place as follows:

1.Client first sends a SETUP request to the server to establish a connection.The server records the address of the client.

2.The client sends PLAY request to the server.Server streams video to the client using Motion JPEG,which just sends JPEG frames successively.

3.Client can send a TEARDOWN request to close the connection.

It can also stream live video to the client.Just replace the line "self.video = cv2.VideoCapture('video.mp4')"" to "self.video = cv2.VideoCapture(0)".THe video captured by your webcam will be streamed to the client.

This application has been made using :

1.PIL

2.OpenCV

3.Tkinter

4.Python 2.7.6

Execution: First put the video you want to stream in 'server' folder.Then you also need to put the name of .mp4 video in 'camera.py'.

1.SERVER END:On terminal, execute --> python server.py

2.CLIENT END:On terminal ,execute --> python client.py serverAddress serverPortNo

Tested on Ubuntu 14.04 LTS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages