Sunday, March 13, 2016

[Windows]: Live Telecasting on Your Web

Live Telecasting on Your Web 

Presented here is an Internet-based project for telecasting live video from your computer to your webpage. The video can be viewed on the computers of your family members, relatives or friends living in different parts of the world.

This is also an interesting project for people who have basic knowledge of computer hardware, software, operating system, networking, Internet technology and webpage written in hypertext markup language (HTML). For more information, you may refer to ‘Make Your Own Web Server’ project published in January 2013 issue.

Tools required for the project:
1. A TV tuner card with audio and video inputs
2. A camera with audio and video outputs
3. A microphone
4. A broadband Internet modem
5. A high-speed broadband Internet connection
6. A video streaming software

Hardware and software installation
It is assumed that your PC has Windows operating system with Internet connection and is ready for the following hardware and software installations and testing:
1. Installation of a TV tuner card on the PCI slot for audio and video capturing
2. Installation of TV tuner card drivers
3. Testing of video camera picture and sound system
4. Installation of a video streaming server software
5. Creating an HTML page for live web telecasting
6. Uploading the created HTML page to your website
7. Watching live programme on your Web server

1. Installation of a TV tuner card for audio and video capturing. This is the most important part of the project. Here we used an inexpensive and easily available PixelView PCI TV tuner card for capturing picture and sound for telecasting.
It has video and audio input sockets provided on its back side for connecting to any type of camera with video and audio outputs.

Fig. 1: PixelView TV tuner card with video and audio inputs

Fig. 2: PCI slots in your computer

Fig. 3: Pinnacle 110i TV tuner Card

Fig. 4: Connection of Sony Handycam with a TV tuner card
First switch off the power supply of your PC and open the cover of the CPU unit. Insert the PixelView PCI TV tuner card (refer Fig. 1) into the spare (available) PCI slot. Use a bolt to fix the card on the frame to ensure that it is properly fixed in the PCI slot (refer Fig. 2).

Now, close the PC cover and power on your PC for TV tuner card driver installation. (Note. You can also use any other compatible TV tuner card, such as Pinnacle110i, as shown in Fig. 3. Other types of USB TV tuner cards with audio and video inputs can also be used for the purpose.)
Here we are using Sony Handycam (refer Fig. 4). A 50m long CCTV system AV cable can be used between camera and PC for longer distance coverage. (Webcam is not used due to cable length limitation and non-availability of AV outputs.)

Fig. 5: Installation of PixelView PCI TV tuner card driver for Conexant BT878

Fig. 6: Testing sound and picture of Sony Handycam for telecasting

Fig. 7: BroadCam video streaming server

2. Installation of TV tuner card drivers.
Insert the TV tuner card driver CD in the CD drive of your PC and click on the Install option. It will start installing the driver on your PC. Follow the on-screen instructions as shown in Fig. 5.


If you are using Pinnacle 110i TV tuner, you can download the driver from the link mentioned below:

http://drivers.softpedia.com/dyn-postdownload.php?p=14328&t=4&i=1

3. Testing of video camera picture and sound system. After driver installation, launch PixelView from your desktop. The screenshot of the program output is as shown in Fig. 6. Select TV option from PixelView control panel, configure the video as PAL system and country as India. Now connect an antenna or a cable TV to the card to watch TV programme on your PC. If your TV programme is working well, it is time to test the camera.
Test the picture and sound of your camera with the TV tuner card by connecting camera audio and video outputs to audio and video inputs of the TV tuner card. You can use a self-made 50m long CCTV cable with male and female connectors on both ends of the cable for audio and video connections (refer Fig. 8).

Fig. 8: Self-made audio-video cable with both end male and female connectors

Fig. 9: Live telecasting on Web server

Download Source Code: Click Here

Select Composite option from PixelView’s control panel and switch on the Sony Handycam. You will get a picture on your PC monitor screen and sound on your speakers.


You can also connect another similar device with audio and video output to TV tuner card for watching on your PC or for telecasting. You can connect a DVD player or a set-top box for watching movies or TV programmes or telecast the selected TV programme on Internet through your webpage.

(Note. For Pinnacle110i TV tuner card, you can also use VLC media player for testing sound and picture of Sony Handycam for telecasting.)
4. Installation of video streaming server. There are a number of software available on the Internet for video streaming, but here we have used BroadCam video streaming server software because of its simplicity, easy availability and quick installation. This software is available in both free and paid versions. For software configurations, tutorial and other help, visit the link: http://www.nchsoftware.com/broadcam/tutorial.html
You can download this software from the link: http://www.nchsoftware.com/broadcam/ and install it by double clicking on bcsetup.exe file, and follow the on-screen instructions. After proper installation, you will find an icon on your computer desktop with the title ‘BroadCam Video Streaming Server.’ Click on this icon to run the program on your PC and you will get a screen as shown in Fig. 7.

Click on the Start Server button (it has start and stop functions) to start video for live telecasting.

Click on BroadCam Video Streaming Server Live to check live input settings.
Click on Open Links option to get live streaming link and web HTML code.
5. Creating an HTML page for live web telecasting. From BroadCam video streaming server program, select Tools/Options/Web Access options and click on the link given below corresponding to Local Network option:

http://192.168.1.99:86/live.html?src=1

You will get a video streaming screen and HTML code for inserting on your webpage. Select HTML code, then copy and paste it on your webpage.
You can create your own webpage and paste a video streaming HTML code on it by using any HTML editor such as Microsoft FrontPage.
The HTML code for creating your webpage for live telecasting is provided in this month’s EFY DVD and at source.efymag.com. You can copy this HTML code and paste it on Notepad editor and save the file name as index.html

6. Uploading an HTML page on your webpage. You can upload index.html file created above by following the details as described in ‘Make Your Own Web Server’ article in EFY January 2013 issue, or you can use FTP for uploading index.html to your web as explained below:
1. Click on Start-> Run button on your desktop
2. Type your ftp IP address such as ftp://210.150.160.38
3. Enter your user name and password
4. Copy index.html file into your web wwwroot folder. (This is the root directory of your site.)

7. Watching your live programme on your Web server. Now, open Internet browser and type your web address as:
http://www.yourwebname.com

You will see your webpage as shown in Fig. 9

You can see the live video from here. 

No comments:

Post a Comment